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

Philip Walden pwaldenlinux at pacbell.net
Sun Jun 26 20:27:23 CEST 2005


Rich Felker wrote:

>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
>  
>
Linux 2.4.20-31.9 #1 Tue Apr 13 17:38:16 EDT 2004 i686 athlon i386 GNU/Linux

I found a report on LinuxQuestions with same problem:

http://www.linuxquestions.org/questions/showthread.php?s=&threadid=322764&highlight=jpg+to+avi

They are using 1.0pre7-3.3.5, so it looks like a current problem.




More information about the MPlayer-users mailing list