Mailing List archive

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

[linux-dvb] Re: Trying to get a ``polished'' MPEG stream from DVB



> Would it be a good idea to insert of drop audio frames in replex to
> avoid PTS inconsitencies? I am not sure how I should fix video frames.
> Any ideas for a consistent strategy?

The way I intended to do it in my part-time utility was to assume the PTS is
always right, and attempt to fill in exactly the right amount of audio
between each PTS header. If the stream got broken at some point, see if we
can work out where the break happened, and replace that audio frame with a
silent frame.

Similarly for video, you have both PTS and the picture sequence numbers.
Fill in as much as you can from the stream. If you find you have a missing
picture/slices, put in some 'blank' ones. For reception quality as bad as
mine, you have to be quite clever about working out which slice goes with
which picture.

Chris


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



Home | Main Index | Thread Index