You are not logged in.

#1 2013-02-25 02:56:02

KerrickStaley
Member
Registered: 2011-01-26
Posts: 32

VLC: Cannot convert MP3 file

When I try to convert an OGG or FLAC file to MP3 in VLC, I get the following terminal output:

$ vlc
VLC media player 2.0.5 Twoflower (revision 2.0.5-0-g1661b7d)
[0x2206108] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[0x7f31080052c8] mux_dummy mux: Open
[0x7f31080031d8] stream_out_transcode stream out error: cannot find audio encoder (module:any fourcc:mp3 ). Take a look few lines earlier to see possible reason.
[0x7f31080031d8] stream_out_transcode stream out error: cannot create audio chain
[0x7f3108c218f8] main decoder error: cannot create packetizer output (vorb)

I'm not sure what the issue is; I've tried installing all of VLC's optdeps. I can successfully play MP3 files as well as convert files to OGG.

Here are the steps I took in the GUI:
1. Launch VLC and go to Media -> Convert/Save
2. Click "Add" and chose a .ogg or .flac file
3. Click "Convert / Save"
4. Choose an output file and choose "Audio - MP3" under "Profile", then click "Start"

Offline

#2 2013-03-14 10:08:53

airmaverick
Member
Registered: 2013-03-14
Posts: 1

Re: VLC: Cannot convert MP3 file

Have you tried the running the conversion directly from  the terminal

 vlc -I dummy ~/test.flac ":sout=#transcode{acodec=mpga,ab=192}:std{dst=output.mp3,access=file}" vlc://quit

Where "~/test.flac" is the name and location of the flac file you wish to convert.

I was of the understanding that vlc used ffmpeg as a dependency.
Can you please try the following in terminal as an alternative

ffmpeg -i ~/test.flac ~/test.mp3

Where "~/test.flac" is the name and location of the flac you wish to convert and "~/test.mp3" is the name and location where you would like the mp3 saved. Please post any errors.


If this does not work you can run in terminal:

vlc -vv

Then from the GUI try to convert as normal. The terminal will display all commands and output that you can pastebin to assist in review.

Additionally, can you please confirm your version of ffmpeg.

Offline

Board footer

Powered by FluxBB