Fill these in once
- Cut a clip (from 1:00 to 2:30)
ffmpeg -ss 00:01:00 -to 00:02:30 -i video.mov -c copy clip.mp4-c copy is instant but cuts at the nearest keyframe. Leave it out for an exact cut.
- Convert to MP4
ffmpeg -i video.mov output.mp4 - Join videos: list them first
printf "file '%s'\n" part1.mp4 part2.mp4 > list.txt - Then join them
ffmpeg -f concat -safe 0 -i list.txt -c copy joined.mp4 - Convert every .mov in a folder to .mp4
for f in *.mov; do ffmpeg -i "$f" "${f%.mov}.mp4"; done
- Cut a clip (from 1:00 to 2:30)
ffmpeg -ss 00:01:00 -to 00:02:30 -i video.mov -c copy clip.mp4-c copy is instant but cuts at the nearest keyframe. Leave it out for an exact cut.
- Convert to MP4
ffmpeg -i video.mov output.mp4 - Join videos: list them first
printf "file '%s'\n" part1.mp4 part2.mp4 > list.txt - Then join them
ffmpeg -f concat -safe 0 -i list.txt -c copy joined.mp4 - Convert every .mov in a folder to .mp4
for f in *.mov; do ffmpeg -i "$f" "${f%.mov}.mp4"; done
- Cut a clip (from 1:00 to 2:30)
ffmpeg -ss 00:01:00 -to 00:02:30 -i video.mov -c copy clip.mp4-c copy is instant but cuts at the nearest keyframe. Leave it out for an exact cut.
- Convert to MP4
ffmpeg -i video.mov output.mp4 - Join videos: list them first
"file 'part1.mp4'", "file 'part2.mp4'" | Set-Content list.txt - Then join them
ffmpeg -f concat -safe 0 -i list.txt -c copy joined.mp4 - Convert every .mov in a folder to .mp4
Get-ChildItem *.mov | ForEach-Object { ffmpeg -i $_.Name ($_.BaseName + ".mp4") }