[MPlayer-users] skipped frames during encoding
Greg Bryant
bryantgtx at gmail.com
Fri Feb 27 18:38:20 CET 2009
>
> Greg Bryant wrote:
> > Probably a total noob question, but here goes. In my playing with h284,
> I'm
> > taking an existing 4m .mov video, and encoding it to h264. Here's the
> (very
> > basic) command line:
> > mencoder vid1.mov -o vid1.avi -ovc lavc -lavcopts vcodec=libx264 -oac
> copy
> >
> > During encoding, it ends up skipping a frame about every 3/4 second, so
> that
> > the resulting video is very jerky.
> >
> > Skipping frame!
> > Pos: 1.6s 41f ( 0%) 13.16fps Trem: 8min 8mb A-V:0.083 [73:128]
> > Skipping frame!
> > Pos: 2.4s 61f ( 0%) 12.37fps Trem: 13min 26mb A-V:0.083
> [380:128]
> > Skipping frame!
> > Pos: 3.1s 81f ( 0%) 12.88fps Trem: 17min 29mb A-V:0.083
> [308:128]
> > Skipping frame!
> > Pos: 3.9s 101f ( 0%) 8.89fps Trem: 21min 79mb A-V:0.083
> [1329:128]
> > etc.
> As you can see it happens every 20frames.
> Look with mediainfo -f vid1.mov what kind of mov file it is variable fps
> ? You then also see what elementary video and audio streams it has,
> with which bitrates.
> Then you can decide what you want as h264 paramters. BTW avi is not the
> intended container for h264 video. mov, mp4, or mpegts are the ones you
> should consider.
>
I had used mpg onec4, but got a warning saying it was intended for AVI, so I
changed to AVI. Interesting. Here's the output with that:
mencoder vid1.mov -o vid1.mp4 -ovc lavc -lavcopts vcodec=libx264 -oac copy
MEncoder SVN-r28636-4.3.2 (C) 2000-2009 MPlayer Team
WARNING: OUTPUT FILE FORMAT IS _AVI_. See -of help.
More information about the MPlayer-users
mailing list