On 02/21/2016 02:02 PM, François Patte wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Le 21/02/2016 22:15, jd1008 a écrit :
On 02/21/2016 12:49 PM, François Patte wrote: Bonsoir,
I try to convert a .flac audio file into an mp3 audio file, using
the command:
ffmpeg -i Input.flac -ab 320k -map_metadata 0 -id3v2_version 3
Output.mp 3
This fail with this message:
Encoder (codec none) not found for output stream #0:0
What is missing?
Fedora 21
Thank you
-- François Patte
Here are some libs (which install codecs) you will need. I do not
know which one exactly ffmpeg needs. The -devel rpms are for
building rpms of apps that need those packages.
lame.x86_64 3.99.5-5.fc22 @rpmfusion-free lame-devel.x86_64
3.99.5-5.fc22 @rpmfusion-free lame-libs.x86_64 3.99.5-5.fc22
@rpmfusion-free lame-mp3x.x86_64 3.99.5-5.fc22 @rpmfusion-free
mp3gain.x86_64 1.5.2-5.fc22 @rpmfusion-free twolame.x86_64
0.3.13-4.fc22 @rpmfusion-free twolame-devel.x86_64 0.3.13-4.fc22
@rpmfusion-free twolame-libs.x86_64 0.3.13-4.fc22
@rpmfusion-free
flac.x86_64 1.3.1-5.fc22 @updates flac-devel.x86_64 1.3.1-5.fc22
@updates flac-libs.i686 1.3.1-5.fc22 @updates flac-libs.x86_64
1.3.1-5.fc22 @System
No change...
I don't know why ffmpeg does not complain about a specific codec!
It was. It was saying it couldn't find a codec for the first audio
stream you were trying to OUTPUT:
Encoder (codec none) not found for output stream #0:0
^^^^^^^^^^^^^^^^^^
Since you were trying to convert TO an MP3, it couldn't find an MP3
codec to do it. No, it doesn't say specifically an MP3 codec but you
should be able to figure that out based on the error message and what
you were trying to do.
First, figure out WHICH ffmpeg is being run:
which ffmpeg
ffmpeg -version
I'm willing to bet it's one installed by some other package and that one
doesn't have the MP3 encoder linked to it (or it expects it in some
location other than the standard).
Also check your path and see if that ffmpeg instance overrides the
standard one in /usr/bin. Then see if you have the standard ffmpeg
installed in /usr/bin. If you do, try running
/usr/bin/ffmpeg -codecs | grep -i mp3
You should see a line like:
DEA.L. mp3 MP3 (MPEG audio layer 3) (decoders: mp3
mp3float ) (encoders: libmp3lame )
if an appropriate MP3 codec is installed (in the above case, it's
LAME--although there are other MP3 codecs out there).
If you see something like that, try running your command by explicitly
specifying the /usr/bin/ffmpeg rather than the one in your path. If
that works, then I'd dig around and figure out where your PATH is being
buggered (e.g. ~/.bashrc or wherever) and put the directory that's
overriding the defaults at the END of the line that modifies your PATH
or remember to always give an explicit path to ffmpeg whenever you want
to use it.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital ricks@xxxxxxxxxxxxxx -
- AIM/Skype: therps2 ICQ: 226437340 Yahoo: origrps2 -
- -
- LOOK OUT!!! BEHIND YOU!!! -
----------------------------------------------------------------------
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org