How to extract Opus audio from MKV file

To extract the opus audio from mkv file, open a terminal window and enter the following command:

$ ffmpeg -i Attention.mkv -acodec copy -vn audio.opus <enter>

. . . → Read More: How to extract Opus audio from MKV file

How to find out the audio stream using ffmpeg in .mkv file

To find out the audio stream in the .mkv file using ffmpeg, open a terminal window and enter the following command:

$ ffmpeg -i aaa.mkv <enter>

Where did ffmpeg on Ubuntu 14.04 LTS go? Use avconv instead

ffmpeg was replaced by libav on the new Ubuntu package list. It is similar, though. ffmpeg -> avconv ffplay -> avplay ffserver -> avserver

You can still convert media files using avconv in place of ffmpeg.

To install avconv, open a terminal window and type following commands: $ sudo apt-get install libav-tools <enter>

. . . → Read More: Where did ffmpeg on Ubuntu 14.04 LTS go? Use avconv instead

Extract the audio from an MP4 video file using avconv

At times, we would like to extract the audio from an MP4 video file. To do this in Linux, open a terminal window in Ubuntu and use the utility called avconv as follows: $ avconv -i MyVideoFile.mp4 -vn -acodec copy MyAudioFile.aac <enter>

where, MyVideoFile.mp4 is your mp4 video file. You can then listen to the . . . → Read More: Extract the audio from an MP4 video file using avconv

Convert webm format video to mp4

At times, video files are encoded in a webm format. The webm format was introduced sometime in 2010 enabling support to embed it within HTML 5 files.

If you want to convert video from the webm format to mp4, you can use ffmpeg as follows: $ ffmpeg -i video.webm video.mp4

Add audio to AVI file using ffmpeg

Use command below to add audio file to a video file using ffmpeg: $ ffmpeg -i file.avi -i all.mp3 -sameq filewithaudio.avi <enter>

July 2019
M T W T F S S
« Jun    
1234567
891011121314
15161718192021
22232425262728
293031