ffmpeg로 동영상을 합치는 방법

코덱 설정하면 하나로 합칠순 있겠지만.. 단일 파일별로 특정 시간 영역을 자르긴 무리일려나?


16. Joining multiple video parts into one

FFmpeg will also join the multiple video parts and create a single video file.

Create join.txt file that contains the exact paths of the files that you want to join. All files should be same format (same codec). The path name of all files should be mentioned one by one like below.

/home/sk/myvideos/part1.mp4

/home/sk/myvideos/part2.mp4

/home/sk/myvideos/part3.mp4

/home/sk/myvideos/part4.mp4

Now, join all files using command:


$ ffmpeg -f concat -i join.txt -c copy output.mp4 


[링크 : https://www.ostechnix.com/20-ffmpeg-commands-beginners/]

'프로그램 사용 > ffmpeg & ffserver' 카테고리의 다른 글

ffmpeg 레이턴시 관련 옵션 조사  (0) 2018.12.16
ffmpeg / ffplay cli interactive interface  (0) 2018.11.30
ffmpeg concat  (0) 2018.10.10
ffmpeg huffyuv  (0) 2017.02.28
ffmpeg으로 컨테이너 변경하기  (0) 2016.12.01
Posted by 구차니