FFmpeg is a complete, cross-platform solution to record, convert and stream audio and video. It includes libavcodec - the leading audio/video codec library and the ffmpeg command line program for transcoding multimedia files.
1. Extracting a clip from a longer video( -ss for start time , -t for end time and -sameq for same quality)
2. Merge audio and video
3. Convert a file from one format to another- Install ffmpeg in Ubuntu : "sudo apt-get install ffmpeg"
1. Extracting a clip from a longer video( -ss for start time , -t for end time and -sameq for same quality)
- "ffmpeg -ss 00:06:09 -t 00:00:15 -i infile.avi -sameq outfile.avi"
2. Merge audio and video
- "ffmpeg -i input.mp3 -i input.avi -sameq output.avi"
- "ffmpeg -i input.mp4 -vcodec copy -acodec copy output.mpg"
- "ffmpeg -i inputfile.avi -s 320x240 outputfile.avi"
- "ffmpeg -i inputfile.avi -croptop 88 -cropbottom 88 -cropleft 360 -cropright 360 outputfile.avi"
6. Extract (save) all Frames of a videos ( "-r"= rate (fps) )
- "ffmpeg -i inputfile.avi -r 1 image-%3d.jpeg"
7. Extract audio from a video ( -b = bit rate)
- "ffmpeg -i inputfile.avi -b 128k out.mp3"
Enjoy !!!!
I used this before...very useful...
ReplyDeletethanks mate
ReplyDeletethanks sir for this, please tell me more command like merge two or more videos from any path
ReplyDeleteI really appreciate this journal and that i can positive promote this journal to others in my circle.
ReplyDeleteMp3skull UK proxy
Nice post! This is a very nice blog that I will definitively come back to more times this year! Thanks for informative post
ReplyDelete