[MPlayer-users] Need help converting JPG to Avi.

Daniel Swan swan_daniel at hotmail.com
Wed Jul 20 19:01:27 CEST 2005


I'd really appreciate anyone's help with this:

-I've downloaded and compiled MPlayer-1.0pre7, with defaults.
-I'm attempting to convert 10,000 JPEGs into an avi.
-I've followed the directions in the manual section entitled "7.6. Encoding 
from multiple input image files (JPEG, PNG, TGA, SGI)".
-After executing the command, many errors are generated, and no usable 
output created.    Cut-and-paste as follows:


localhost:/var/www/mantis/archives# mencoder mf://*.jpg -mf 
w=800:h=600:fps=25:type=jpg -ovc lavc -lavcopts vcodec=mpeg4 -oac copy -o 
output.avi |head -27
File not found: 'frameno.avi'
Failed to open frameno.avi
MEncoder 1.0pre7-3.3.5 (C) 2000-2005 MPlayer Team
CPU: Intel Celeron A Mendocino/Pentium II Dixon (Family: 6, Stepping: 5)
Detected cache-line size is 32 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX

success: format: 16  data: 0x0 - 0x0
[demuxer] mf support.
[mf] search expr: *.jpg
[mf] number of files: 14404 (57616)
VIDEO:  [IJPG]  800x600  24bpp  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:16  fourcc:0x47504A49  size:800x600  fps:25.00  ftime:=0.0400
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1  (-1=autodetect) osd: 1
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmjpeg] vfm:ffmpeg (FFmpeg MJPEG decoder)
==========================================================================
Writing AVI header...
ODML: Aspect information not (yet?) available or unspecified, not writing 
vprp header.
[mjpeg @ 0x859dea0]mjpeg: unsupported coding type (c2)
VDec: vo config request - 800 x 600 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 3)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
videocodec: libavcodec (800x600 fourcc=34504d46 [FMP4])
[mjpeg @ 0x859dea0]mjpeg: unsupported coding type (c2)
[mjpeg @ 0x859dea0]mjpeg: unsupported coding type (c2)

1 duplicate frame(s)!
ODML: Aspect information not (yet?) available or unspecified, not writing 
vprp header.
[mjpeg @ 0x859dea0]mjpeg: unsupported coding type (c2)

1 duplicate frame(s)!
ODML: Aspect information not (yet?) available or unspecified, not writing 
vprp header.
[mjpeg @ 0x859dea0]mjpeg: unsupported coding type (c2)

1 duplicate frame(s)!
ODML: Aspect information not (yet?) available or unspecified, not writing 
vprp header.
localhost:/var/www/mantis/archives#
.
.
.
.
.... And so on, it repeats countless times.  Once per image, I assume.

Any help appreciated,
Dan.





More information about the MPlayer-users mailing list