[MEncoder-users] Error encoding to ljpeg
salsaman
salsaman at xs4all.nl
Tue Dec 6 20:46:33 CET 2005
Hi,
I have discovered a nasty bug with encoding to ljpeg. This is with version:
MEncoder 1.0pre7-3.4.1 (C) 2000-2005 MPlayer Team
CPU: Intel (Family: 8, Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags: Type: 8 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
Using sample jpegs which were produced by same version mplayer, and the
commandline:
mencoder -mf h=480:w=640:type=jpg -o "tmpvid" -ovc lavc -lavcopts
vcodec=ljpeg -noskip -ofps 25.000 mf://*.jpg -frames 10
Produces the following:
MEncoder 1.0pre7-3.4.1 (C) 2000-2005 MPlayer Team
CPU: Intel (Family: 8, Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags: Type: 8 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
File not found: 'frameno.avi'
Failed to open frameno.avi
success: format: 16 data: 0x0 - 0x0
[demuxer] mf support.
[mf] search expr: *.jpg
[mf] number of files: 468 (1872)
VIDEO: [IJPG] 640x480 24bpp 25.000 fps 0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:16 fourcc:0x47504A49 size:640x480 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.
VDec: vo config request - 640 x 480 (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 (640x480 fourcc=47504a4c [LJPG])
[ljpeg @ 0x8544d08]colorspace not supported in jpeg
Could not open codec.
FATAL: Cannot initialize video driver.
Exiting...
A quick fix/workaround would be appreciated, as this completely breaks
the mencoder encoder plugin in LiVES (http://lives.sf.net)
Regards,
Salsaman.
More information about the MEncoder-users
mailing list