June 12, 2014

Convert MP4 to MP3 on Ubuntu 14.04 Trusty

There is a program available on Ubuntu youtube-dl, that can download videos from youtube.com or other video platforms. But it stores the file in mp4, since it contains video. But sometimes you do not want the video and only the audio. To extract only the audio part, you can use the pacpl comamnd line tool.

pacpl --to mp3 -v -r- -bitrate 320 targetfile.mp4

No comments: