hongbinz / ffmbc

Automatically exported from code.google.com/p/ffmbc
0 stars 0 forks source link

mp3 codec not available #172

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Configure build with libmplame
2. make and install
3. Try to encode to mp3

What is the expected output? What do you see instead?
I expected to get an mp3 output file, instead I get the error "Unknown encoder 
'mp3'"

What version of the product are you using? On what operating system?
FFmbc version 0.7-rc9
OS X 10.9.2

Please provide any additional information below:

This is how I configured the build, and as you can see, mp3 is included as a 
codec.

./configure --enable-gpl --enable-libmp3lame
Configured with: --prefix=/Library/Developer/CommandLineTools/usr 
--with-gxx-include-dir=/usr/include/c++/4.2.1
Must specify package names on the command line
install prefix            /usr/local
source path               .
C compiler                gcc
ARCH                      x86 (generic)
big-endian                no
runtime cpu detection     no
yasm                      yes
MMX enabled               yes
MMX2 enabled              yes
3DNow! enabled            yes
3DNow! extended enabled   yes
SSE enabled               yes
SSSE3 enabled             yes
AVX enabled               yes
CMOV enabled              yes
CMOV is fast              yes
EBX available             yes
EBP available             yes
debug symbols             yes
strip symbols             yes
optimize for size         no
optimizations             yes
static                    yes
shared                    no
postprocessing support    yes
new filter support        yes
network support           yes
threading support         pthreads
SDL support               no
Sun medialib support      no
libdxva2 enabled          no
libva enabled             no
libvdpau enabled          no
AVISynth enabled          no
libcelt enabled           no
frei0r enabled            no
libdc1394 support         no
libdirac enabled          no
libfaac enabled           no
libgsm enabled            no
libmp3lame enabled        yes
libnut enabled            no
libopencv support         no
libopenjpeg enabled       no
librtmp enabled           no
libschroedinger enabled   no
libspeex enabled          no
libtheora enabled         no
libvorbis enabled         no
libvpx enabled            no
libx264 enabled           no
libxavs enabled           no
libxvid enabled           no
openal enabled            no
zlib enabled              yes
bzlib enabled             yes

Enabled decoders:
aac         dpx         mp3adu
aac_latm        dsicinaudio     mp3adufloat
aasc            dsicinvideo     mp3float
ac3         dvbsub          mp3on4
adpcm_4xm       dvdsub          mp3on4float
adpcm_adx       dvvideo         mpc7
adpcm_ct        dxa         mpc8
adpcm_ea        eac3            mpeg1video
adpcm_ea_maxis_xa   eacmv           mpeg2video
adpcm_ea_r1     eamad           mpeg4
adpcm_ea_r2     eatgq           mpegvideo
adpcm_ea_r3     eatgv           msmpeg4v1
adpcm_ea_xas        eatqi           msmpeg4v2
adpcm_g722      eightbps        msmpeg4v3
adpcm_g726      eightsvx_exp        msrle
adpcm_ima_amv       eightsvx_fib        msvideo1
adpcm_ima_dk3       eightsvx_raw        mszh
adpcm_ima_dk4       escape124       mxpeg
adpcm_ima_ea_eacs   ffv1            nellymoser
adpcm_ima_ea_sead   ffvhuff         nuv
adpcm_ima_iss       flac            pam
adpcm_ima_qt        flashsv         pbm
adpcm_ima_smjpeg    flashsv2        pcm_alaw
adpcm_ima_wav       flic            pcm_bluray
adpcm_ima_ws        flv         pcm_dvd
adpcm_ms        fourxm          pcm_f32be
adpcm_sbpro_2       fraps           pcm_f32le
adpcm_sbpro_3       frwu            pcm_f64be
adpcm_sbpro_4       gif         pcm_f64le
adpcm_swf       gsm         pcm_lxf
adpcm_thp       gsm_ms          pcm_mulaw
adpcm_xa        h261            pcm_s16be
adpcm_yamaha        h263            pcm_s16le
alac            h263i           pcm_s16le_planar
als         h264            pcm_s24be
amrnb           huffyuv         pcm_s24daud
amrwb           idcin           pcm_s24le
amv         iff_byterun1        pcm_s32be
anm         iff_ilbm        pcm_s32le
ansi            imc         pcm_s8
ape         indeo2          pcm_u16be
ass         indeo3          pcm_u16le
asv1            indeo5          pcm_u24be
asv2            interplay_dpcm      pcm_u24le
atrac1          interplay_video     pcm_u32be
atrac3          jpeg2000        pcm_u32le
aura            jpegls          pcm_u8
aura2           jv          pcm_zork
avs         kgv1            pcx
bethsoftvid     kmvc            pgm
bfi         lagarith        pgmyuv
bink            loco            pgssub
binkaudio_dct       mace3           pictor
binkaudio_rdft      mace6           png
bmp         mdec            ppm
c93         mimic           prores
cavs            mjpeg           ptx
cdgraphics      mjpegb          qcelp
cinepak         mlp         qdm2
cljr            mmvideo         qdraw
cook            motionpixels        qpeg
cscd            mp1         qtrle
cyuv            mp1float        r10k
dca         mp2         r210
dfa         mp2float        ra_144
dnxhd           mp3         ra_288
rawvideo        theora          vp6
rl2         thp         vp6a
roq         tiertexseqvideo     vp6f
roq_dpcm        tiff            vp8
rpza            tmv         vqa
rv10            truehd          wavpack
rv20            truemotion1     wmapro
rv30            truemotion2     wmav1
rv40            truespeech      wmav2
s302m           tscc            wmavoice
sgi         tta         wmv1
shorten         twinvq          wmv2
sipr            txd         wmv3
smackaud        ulti            wnv1
smacker         v210            ws_snd1
smc         v210x           xan_dpcm
snow            vb          xan_wc3
sol_dpcm        vc1         xan_wc4
sonic           vcr1            xl
sp5x            vmdaudio        xsub
srt         vmdvideo        yop
sunrast         vmnc            zlib
svq1            vorbis          zmbv
svq3            vp3
targa           vp5

Enabled encoders:
a64multi        h263p           pcm_u32le
a64multi5       huffyuv         pcm_u8
aac         jpegls          pcm_zork
ac3         libmp3lame      pcx
ac3_fixed       ljpeg           pgm
ac3_float       mjpeg           pgmyuv
adpcm_adx       mp2         png
adpcm_g722      mpeg1video      ppm
adpcm_g726      mpeg2video      prores
adpcm_ima_qt        mpeg4           qtrle
adpcm_ima_wav       msmpeg4v2       ra_144
adpcm_ms        msmpeg4v3       rawvideo
adpcm_swf       msvideo1        roq
adpcm_yamaha        nellymoser      roq_dpcm
alac            pam         rv10
ass         pbm         rv20
asv1            pcm_alaw        sgi
asv2            pcm_f32be       snow
bmp         pcm_f32le       sonic
dca         pcm_f64be       sonic_ls
dnxhd           pcm_f64le       srt
dpx         pcm_mulaw       svq1
dvbsub          pcm_s16be       targa
dvdsub          pcm_s16le       tiff
dvvideo         pcm_s24be       v210
eac3            pcm_s24daud     vorbis
ffv1            pcm_s24le       wmav1
ffvhuff         pcm_s32be       wmav2
flac            pcm_s32le       wmv1
flashsv         pcm_s8          wmv2
flashsv2        pcm_u16be       xsub
flv         pcm_u16le       zlib
gif         pcm_u24be       zmbv
h261            pcm_u24le
h263            pcm_u32be

Enabled hwaccels:

Enabled parsers:
aac         dvdsub          mpegaudio
aac_latm        flac            mpegvideo
ac3         h261            pnm
cavsvideo       h263            vc1
dca         h264            vp3
dirac           mjpeg           vp8
dnxhd           mlp
dvbsub          mpeg4video

Enabled demuxers:
aac         iss         pcm_u32le
ac3         iv8         pcm_u8
aea         ivf         pmp
aiff            jv          pva
amr         lmlm4           qcp
anm         lxf         r3d
apc         m4v         rawvideo
ape         matroska        rl2
applehttp       microdvd        rm
asf         mjpeg           roq
ass         mlp         rpl
au          mm          rso
avi         mmf         rtp
avs         mov         rtsp
bethsoftvid     mp3         sap
bfi         mpc         sdp
bink            mpc8            segafilm
c93         mpegps          shorten
caf         mpegts          siff
cavsvideo       mpegtsraw       smacker
cdg         mpegvideo       sol
daud            msnwc_tcp       sox
dfa         mtv         spdif
dirac           mvi         srt
dnxhd           mxf         str
dsicin          mxg         swf
dts         nc          thp
dv          nsv         tiertexseq
dxa         nut         tmv
ea          nuv         truehd
ea_cdata        ogg         tta
eac3            oma         tty
ffmetadata      pcm_alaw        txd
filmstrip       pcm_f32be       vc1
flac            pcm_f32le       vc1t
flic            pcm_f64be       vmd
flv         pcm_f64le       voc
fourxm          pcm_mulaw       vqf
g722            pcm_s16be       w64
gsm         pcm_s16le       wav
gxf         pcm_s24be       wc3
h261            pcm_s24le       wsaud
h263            pcm_s32be       wsvqa
h264            pcm_s32le       wtv
idcin           pcm_s8          wv
iff         pcm_u16be       xa
image2          pcm_u16le       xwma
image2pipe      pcm_u24be       yop
ingenient       pcm_u24le       yuv4mpegpipe
ipmovie         pcm_u32be

Enabled muxers:
a64         ipod            pcm_s16le
ac3         ivf         pcm_s24be
adts            m4v         pcm_s24le
aiff            matroska        pcm_s32be
amr         matroska_audio      pcm_s32le
asf         md5         pcm_s8
asf_stream      microdvd        pcm_u16be
ass         mjpeg           pcm_u16le
au          mlp         pcm_u24be
avi         mmf         pcm_u24le
avm2            mov         pcm_u32be
caf         mp2         pcm_u32le
cavsvideo       mp3         pcm_u8
crc         mp4         psp
daud            mpeg1system     rawvideo
dirac           mpeg1vcd        rm
dnxhd           mpeg1video      roq
dts         mpeg2dvd        rso
dv          mpeg2svcd       rtp
eac3            mpeg2video      rtsp
f4v         mpeg2vob        sap
ffmetadata      mpegts          sox
filmstrip       mpjpeg          spdif
flac            mxf         srt
flv         mxf_d10         swf
framecrc        null            tg2
framemd5        nut         tgp
g722            ogg         truehd
gif         pcm_alaw        vc1t
gxf         pcm_f32be       voc
h261            pcm_f32le       wav
h263            pcm_f64be       webm
h264            pcm_f64le       yuv4mpegpipe
image2          pcm_mulaw
image2pipe      pcm_s16be

Enabled protocols:
applehttp       md5         rtmps
concat          mmsh            rtmpt
crypto          mmst            rtmpte
file            pipe            rtp
gopher          rtmp            tcp
http            rtmpe           udp

Enabled filters:
anull           hflip           select
anullsink       hqdn3d          setpts
anullsrc        lut         setsar
blackframe      lutrgb          settb
boxblur         lutyuv          showinfo
buffer          movie           slicify
buffersink      mp          split
color           negate          squeeze4to3
colormatrix     noformat        stretch4to3
copy            null            testsrc
crop            nullsink        tinterlace
cropdetect      nullsrc         transpose
drawbox         overlay         unsharp
fade            pad         vflip
fieldorder      pixdesctest     w3fdif
fifo            repeatframe     wfm_luma
format          rgbtestsrc      yadif
framerate       rotate
gradfun         scale

Enabled bsfs:
aac_adtstoasc       mjpega_dump_header  mpeg2_set_dar
chomp           mov2textsub     noise
dump_extradata      mp3_header_compress remove_extradata
h264_mp4toannexb    mp3_header_decompress   text2movsub
mjpeg2jpeg      mpeg2_dump_seq

Enabled indevs:

Enabled outdevs:

License: GPL version 2
Creating config.mak and config.h...
libavutil/avconfig.h is unchanged

- Full commandline run (with -v 3) and everything the program printed
without
the repeating parts.

ffmbc -v 3 -i ED-CM-5.1-DVD-L.flac -i ED-CM-5.1-DVD-R.flac  -acodec mp3 
/tmp/foo.mp3 -map_audio_channel 0:0:0:0:0:0 -map_audio_channel 1:0:0:0:0:1
FFmbc version 0.7-rc9
Copyright (c) 2008-2014 Baptiste Coudurier and the FFmpeg developers
Input #0, flac, from 'ED-CM-5.1-DVD-L.flac':
  Duration: 00:10:58.08, bitrate: 711 kb/s
    Stream #0.0(und): Audio: flac, 48000 Hz, mono, s32
Input #1, flac, from 'ED-CM-5.1-DVD-R.flac':
  Duration: 00:10:58.08, bitrate: 708 kb/s
    Stream #1.0(und): Audio: flac, 48000 Hz, mono, s32
Unknown encoder 'mp3'

- Upload your sample somewhere and supply url
http://media.xiph.org/ED/

Original issue reported on code.google.com by k...@vizrt.com on 9 Apr 2014 at 11:22

GoogleCodeExporter commented 9 years ago
It should be -acodec libmp3lame

Original comment by baptiste...@gmail.com on 14 Apr 2014 at 9:50