To edit video and audio files in ffmpeg, below are some commands. Open a terminal window and try them out. These are very useful when creating training videos. Extract mp3 audio from mp4 file$ ffmpeg -i video.mp4 -vn -ab 256k -ar 48000 -y audio.mp3 <enter> Split from 7 seconds to end$ ffmpeg -i audio.mp3 -ss … Continue reading ffmpeg audio file editing commands
Tag: audio
How to fix Samsung M51 microphone sound not audible to other party in the call on dialing
This is a peculiar problem with the Samsung M51. It appears to be a software issue related to some settings in the Phone app. When calling others using the handset, they cannot hear me the first time. I disconnect and call them up again, and they can hear me very well. Also, when they call … Continue reading How to fix Samsung M51 microphone sound not audible to other party in the call on dialing
How to check the audio type in a video file
To check the type of audio stream in a video file on Linux, open a terminal use ffprobe. $ ffprobe aaa.avi <enter> This lists out the properties of audio file.
How to fix tinny sound from Dell Inspiron 5000 series laptop speakers in Linux Mint 20 or Ubuntu 20.04 LTS
Linux Mint 20, Xubuntu or Ubuntu 20.04 LTS runs well on the Dell laptop. But, the recent upgrade to Linux Mint 20 or Ubuntu 20.04 LTS caused an issue of tinny sound from the the speakers. After trying several changes, I tried this below, and at least, using the pulseaudio equalizer, managed to make the … Continue reading How to fix tinny sound from Dell Inspiron 5000 series laptop speakers in Linux Mint 20 or Ubuntu 20.04 LTS
How to fix crackling distorted sound from speakers in Linux Mint 20 XFCE
The computer speakers crackle and give distorted sound at high volumes in Linux Mint 20 XFCE. To overcome this, open a terminal window and enter the following commands: $ alsamixer <enter>Use the right arrow key to locate the option for Auto-Mute. It will show enabled. Change it to disabled by pressing the down arrow key … Continue reading How to fix crackling distorted sound from speakers in Linux Mint 20 XFCE
Enable login sound in Linux Mint on the XFCE desktop environment
It is strange that Linux Mint has such great sound effects in Cinnamon and they can all be heard, but they do not work on the Linux Mint XFCE desktop. Fret not. The effects are there, but the sounds have to be enabled. This applies to the XFCE desktop in any Linux distribution. To enable … Continue reading Enable login sound in Linux Mint on the XFCE desktop environment
Extract audio stream from a video file using ffmpeg
To extract the audio stream from a video file using ffmpeg, open a terminal window and enter the following command: $ ffmpeg -i file.avi -vn -ab 256k -ar 48000 -y file.mp3 <enter> Note that the values 256 and 48000 in the above example can be changed per convenience.
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>
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>
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 MyAudioFile.aac … Continue reading Extract the audio from an MP4 video file using avconv