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.
Tag: video
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 connect laptop to TV with HDMI in Xubuntu
Connect the HDMI cable - one end to PC and one end to laptop. Then switch on TV and select the Video Input as HDMIx where x is the HDMI port you have connected your laptop or computer to the TV. Select Settings Manager -> Display and you will see HDMI as one of the … Continue reading How to connect laptop to TV with HDMI in Xubuntu
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
Extract audio from DVD
There are 2 methods: # mplayer vcd://04 -cdrom-device /dev/sr0 -dumpaudio -dumpfile /tmp/track04.mp3 <enter> # transcode -i /dev/dvd -x dvd -T 1,-1 -a 0 -y wav -m track01.wav <enter> # bladeenc -256 -rawfreq=48000 track01.wav track01.mp3 <enter>
Concatenate multiple MP4 files using MP4Box in Linux
To concatenate 2 or more .mp4 files in Linux use MP4Box. Open a terminal window and enter the command below: $ MP4Box -add file1.mp4 -cat file2.mp4 output.mp4 <enter> If you cannot find MP4Box on your computer, open a terminal window and install it with: $ sudo apt-get install gpac <enter>
Create correct MP4 files for playback on Nokia E63
Download HandBrake from http://handbrake.fr/downloads.php Install it and use it to convert from AVI to MP4. Select IPOD from the list of options. Also, for best playback without stutter, reduce the bitrate for video to about 192 - 300. Audio has to be AAC with 128 kbits or less for better performance. In the H264 tab, … Continue reading Create correct MP4 files for playback on Nokia E63