[MEncoder-users] Trying convert to .mov

Ross Clement rossclement at gmail.com
Thu Oct 4 17:59:28 CEST 2007


On 10/3/07, Devendra Rane <ranedk at gmail.com> wrote:
>
> I used the following for wmv to mov ....
> the aglobal vglobal vcodec parameters are important.
>
> mencoder input.wmv -of lavf -ovc lavc -lavfopts
> format=mov:i_certify_that_my_video_stream_does_not_use_b_frames
> -lavcopts aglobal=1:vglobal=1:vcodec=h264:acodec=mp3 -oac mp3lame -mc
> 0  -o target.mov
> p://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
>

Apologies for my previous email. My laptop has a rather sensitive mouse and
I sent prematurely.

I've tried to use the above command. The exported file plays absolutely fine
in Quicktime on a Mac, and imports into Protools fine.

Except, on playback the movie plays back too fast. The audio plays back at
the correct speed, and hence the movie gets progressively further and
further ahead of the audio. I can't understand what I am doing wrong.

Here is the command that I used to convert my movie. "junk.avi" plays at the
correct speed.

mencoder junk.avi -of lavf -ovc lavc -lavfopts
format=mov:i_certify_that_my_video_stream_does_not_use_b_frames -lavcopts
aglobal=1:vglobal=1:vcodec=h264:acodec=mp3:vbitrate=1000 -oac mp3lame -mc 0
-o automation.mov

Here is the output of "mplayer junk.avi". The output from "mplayer
automation.mov" follows.

[ross at q305-rc MOVIES]$ mplayer junk.avi
MPlayer 1.0rc1-4.0.2 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Pentium(R) M processor 1.80GHz (Family: 6, Model: 13,
Stepping: 6)CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

Playing junk.avi.
AVI file format detected.
VIDEO:  [CRAM]  1024x768  16bpp  25.000 fps  3342.9 kbps (408.1 kbyte/s)
Clip info:
 Software: MEncoder 1.0rc1-4.0.2
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffvideo1] vfm: ffmpeg (Microsoft Video 1 (native
codec))
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [oss] 44100Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 1024 x 768 (preferred colorspace: BGR 15-bit)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using BGR 15-bit as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 1
SwScaler: reducing / aligning filtersize 9 -> 8

SwScaler: BICUBIC scaler, from bgr555 to yuv420p using MMX2
SwScaler: using 4-tap MMX scaler for horizontal luminance scaling
SwScaler: using 4-tap MMX scaler for horizontal chrominance scaling
SwScaler: using 1-tap MMX "scaler" for vertical scaling (YV12 like)
SwScaler: 1024x768 -> 1024x768
VO: [xv] 1024x768 => 1024x768 Planar YV12




[ross at q305-rc MOVIES]$ mplayer automation.mov
MPlayer 1.0rc1-4.0.2 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Pentium(R) M processor 1.80GHz (Family: 6, Model: 13,
Stepping: 6)CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

Playing automation.mov.
ISO: File Type Major Brand: Original QuickTime
Quicktime/MOV file format detected.
VIDEO:  [avc1]  1024x768  24bpp  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [oss] 44100Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 1024 x 768 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 1024x768 => 1024x768 Planar YV12



More information about the MEncoder-users mailing list