-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
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 UFR de mathématiques et informatique Laboratoire CNRS MAP5, UMR 8145 Université Paris Descartes 45, rue des Saints Pères F-75270 Paris Cedex 06 Tél. +33 (0)1 8394 5849 http://www.math-info.univ-paris5.fr/~patte
On 21/02/16 19:49, François Patte wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
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
What do you get without the fancy stuff?
ffmpeg -i Input.flac Output.mp3
These should tell you what streams are present.
ffmpeg -i Input.flac
and, if you get Output.mp3
ffmpeg -i Output.mp3
John P
On 02/21/2016 12:49 PM, François Patte wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
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
UFR de mathématiques et informatique Laboratoire CNRS MAP5, UMR 8145 Université Paris Descartes 45, rue des Saints Pères F-75270 Paris Cedex 06 Tél. +33 (0)1 8394 5849 http://www.math-info.univ-paris5.fr/~patte -----BEGIN PGP SIGNATURE----- Version: GnuPG v2
iEYEARECAAYFAlbKFLIACgkQdE6C2dhV2JVsMwCgu1QLJOyy5cahzEEkfH3xmvd9 se0AoInqkZKE+4EJrA/kiHMhXT2o7rhu =xnsV -----END PGP SIGNATURE-----
On 02/21/2016 01:15 PM, jd1008 wrote:
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.
If you don't already have the rpmfusion repos installed, here are simple instructions on how to do it: http://rpmfusion.org/Configuration
-----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!
- -- François Patte UFR de mathématiques et informatique Laboratoire CNRS MAP5, UMR 8145 Université Paris Descartes 45, rue des Saints Pères F-75270 Paris Cedex 06 Tél. +33 (0)1 8394 5849 http://www.math-info.univ-paris5.fr/~patte
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Le 21/02/2016 21:41, John Pilkington a écrit :
On 21/02/16 19:49, François Patte wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
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
What do you get without the fancy stuff?
ffmpeg -i Input.flac Output.mp3
Same answer...: Encoder (codec none) not found for output stream #0:0
- -- François Patte UFR de mathématiques et informatique Laboratoire CNRS MAP5, UMR 8145 Université Paris Descartes 45, rue des Saints Pères F-75270 Paris Cedex 06 Tél. +33 (0)1 8394 5849 http://www.math-info.univ-paris5.fr/~patte
On 21/02/16 22:03, François Patte wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Le 21/02/2016 21:41, John Pilkington a écrit :
On 21/02/16 19:49, François Patte wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
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
What do you get without the fancy stuff?
ffmpeg -i Input.flac Output.mp3
Same answer...: Encoder (codec none) not found for output stream #0:0
...and with ffmpeg -i Input.flac ?
Can you play the input file? vlc ? sox ? mediainfo ?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Le 21/02/2016 23:40, John Pilkington a écrit :
On 21/02/16 22:03, François Patte wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Le 21/02/2016 21:41, John Pilkington a écrit :
On 21/02/16 19:49, François Patte wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
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
What do you get without the fancy stuff?
ffmpeg -i Input.flac Output.mp3
Same answer...: Encoder (codec none) not found for output stream #0:0
...and with ffmpeg -i Input.flac ?
At least one output file must be specified
Can you play the input file? vlc ? sox ? mediainfo ?
Of course audacious, audacity.....
- -- François Patte UFR de mathématiques et informatique Laboratoire CNRS MAP5, UMR 8145 Université Paris Descartes 45, rue des Saints Pères F-75270 Paris Cedex 06 Tél. +33 (0)1 8394 5849 http://www.math-info.univ-paris5.fr/~patte
On 02/22/16 06:03, François Patte wrote:
Le 21/02/2016 21:41, John Pilkington a écrit : > > On 21/02/16 19:49, François Patte wrote: > >> -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 > >> > >> 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 > >> > > > What do you get without the fancy stuff? > >
ffmpeg -i Input.flac Output.mp3 > > Same answer...: Encoder (codec none) not found for
output stream #0:0 > >
If you run ffmpeg -codecs do you see....
DEA..S flac FLAC (Free Lossless Audio Codec) DEA.L. mp3 MP3 (MPEG audio layer 3) (decoders: mp3 mp3float ) (encoders: libmp3lame )
in the output?
On 21/02/16 23:14, Ed Greshko wrote:
On 02/22/16 06:03, François Patte wrote:
Le 21/02/2016 21:41, John Pilkington a écrit : > > On 21/02/16 19:49, François Patte wrote: > >> -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 > >> > >> 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 > >> > > > What do you get without the fancy stuff? > >
ffmpeg -i Input.flac Output.mp3 > > Same answer...: Encoder (codec none) not found for
output stream #0:0 > >
If you run ffmpeg -codecs do you see....
DEA..S flac FLAC (Free Lossless Audio Codec) DEA.L. mp3 MP3 (MPEG audio layer 3) (decoders: mp3 mp3float ) (encoders: libmp3lame )
in the output?
Thank you for that. I don't, but that's (on this box) the SL7 nux repo. mythffmpeg has them both, but I haven't tried it in isolation.
On 02/21/2016 03: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!
R U saying you installed those libs and ffmpeg still complains about a missing codec?
Would you please run
rpm -qa | egrep 'mp3|lame'
and post the result.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Le 22/02/2016 00:14, Ed Greshko a écrit :
On 02/22/16 06:03, François Patte wrote:
Le 21/02/2016 21:41, John Pilkington a écrit : > > On 21/02/16 19:49, François Patte wrote: > >> -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 > >> > >> 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 > >>
What do you get without the fancy stuff? > >
ffmpeg -i Input.flac Output.mp3 > > Same answer...: Encoder (codec none) not found for
output stream #0:0 > >
If you run ffmpeg -codecs do you see....
DEA..S flac FLAC (Free Lossless Audio Codec) DEA.L. mp3 MP3 (MPEG audio layer 3) (decoders: mp3 mp3float ) (encoders: libmp3lame )
in the output?
Thanks for this help! I could see that, in fact, my ffmpeg went from a previous install in /opt/bin ! And following the default PATH, this one had a precedence on the one in /usr/bin
Thank you.
- -- François Patte UFR de mathématiques et informatique Laboratoire CNRS MAP5, UMR 8145 Université Paris Descartes 45, rue des Saints Pères F-75270 Paris Cedex 06 Tél. +33 (0)1 8394 5849 http://www.math-info.univ-paris5.fr/~patte
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@alldigital.com - - AIM/Skype: therps2 ICQ: 226437340 Yahoo: origrps2 - - - - LOOK OUT!!! BEHIND YOU!!! - ----------------------------------------------------------------------