how to convert mp3s to wav or other files...

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
alton
New Cone
New Cone
Posts: 1
Joined: 30 Mar 2010 22:19

how to convert mp3s to wav or other files...

Postby alton » 30 Mar 2010 22:30

Hi Friends,

I am a complete newbie to this site. I have, I think, a simple question. I am working in Garage Band on a Mac and would like to send files to other musicians. I can send them MP3s but some prefer wav files. Can VLC convert MP3s to wav or other audio formats? How is it done? Is there a great difference in sound quality, file size between MP3s and other formats? Any other tips about converting files would be helpful. Thanks in advance for your help.


Best,

alton

Arite
Big Cone-huna
Big Cone-huna
Posts: 2478
Joined: 26 Jun 2007 20:40
VLC version: 3.0.20
Operating System: Debian Testing|Win10

Re: how to convert mp3s to wav or other files...

Postby Arite » 31 Mar 2010 03:24

VLC can transcode to other formats. It isn't necessarily the best transcoder though since e.g. the output file length can be slightly different (by a few milliseconds so not much difference :P) - i.e. not bit-for-bit identical.

MP3 is a lossy audio compression algorithm. WAV is uncompressed audio. Trancoding from a lossy format to another lossy format isn't recommended as you lose quality by doing that.

If you want to convert e.g. a MP3 file to a WAV file in VLC try the commandline:

Code: Select all

vlc --sout "#transcode{acodec=s16l,channels=2,samplerate=44100}:std{access=file,mux=wav,dst=OUTPUT}" INPUT
Where INPUT is your source file, and OUTPUT is you destination (e.g. "/home/username/output.wav" for a *nix based system).

The input can be any audio format that VLC can play.

If you wanted to e.g. convert to AAC (MP4 container):

Code: Select all

vlc --sout "#transcode{acodec=mp4a,ab=128,channels=2,samplerate=44100}:std{access=file,mux=mp4,dst=OUTPUT}" INPUT
Where INPUT is your input file and OUTPUT is your destination (so, as above but with a different extension, e.g. ""/home/username/output.mp4").

The bitrate in the example above is 128kbps - can be changed (to e.g. 160, 192, 256, 320 etc.). Also the sample rate can be changed (to e.g. 48000Hz).

Cheers, Arite.
Don't use PMs for support questions.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: how to convert mp3s to wav or other files...

Postby Jean-Baptiste Kempf » 06 Apr 2010 15:07

Maybe our wiki sucks for that part.
Arite, could you add this to our streaming howto? (A new page, I would say)
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Arite
Big Cone-huna
Big Cone-huna
Posts: 2478
Joined: 26 Jun 2007 20:40
VLC version: 3.0.20
Operating System: Debian Testing|Win10

Re: how to convert mp3s to wav or other files...

Postby Arite » 06 Apr 2010 19:36

Sure, I have made a new page called "Streaming HowTo New" in the Documentation namespace:
http://wiki.videolan.org/Documentation: ... _HowTo_New

I thought a whole new page was better than adding a subpage to the old Streaming HowTo to avoid mixing old/new content. There is already an article on transcoding (here), although that is slightly outdated too and focuses on using the commandline. So I thought I'd write a fresh description of transcoding using the GUI and commandline using VLC 1.0.x (and later).

Cheers, Arite.
Don't use PMs for support questions.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: how to convert mp3s to wav or other files...

Postby Jean-Baptiste Kempf » 07 Apr 2010 01:08

Well, the old streaming howto is missing a page for convertion, so I believe you should add this streaming howto in the TOC.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Arite
Big Cone-huna
Big Cone-huna
Posts: 2478
Joined: 26 Jun 2007 20:40
VLC version: 3.0.20
Operating System: Debian Testing|Win10

Re: how to convert mp3s to wav or other files...

Postby Arite » 07 Apr 2010 01:35

OK, well I could move the article to be a Streaming HowTo subpage? I have added links to it in the Streaming HowTo TOC and main Streaming HowTo page (called "Convert files to other formats".

Arite.
Don't use PMs for support questions.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 27 guests