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 01:44:52PM +0000, Stefan Huelswitt wrote:
> On 16 Apr 2003 "Dr. Werner Fink" <werner@suse.de> wrote:
> > On Wed, Apr 16, 2003 at 11:48:24AM +0000, Stefan Huelswitt wrote:
> >> 
> >> Is the audio from before the cutOut mark or from after the cutIn
> >> mark?
> >> 
> >> For the second case there is a pretty simple solution.
> > 
> > Hmmm ... I'd say its from after the cutIn.
> > In other words it seems that it looks or better hears like
> > 
> >                           commercial
> >  video  ----------------%************%-----------------
> >  audio  ----------------%--|*********%**|--------------
> >                         ^            ^
> >                       cutOut       cutIn
> > 
> > and after cutting
> > 
> >  video  ----------------%%-----------------
> >  audio  ----------------%%**|--------------
> 
> I have uploaded a experimental cutter patch, which tries to
> detected the excess audio packets and drops them.
> 
> The patch takes the PTS from the cutIn video packet and keeps
> dropping audio packets until a audio packet with pts>cutInPts is
> encountered.
> 
> <http://www.muempf.de/down/vdr-1.1.27-cutter2-exp.diff.gz>

... whats about the audio/dd frames between cutOut mark
upto the point where the video PTS at cutOut reach the
audio/dd PTS?  Shouldn't those ones be included or
replaced with silence:

                           commercial
  video  ----------------%************%-----------------
  audio  ----------------%--|*********%**|--------------
                         ^            ^
                       cutOut       cutIn
                         ^^^^
                         audio PTS delay

?

        Werner


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



Home | Main Index | Thread Index