Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is there a command line tool for Windows 7 or Linux that given an m3u file, converts each file into one long file in a given format?

I have looked at avconv but it seems like it does not have this option. All files are wave audio file

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

The easiest way to do this is to take a player that can output to stdout and then have sox read from stdin and convert appropriately.

mpg321 -s -@ playlist.m3u | sox -t raw -r 44.1k -e signed -b 16 -c 2 - output.mp3
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.