Export audio from video file
There are some times that all of us had a live consert of a band on .avi format and we ‘d like to export a song from that
here is the way to to that
1) mplayer -dumpaudio AVI_FILE_NAME.avi -dumpfile MP3_FILE_NAME.mp3
Now we have the whole audio data from our video on MP3_FILE_NAME.mp3
Now using mp3splt we can isolate only the part we want like this
2)mp3splt MP3_FILE_NAME 10.23 11.24
10.23 =minutes.seconds
If the part we want to cut stars on 1:25:12 we well write is as : 85:12
Now a new file with the name MP3_FILE_NAME_1030_11_24.mp3 created with the audio part we wanted
Mymencoder script
I wrote a bash script for adding subtitles on avi files
The script uses xvid encoder
I d like to share it with you . Hope you use it ;)
Usage:
Markos Chandras
Version 0.1
Simple mencoder script
This script uses mencoder to add subtitles on .avi files. The script uses xvid. Use the following command to encode your files
Usage: ./mymencoder subtitlesfile bitrate outputfilename inputfilename
Download: Mymencoder











