3/5/2023 0 Comments Ffmpeg filter trim![]() ![]() Is there a way to process subtitle streams in a similar way so that the subtitles will match the other, trimmed streams? I'm looking for something that'll work from the command line to be part of a non-interactive batch process. Trim=start=10:end=20,setpts=PTS-STARTPTS \Ītrim=start=10:end=20,asetpts=PTS-STARTPTS \ As a simple example, consider this, which takes an input file with a video stream and an audio stream and produces a 20-second output that includes timestamps 00:10-00:20 and 00:30-00:40 of the input: ffmpeg -i in.mkv \ I'm using ffmpeg filtergraphs to extract and concatenate chunks of videos. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |