ffmpeg -i input.mp4 -b 40k output.mp4
ffmpeg -i video.mp4 -i audio.m4a -c copy -map 0:v -map 1:a output.mp4
Above is preferred (fast without re-encoding)
ffmpeg -i video.mp4 -i audio.mp3 output.mp4
ffmpeg -t EE:EE:EE -i input.mp4 -ss SS:SS:SS output.mp4
E: end time S: start time
create file inputs.txt
near files that you want to merge, add following lines:
file '<file1-name>'
file '<file2-name>'
then use ffmpeg like so:
ffmpeg -f concat -i inputs.txt -c copy output.flv
Add
-safe 0
before-i
ifUnsafe file name
occurred!
ffmpeg -i filename.mp4 filename.mp3
ffmpeg -i input.flv -r 1 -f image2 export.jpeg