Soft Serve Direct
ROGER DAVIES MAGRATH, AB CANADA
  • Home
    • Twitter
    • Twitter Feed
  • inMagrath152
  • News
    • MagrathOpen Wifi
    • Pharmacy
  • Contact Us
    • Map
    • Phone
  • Search
  • Favorites
    • Magrath Chamber of Commerce
    • Magrath Lions Club
    • Magrath Museum

Convert MP4 to MP3 on Ubuntu

24/6/2015

0 Comments

 
I keep having to look this kind of thing up, so I think it is better to repost the how-we-did-it's ..
From time to time I find it useful to extract audio (MP3 format) from a video (MP4). My camera takes pretty good video, but a recent how-to video project involved editing several videos, pictures and audio together to make sense of all my ramblings.

In this case, I had video with audio I wanted to use and vice versa and wanted to mix them together .. into a final version video using another program called the  Openshot Video Editor.
my source >> http://magnus-k-karlsson.blogspot.ca/2014/06/convert-mp4-to-mp3-on-ubuntu-1404-trusty.html who posted this quick tip: 
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
The pacpl program was not installed on my system, as verified by opening a terminal window and typing pacpl .. to which it responded: ..oops, that program is not installed .. try 'sudo apt-get install pacpl' it helpfully suggested .. which I did and it proceeded to install a wonderful long list of utilities re sound and video conversions. Thereafter I was able to use the pacpl command line tool as described by Mr Karlsson above to extract just the audio from most of my video files.

Had I checked, this program was already listed in the Ubuntu Software Center so I could have just searched for it and installed it from there just as I did for the Openshot Video Editor program.
0 Comments

Your comment will be posted after it is approved.


Leave a Reply.

    Author

    Roger Davies of ssdirect.com

    Archives

    May 2023
    April 2023
    March 2023
    January 2022
    March 2020
    January 2020
    December 2019
    November 2019
    April 2019
    March 2019
    January 2019
    September 2018
    April 2018
    January 2018
    July 2017
    October 2016
    September 2016
    December 2015
    October 2015
    September 2015
    June 2015
    May 2015
    December 2014
    November 2014
    October 2014
    May 2014
    April 2014
    March 2014
    October 2013
    April 2013
    March 2013
    February 2013
    June 2012
    May 2012
    April 2012
    February 2012
    January 2012
    November 2011
    October 2011
    May 2011
    April 2011
    March 2011
    February 2011
    November 2010
    September 2009
    November 2008
    February 2007

    Categories

    All
    Accounting
    Email
    Family Safe
    Hardware
    Internet
    Linux
    Software
    Wifi

    RSS Feed

Powered by Create your own unique website with customizable templates.