Mailing List archive

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

[vdr] Re: remux.c: splitting PES packets into 2048 byte blocks



Hi,

Dr. Werner Fink wrote:

Btw: the remux part of VDR hase one disadvantage:  It splits
AC-3 frames and also normal Mpeg2 audio frames (normaly layer 2 with
576 bytes with the audio duration of 24ms) to fit the 2048
PES container aka frame length.
Maybe, the cTS2PES object should support a callback mechanism, where one could supply at least a function that suggests when a new packet should be started. But doing so might mess up performance, if the function is not properly designed and coded.

Now if you cut such a PES stream even on the GOP boundaries, not
only the PTS offset of the audio to the video makes trouble but
also the broken subframes of audio Mpeg2 and AC-3 within the payloads
are the cause of noise at the cut mark (OK the bitstreamout plugin
ignores broken AC-3 frames but the Mpeg2 audio decoder on the DVB
card does not).
Well, one solution would be to extend the interesting part so that it starts/ends on an audio frame that is related to the video frame. But this sounds to be a different story.

Bye.
--
Dipl.-Inform. (FH) Reinhard Nissl
mailto:rnissl@gmx.de



--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index