[MPlayer-users] jpeg to avi has blank frames and sticks to first frame

Rich Felker dalias at aerifal.cx
Sun Jun 26 09:20:27 CEST 2005


On Sat, Jun 25, 2005 at 08:40:42PM -0700, Philip Walden wrote:
> Philip Walden wrote:
> 
> >I am trying to covert jpeg images from my webcam into a movie using 
> >the following command.
> >
> >mencoder mf://\*.JPG -mf fps=4:type=jpg -ovc lavc -lavcopts 
> >vcodec=mpeg4 -oac copy -o output.avi
> >
> >It processes 152 files (IMAGE.00000.JPG - IMAGE.00152.JPG). See 
> >mencoder output below.
> >
> >However, there are two problems:
> >
> >  1. between each frame there is a short "black or blank" frame.
> >  2. mplayer replays the first image over and over for the duration of
> >     the movie
> >
> >I can't seem to spot the problem
> 
> Somehow I think this is related to a problem with the mf://\*.JPG 
> specification.
> 
> I now have nearly a 1000 jpegs.
> 
> The first 100 frames of the rendered movie seem to alternate between a 
> the first and a blank frame, then it switches to alternating between the 
> first and a frame much further along. As the movie progresses, the 
> frames slowly change but always are out of order.
> 
> I had assumed the mf://\*.JPG would select jpegs in sorted order. Is 
> this a bad assumption? If so, how does one specify the order?

It's supposed to select them in order. By the way, what os are you
using? Maybe it's broken on some..? If you think there's a bug you
should submit all the information needed for a bug report.

Rich




More information about the MPlayer-users mailing list