On Mon, 2007-10-15 at 13:18 +0200, Javier GarcĂa wrote:
Roman Haefeli wrote:
mencoder Skim.wmv -nosound -ovc lavc -lavcopts vcodec=mjpeg -of lavf -lavfopts format=mov -o outfile.mov
Thanks Roman but it gives this error:
MEncoder 2:1.0~rc1-0ubuntu9.1 (C) 2000-2006 MPlayer Team CPU: Intel(R) Core(TM)2 CPU T7400 @ 2.16GHz (Family: 6, Model: 15, Stepping: 6) CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1 Compiled with runtime CPU detection. success: format: 0 data: 0x0 - 0x1a677be ASF file format detected. VIDEO: [WMV3] 320x240 24bpp 30.000 fps 0.0 kbps ( 0.0 kbyte/s) [V] filefmt:6 fourcc:0x33564D57 size:320x240 fps:30.00 ftime:=0.0333 ** MUXER_LAVF
If you wish to use libavformat muxing, you must ensure that your video stream does not contain B frames (out of order decoding) and specify: -lavfopts i_certify_that_my_video_stream_does_not_use_b_frames on the command line. REMEMBER: MEncoder's libavformat muxing is presently broken and will generate INCORRECT files in the presence of B frames. Moreover, due to bugs MPlayer will play these INCORRECT files as if nothing were wrong!
Cannot initialize muxer. Exiting...
ah, ok... i see. you use a different (older) version than me. try to do what the error message is telling you: add 'i_certify_that_my_video_stream_does_not_use_b_frames' to your -lavfopts.
this would look like this (all in one line):
mencoder Skim.wmv -nosound -ovc lavc -lavcopts vcodec=mjpeg -of lavf -lavfopts format=mov:i_certify_that_my_video_stream_does_not_use_b_frames -o outfile.mov
someone mentioned, that vlc provides also encoding possibilities. if mencoder is not working or too hard to deal with, try vlc.
cheers roman
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de