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 fromDVB



Nyk Tarr <nyk@giantx.co.uk> writes:

>> The problem is that DVD players expect an unbroken stream since a DVD
>> is supposed to be mastered from a reliable source. In contrast, DVB
>> decoders expect errors and are prepared to correct them.

DVD players need to handle disks with scratches.  That's why they have
copies of the .ifo files in the .bup files.

>> 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?
>
> I think it would be a good idea - it would certainly make re-encoding
> much easier. The logical 'filler' video would be to repeat the last
> known frame to fill the gap - so it would look like the video had
> 'frozen'. Audio is more of a problem, or less - silence might be the
> only option.

Inserting silence will cause clicks.  Somewhat better is to
interpolate linearly between the ends of the gap.  If there are cycles
to spare it would be possible to do some more advanced interpolation.

-- 
Måns Rullgård
mru@pronto.tv


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



Home | Main Index | Thread Index