Merging audio files with VLC
To merge the (audio) contents of a play list into a single mp3 file you can use VLC as follows:
vlc <INFILES> --sout "#transcode{acodec=mp3,ab=<BITRATE>,channels=2}:std{access=file,mux=raw,dst=<OUTFILE>}" --sout-keep
For example if we have a playlist called playlist.m3u and we want to create a 192kbit mp3 called merged.mp3 we do so as follows:
vlc playlist.m3u --sout "#transcode{acodec=mp3,ab=192,channels=2}:std{access=file,mux=raw,dst=merged.mp3}" --sout-keep
This method re-encodes the audio. This method is slow, and lossy (mostly noticeable when using low bitrates), but the resulting mp3 file is properly playable in most media players. There are ways to merge mp3s without re-encoding, but the duration of the files can often not be properly detected by most players.
Based on: Decentralized Streaming
1 Comment to Merging audio files with VLC
Leave a Reply
Actions
Blogroll
- BitRock Installation Packager
- Cucumber Behavior Driven Testing for Ruby
- Development Blog
- Documentation
- Lighttpd SSL Howto
- Linux Desktop Testing Project
- MuseScore
- Plugins
- RabbitVCS: a more generic version of TortoiseSVN for Linux
- Suggest Ideas
- Support Forum
- Themes
- VIM tutorial screencasts
- WordPress Planet
Music
Simulink-like systems
Categories
Archives
- April 2013
- November 2012
- October 2012
- June 2012
- May 2012
- April 2012
- March 2012
- February 2012
- January 2012
- December 2011
- September 2011
- August 2011
- June 2011
- May 2011
- April 2011
- March 2011
- February 2011
- January 2011
- December 2010
- July 2010
- June 2010
- May 2010
- April 2010
- March 2010
- January 2010
- December 2009
- November 2009
- September 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
I really like what you guys tend to be up too.
This type of clever work and reporting! Keep up the amazing works
guys I’ve you guys to our blogroll.