Mailing List archive

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

[vdr] Re: vdr cuts recordings with ugly artifacts at cutting-points



On Wed, Apr 16, 2003 at 07:37:26PM +0000, Stefan Huelswitt wrote:
> > 
> > Correct. I simply hope that the decoder has enough buffer capacity for 
> > the AAA sequence. I think it's worth a try.
> 
> Have to think how it could be done.

The DVB driver uses a big ring buffer (AVOUTLEN is 128 kB), that means that
this may help to avoid underruns at crossing a cutting point.

> 
> > Interleaving them with the video is not enough. You have to fix the PTS 
> > of the audio packets, too.
> 
> Sure? I think the deocder will notice the PTS jump in the video
> stream and select the right audio packets.

IMHO the decoder will may skip the audio frames if they are to old
aka the PTS delay between video and audio is more than a second.
OK ... thats better than skipping video frames ;^)

> >> I'm not sure if this really worked, as the PTS of the (exccess) audio
> >> packets after the cutIn doesn't match the PTS of the video
> >> packets before the cutOut.
> > 
> > If it does not work, I don't understand why I got some clean cuts in the 
> > past. Anyway, your patch is a great improvement already. Thx.
> 
> Well, above you said that we have to fix the PTS and now you say
> that it works even if the PTS doesn't match. What?

;^)

       Werner


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



Home | Main Index | Thread Index