[MPlayer-users] Mencoder Problem with mp3lame and dual core xeon

Philip Schierholz 17minus3 at gmx.de
Wed Jul 11 18:12:57 CEST 2007


Hi.

I've got a problem with Mencoder.

I tried to transcode VDR-Files with Mencoder. For the videostream I used lavc mpeg4, which worked well. For example:

mencoder 001.vdr -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:trell:vbitrate=600:autoaspect -vf scale=384:288 -oac copy -o ARD_2007-06-28-1200_BitR_600_Scale_384_288.avi

Now I want to encode the audiostream to mp3. First I tried lame (version 3.97) but it didn't work!

commandline:
mencoder 001.vdr -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:trell:vbitrate=600:autoaspect -vf scale=384:288 -ffourcc DX50 -oac mp3lame -o ARD_2007-06-28-1200_BitR_600_Scale_384_288_mp3lame.avi
============================
log:

MEncoder 1.0rc1-4.1.2 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Xeon(TM) CPU 3.00GHz (Family: 15, Model: 4, Stepping: 10)
CPUflags: Type: 15 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 - 0x7d025322
MPEG-PES file format detected.
VIDEO:  MPEG2  720x576  (aspect 2)  25.000 fps  15000.0 kbps (1875.0 kbyte/s)
[V] filefmt:41  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: [scale w=384 h=288]
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred colorspace: Mpeg PES)
The selected video_out device is incompatible with this codec.
Try adding the scale filter, 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))
==========================================================================
Forcing output FourCC to 30355844 [DX50].

Exiting...
=============================

After that I tried lavc mp3-codec using the following commandline:

mencoder 001.vdr -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:trell:vbitrate=600:autoaspect:acodec=mp3:abitrate=96 -vf scale=384:288 -ffourcc DX50 -oac lavc -o ARD_2007-06-28-1200_BitR_600_Scale_384_288_lavcmp3sound.avi


log:
============================
MEncoder 1.0rc1-4.1.2 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Xeon(TM) CPU 3.00GHz (Family: 15, Model: 4, Stepping: 10)
CPUflags: Type: 15 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 - 0x7d025322
MPEG-PES file format detected.
VIDEO:  MPEG2  720x576  (aspect 2)  25.000 fps  15000.0 kbps (1875.0 kbyte/s)
[V] filefmt:41  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: [scale w=384 h=288]
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred colorspace: Mpeg PES)
The selected video_out device is incompatible with this codec.
Try adding the scale filter, 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))
==========================================================================
Forcing output FourCC to 30355844 [DX50].
Audio LAVC, couldn't find encoder for codec mp3.

Exiting...
=================================

What can I do to make it work? I tried to encode an mp2 audiostream with lame directly and it worked.

Second Question: I use a Xeon Dual-Core Machine for the transcoding jobs. The Mencoder uses only on CPU. How can I use the power of both CPUs for the job?

Tranks for help.
Philip

I prefer answers in German...










-- 
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail



More information about the MPlayer-users mailing list