ffmpeg encoder question

Rick Stevens ricks at alldigital.com
Wed Jul 8 20:53:46 UTC 2015


On 07/08/2015 09:23 AM, jd1008 wrote:
>
> $ ffmpeg -i audfile1.wav -aq 9 -y audfile1.mp3
> ffmpeg version N-72985-g7c3f7e6 Copyright (c) 2000-2015 the FFmpeg
> developers
>    built with gcc 4.8.3 (GCC) 20140911 (Red Hat 4.8.3-7)
>    configuration: --prefix=/opt
>    libavutil      54. 27.100 / 54. 27.100
>    libavcodec     56. 41.100 / 56. 41.100
>    libavformat    56. 37.100 / 56. 37.100
>    libavdevice    56.  4.100 / 56.  4.100
>    libavfilter     5. 17.100 /  5. 17.100
>    libswscale      3.  1.101 /  3.  1.101
>    libswresample   1.  2.100 /  1.  2.100
> Guessed Channel Layout for  Input Stream #0.0 : stereo
> Input #0, wav, from 'MMY-Q+A.wav':
>    Duration: 01:32:46.17, bitrate: 1411 kb/s
>      Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2
> channels, s16, 1411 kb/s
> Output #0, mp3, to 'MMY-Q+A.mp3':
>      Stream #0:0: Audio: mp3, 0 channels, 128 kb/s
> Stream mapping:
>    Stream #0:0 -> #0:0 (pcm_s16le (native) -> ? (?))
> Encoder (codec mp3) not found for output stream #0:0
>
> So, I have the following rpms for codecs:
>
> codec2-0.3-5.20150317svn2080.fc20.x86_64
> mplayer-codecs-extra-20061022-1.x86_64
> apache-commons-codec-1.8-5.fc20.noarch
>
> What else is missing?

For mp3 files, you need something like lame-libs installed.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital    ricks at alldigital.com -
- AIM/Skype: therps2        ICQ: 226437340           Yahoo: origrps2 -
-                                                                    -
-   UNIX is actually quite user friendly.  The problem is that it's  -
-              just very picky of who its friends are!               -
----------------------------------------------------------------------


More information about the users mailing list