How can I cut a video into multiple parts and then join them together to make a new video with ffmpeg?
相关问题
- Countdown to the end of the HTML5 video
- Python function to read video and convert to frame
- Improving accuracy of Google Cloud Speech API
- Thumbnails from the Vimeo website harder than YouT
- Video Format that Works on Mobile Phones
相关文章
- Handling ffmpeg library interface change when upgr
- How to use a framework build of Python with Anacon
- How to create a MediaClip from RenderTargetBitmap
- Safari blocks play() on video despite being called
- Why MPMoviePlayerController fullscreen button icon
- c++ mp3 library [closed]
- Passing a native fd int to FFMPEG from openable UR
- FFmpeg - What does non monotonically increasing dt
You can use the concat demuxer.
#1 Create a text file
The inpoint/outpoint directives specify the trim in and out points in seconds for the file listed above them.
#2a Create the joint file
#2b Do the overlay together
External Audio stream with concat
You question is quiet general...
The following example may help you, but it might not solve your specific issues.
The example applies three stages:
Create synthetic video (with no audio):
(The created video is uncompressed).
Reference: https://trac.ffmpeg.org/wiki/FilteringGuide
Cut video into 3 parts (creating 3 video files):
Reference: https://superuser.com/questions/138331/using-ffmpeg-to-cut-up-video
Concatenate (merge) 3 parts in reverse order:
Note: for Linux use single quotes
'
Reference: Concatenate two mp4 files using ffmpeg
Synthetic video looks as the following image: