Page 1 of 1

Basics - transcoding flac to mp3 in V 2.0.1

Posted: 13 May 2012 18:54
by ady_p_uk
I recently downloaded Videolan 2.0.1 for Windows to convert some flac files to mp3.

It's been a while since I last used it, so I would have been using version 1.x.x, where I remember having to install a nullsoft codec in the preferences menu and also to select mp3 output. 2.0.1 is totally different and the current wiki guide for transcoding..

http://wiki.videolan.org/Transcode#Tran ... the_Wizard
http://www.videolan.org/doc/streaming-h ... /ch02.html which shows the sequence for an earlier version with <File>, <Wizard> options in the drop down menu - rather than <Media>, <Convert/Save>??

Anyway, here is the process I have been using ..

<Media>
<Convert/Save>
<File>
<Add> (specify source filename.flac via browse function)
<Convert/Save>
<Convert>
<Browse> (specify / create destination file.mp3)

oddly at this point the only extensions available are .ps, .ts, .mpg, .ogg, ,mp4 & .mov

<Profile> MP3 audio selected from drop down
<Start>

VLC then appears to be processing the conversion, with a blue progress bar and a time scroll at the bottom of the player, yet when I check the .mp3 output file it reads 0 bytes. I've tried the same using .mp4 format too

Am I missing some transcoder add-ons which I need to install?

I remember this being the case for the older version I was using in early 2011.

I even tried to run it using the command line function in WIN XP via <Start>, <Run>, <Cmd> and it threw a wobbler at C:\Program Files bit

Confused

Any pointers would be most appreciated.

Re: Basics - transcoding flac to mp3 in V 2.0.1

Posted: 13 May 2012 21:05
by bat999

I even tried to run it using the command line function in WIN XP via <Start>, <Run>, <Cmd> and it threw a wobbler at C:\Program Files bit

Confused

Any pointers would be most appreciated.
Hi
I've just tested this with Windows XP and VLC version 2.0.1
With command line....

Code: Select all

"C:\Program Files\VideoLAN\VLC\vlc.exe" filename.flac --sout="#transcode{vcodec=none,acodec=mp3,ab=128,channels=2,samplerate=44100}:std{access=file,mux=raw,dst='C:\filename1.mp3'}" vlc://quit
It gives an mp3 file, size 0KB. :(

Also tested it with a wav file...

Code: Select all

"C:\Program Files\VideoLAN\VLC\vlc.exe" filename.wav --sout="#transcode{vcodec=none,acodec=mp3,ab=128,channels=2,samplerate=44100}:std{access=file,mux=raw,dst='C:\filename2.mp3'}" vlc://quit
This works OK. :D

Same results with Ubuntu and VLC version 2.1.0-git Rincewind (revision 1.3.0-git-2068-gb1b423c) :(

So it looks as though there's a bug when converting flac files.
8)
Probably same as this here ---> viewtopic.php?f=13&t=99204
And this here ---> viewtopic.php?f=14&t=83023

Re: Basics - transcoding flac to mp3 in V 2.0.1

Posted: 14 May 2012 10:21
by Jean-Baptiste Kempf
What are the FLAC samplerates please?

Re: Basics - transcoding flac to mp3 in V 2.0.1

Posted: 14 May 2012 12:23
by bat999
What are the FLAC samplerates please?
Hi j-b
The flac file that I used in the post above is this:-

Code: Select all

Audio Format : FLAC Format/Info : Free Lossless Audio Codec Duration : 1mn 0s Bit rate mode : Variable Bit rate : 880 Kbps Channel(s) : 2 channels Sampling rate : 44.1 KHz Bit depth : 16 bits Stream size : 6.34 MiB (100%) Writing library : Lavf54.2.100
It's (probably) the same file that I used with the original tests for trac ticket 6400.

Re: Basics - transcoding flac to mp3 in V 2.0.1

Posted: 20 May 2012 21:28
by TigerRag
Any update on this?
T

Re: Basics - transcoding flac to mp3 in V 2.0.1

Posted: 21 May 2012 19:11
by Jean-Baptiste Kempf
There is a bug created, I think.

Re: Basics - transcoding flac to mp3 in V 2.0.1

Posted: 21 May 2012 20:49
by TigerRag
sorry i don't understand :?

Re: Basics - transcoding flac to mp3 in V 2.0.1

Posted: 06 Aug 2012 13:43
by luke823
Is there any update on this?

Transcoding audio to mp3 works for all formats except flac. With flac it just exits immediately with no obvious error in the log. Thanks.

Re: Basics - transcoding flac to mp3 in V 2.0.1

Posted: 06 Aug 2012 18:11
by Jean-Baptiste Kempf
Yes, the bug is fixed in 2.1.0-git