How to best extract sound from a video using FFmpeg.
How to use FFmpeg to rip the audio from a video file very easily.
Read MoreHow to use FFmpeg to rip the audio from a video file very easily.
Read MoreTo merge a Video file and an audio file, only FFmpeg is required. I needed the audio from one other video, I ripped it like this. ffmpeg -i Online-1.mp4 -vn -acodec copy output-audio.aacffmpeg -i Online-1.mp4 -vn -acodec copy output-audio.aac Then I could use this command to merge the aac audio…
Read MoreCreating a very nice spectrum display of an audio file is very simple to do. The FFmpeg utility is the best way to generate such a useful audio waveform demonstration. This command will generate a 2560×1080 resolution waveform display of the file underground_01.ogg ffplay -f lavfi ‘amovie=undergrnd_01.ogg, asplit [a][out1]; [a]…
Read MoreSaving a Youtube video as audio and not video is very easy. This command below will save Youtube audio as an MP3 file. You need youtube-dl as well. Then select a Youtube video and use this one-liner to download it as an MP3 audio file. jason@jason-Lenovo-H50-55:~/Videos$ youtube-dl -f 140 https://www.youtube.com/watch?v=neEXAoYfcRo…
Read MoreThis nice command allows streaming some nice ambient drone music in the terminal with MPV. Very nice to listen to while doing other things. mpv http://ice.somafm.com/dronezone | sed -n "s/ icy-title: \(.*\)/\x1b[38;5;242m$(date +%T)\x1b[m | \1/p"mpv http://ice.somafm.com/dronezone | sed -n "s/ icy-title: \(.*\)/\x1b[38;5;242m$(date +%T)\x1b[m | \1/p" Play a Youtube video audio…
Read MoreI have a few audio files that are split into left and right audio tracks. I needed to merge them into stereo files, and I have found out how to do this. The sox sound utility for Linux can perform this task admirably. Here I have a music file and…
Read MoreUse the Linux command line to query a movie file for metadata with this very useful utility. This gives the user a lot of very useful information about a file. Install this useful utility. 4.4 Mon Dec 10 jason@Yog-Sothoth 0: $ sudo apt-get install mediainfo4.4 Mon Dec 10 jason@Yog-Sothoth 0:…
Read MoreThis post will show how easy it is to rip the audio from a video file and save it to a wav file. This works very well and is a good way to make an OGG Vorbis file from a Youtube video the user has downloaded. Use this long command…
Read MoreThis post will show how to rip the audio from a video file to a wav and then convert that to an ogg file. This is very simple and easy to do. This long command will rip the audio from the file and save it in the out.wav file. localhost%…
Read MoreThis is the command I just used to rip the audio from a movie and save it as a wav file. Then the lame command is used to encode the wav into an mp3 file. john@adeptus-mechanicus ~/Music $ mplayer -ao pcm:fast:file=out.wav -vo null -vc null video.mp4 && lame -h -b…
Read More