Re: Transfer-Mode without remux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 02/10/08 18:39, Friedhelm Büscher wrote:
> Klaus Schmidinger schrieb:
>> On 02/02/08 16:27, Klaus Schmidinger wrote:
>>> In a crude attempt to run VDR's Transfer-Mode without using a cRemux
>>> (and thus avoiding all the extra buffering and processing) I am
>>> trying to send the payload of the TS packets directly to the device.
>>>
>>> The attached patch implements cDevice::PlayTS() and handles video
>>> and audio packets with fixed PIDs (just for testing).
>>>
> [ .. ]
>> Nevermind, I just found it myself: it must be +5 instead of +4 in
>>
>> inline int TsPayloadOffset(const uchar *Data)
>> {
>>   return (Data[3] & ADAPT_FIELD) ? Data[4] + 5 : 4;
>> }
>>
>> Now it works - and Transfer-Mode never switched as fast as this :-)
> 
> 
> I don't know what causes this issue, but with this patch enabled, VDR 
> refuses to play radio-channel (audio) with the radio-plugin (with RDS 
> enabled). When i disable the radio-plugin, audio works; when i remove 
> the patch, audio works with the plugin enabled.
> 
> -> i removed this patch.

I never suggested that anybody should actually use this patch.
It was just a first test regarding switching from PES to TS.

Klaus

_______________________________________________
vdr mailing list
vdr@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux