[FFmpeg-user] compile ffmpeg without mp3 support

habib habib.bouaziz at gmail.com
Tue Apr 12 00:15:41 CEST 2016



Le 11/04/2016 23:41, Moritz Barsnick a écrit :
> On Mon, Apr 11, 2016 at 20:10:46 +0000, Carl Eugen Hoyos wrote:
>>> ... more generally a configure param to disable
>>> all except free codecs ?
>> This is not possible afaict (ianal).
> Well, if Habib goes ahead and lays out his definition and understanding
> of "free" (which could be restricted by geography and law, legal
> standing, stance on patents blabla...), and explicitly defines the list
> of corresponding codecs himself, he can just use:
>    --disable-decoders --enable-decoder=DECODER
> or
>    --disable-decoder=DECODER
Well,

I have been trying last week to compile mplayer with "--disable-mpg123 
-- disable-mad" without success because mplayer invoke ffmp3float 
(please see here after --> mplayer "tells" me the track require a 
certain mpg123 decoder which is not available because mplayer was not 
compiled with and surprisingly replace it by a ffmp3float decoder !! )

habib at betelgeuse:~/SITE/mplayer$ mplayer ~/Musique/Duke_Genesis.mp3
MPlayer 1.1-4.8 (C) 2000-2012 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote 
control.

Playing /home/habib/Musique/Duke_Genesis.mp3.
libavformat version 54.20.4 (external)
Mismatching header version 54.20.3
Audio only file format detected.
Load subtitles in /home/habib/Musique/
==========================================================================
Requested audio codec family [mpg123] (afm=mpg123) not available.
Enable it at compilation.
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
libavcodec version 54.35.0 (external)
AUDIO: 22050 Hz, 2 ch, floatle, 160.0 kbit/11.34% (ratio: 20000->176400)
Selected audio codec: [ffmp3float] afm: ffmpeg (FFmpeg MPEG layer-3 audio)
==========================================================================
AO: [pulse] 22050Hz 2ch floatle (4 bytes per sample)
Video: no video
Starting playback...
A:  17.0 (17.0) of 3300.0 (55:00.0)  0.1%
> Moritz
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user



More information about the ffmpeg-user mailing list