[MEncoder-users] ERROR: SCR: warning; what does that mean?

Guillaume POIRIER poirierg at gmail.com
Sun Aug 7 22:24:38 CEST 2005


Hi,

On 6/12/05, Nico Sabbi <nsabbi at tiscali.it> wrote:
> Brian Keener wrote:
> 
> > I'm re-encoding a huffyuv-encoded file to mpeg2, dvd-compatible video
> > stream.
> >
> > My command line is:
> >
> > mencoder tv.avi -of mpeg -oac lavc -ovc lavc -lavcopts
> > vcodec=mpeg2video:vbitrate=8000:keyint=25 -vf
> > hqdn3d,pullup,pp=md,scale=720:480 -noskip -o tvout.mpg
> >
> > I'm pretty happy with the quality, but I'm still getting lots of
> > errors like
> >
> > ERROR: SCR: 874360377, APTS: 844830475, DELTA=-0.320 secs
> >
> > ERROR: SCR: 874469454, APTS: 849649125, DELTA=-0.269 secs
> >
> > ERROR: SCR: 874578531, APTS: 856877100, DELTA=-0.192 secs
> >
> > ERROR: SCR: 874687608, APTS: 864105075, DELTA=-0.115 secs
> >
> > ERROR: SCR: 874796685, APTS: 871333050, DELTA=-0.038 secs
> >
> 
> these messages mean that  the audio pts is ahead of the "system" (e.g.
> file) timer;
> it's one of the most negative thing that can happen in mpeg files,
> because on a standalone
> reader (such as dvd) those audio packets will likely be skipped (unless
> the reader
> has a minimum of intelligence).
> Unfortunately it's not easily fixable, but I have in mind a partial
> rewrite of the muxer,
> aimed at solving exactly this problem

I ran into a similar problem today. Using "-of lavf" instead of "-of
mpeg" seemed to do the trick, although then I had to use "-oac
mp3lame" instead of copy otherwise I had no sound at all.

Guillaume

-- 
A legend is an old man with a cane known for
what he used to do. I'm still doing it.
  -- Miles Davis




More information about the MEncoder-users mailing list