[MEncoder-users] Trying convert to .mov

Ross Clement rossclement at gmail.com
Sat Oct 6 20:49:25 CEST 2007


On 10/6/07, James Hastings-Trew <jimht at shaw.ca> wrote:

> mencoder junk.avi -sws 9 -of lavf -lavfopts format=mp4 -vf harddup -ovc
> x264 -x264encopts
>
> bitrate=2440:vbv_maxrate=2500:vbv_bufsize=2000:nocabac:me=umh:subq=6:trellis=1:level_idc=30:global_header:threads=2:pass=1
> -oac faac -faacopts mpeg=4:object=2:br=160:raw -channels 2 -srate 48000
> -o junk.mp4
>
> mencoder junk.avi -sws 9 -of lavf -lavfopts format=mp4 -vf harddup -ovc
> x264 -x264encopts
>
> bitrate=2440:vbv_maxrate=2500:vbv_bufsize=2000:nocabac:me=umh:subq=6:trellis=1:level_idc=30:global_header:threads=2:pass=2
> -oac faac -faacopts mpeg=4:object=2:br=160:raw -channels 2 -srate 48000
> -o junk.mp4
>
>
> There you go. Two pass encode, the resulting file is 945K Opens just
> fine in Quicktime.


Doesn't work on my computer. mencoder aborts with error messages (see
later). Which version of mplayer are you using? I'm going to download a
"subversion snapshot" and see what happens.

Thanks.

MEncoder 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: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2:
1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

success: format: 0  data: 0x0 - 0x11168128
AVI file format detected.
VIDEO:  [CRAM]  1024x768  16bpp  25.000 fps  3342.9 kbps (408.1 kbyte/s)
[V] filefmt:3  fourcc:0x4D415243  size:1024x768  fps:25.00  ftime:=0.0400
==========================================================================
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)
==========================================================================
** 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...
MEncoder 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: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2:
1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

success: format: 0  data: 0x0 - 0x11168128
AVI file format detected.
VIDEO:  [CRAM]  1024x768  16bpp  25.000 fps  3342.9 kbps (408.1 kbyte/s)
[V] filefmt:3  fourcc:0x4D415243  size:1024x768  fps:25.00  ftime:=0.0400
==========================================================================
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)
==========================================================================
** 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...



More information about the MEncoder-users mailing list