[MEncoder-users] early exiting with mp3lame but not pcm
Aner Ben-Artzi
anerbenartzi at yahoo.com
Thu Jan 10 06:36:43 CET 2008
Hi.
I compiled/installed lame-3.97 and compiled/instaled the latest mplayer from
SVN.
When I run mencoder with pcm, it starts encoding fine. However, when I run
with mp3lame, it exits very quickly
The command line:
mencoder TheMovie.vob -vf pullup,softskip,crop=720:560:0:8,harddup -ovc x264
-x264encopts bitrate=1000:subq=5:bframes=3:b_pyramid:weight_b:turbo=1:pass=1
-ofps 30000/1001 -o TheMovie.avi -oac mp3lame -aid 128
=======BEGIN mencoder output=========
MEncoder dev-SVN-r25657-4.1.1 (C) 2000-2008 MPlayer Team
CPU: AMD Athlon(tm) 64 Processor 4000+ (Family: 15, Model: 95, Stepping: 3)
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2
success: format: 0 data: 0x0 - 0xf951800
MPEG-PS file format detected.
VIDEO: MPEG2 720x576 (aspect 3) 25.000 fps 8000.0 kbps (1000.0 kbyte/s)
[V] filefmt:2 fourcc:0x10000002 size:720x576 fps:25.00 ftime:=0.0400
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 448.0 kbit/29.17% (ratio: 56000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [harddup]
Opening video filter: [crop w=720 h=560 x=0 y=8]
Crop: 720 x 560, 0 ; 8
Opening video filter: [softskip]
Opening video filter: [pullup]
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
Exiting...
=====================END mencoder output================
The mplayer ./configure prints:
Checking for libmp3lame (for mencoder) ... yes
At the end of ./configure it prints:
----------------------------------------
Enabled optional drivers:
Input: ftp pvr tv-teletext tv-v4l2 tv-v4l tv libdvdcss(internal)
dvdread(internal) vcd dvb smb network
Codecs: x264 libavcodec real xanim faad2 libmpeg2 liba52 mp3lib
tremor(internal)
Audio output: alsa esd arts oss sdl mpegpes(dvb)
Video output: sdl pnm jpeg png mpegpes(dvb) fbdev xvidix cvidix opengl dga
xv x11 xover md5sum tga
Audio filters:
Disabled optional drivers:
Input: dvdnav vstream radio tv-dshow live555 nemesi cddb cdda
Codecs: xvid libdv libamr_wb libamr_nb qtx win32 faac musepack libdca
libtheora speex toolame twolame libmad liblzo gif
Audio output: sun openal jack pulse v4l2 ivtv dxr2 nas
Video output: v4l2 ivtv dxr3 dxr2 vesa gif89a zr zr2 svga caca aa ggi xmga
mga winvidix 3dfx xvmc dfbmga directfb bl xvr100 tdfx_vid s3fb tdfxfb
Audio filters: ladspa
The Question:
Can someone please point out why mencoder is silently exiting? The only
environment variables I have set (that I think affect anything) is
LD_LIBRARY_PATH=/usr/local/lib
Thank you.
More information about the MEncoder-users
mailing list