What it sounds like is: your ffmpeg command is actually triggering a decode of the source material, which also results in an encode of the final material. Concatenation should be exceptionally fast, likely limited only by disk read/write speed. However the output.mp4 file contains no chapter markers according to mediainfo and there's nothing viewable in any media player. It sounds like you aren't concatenating the files together. If you want to get the ultimate output file how you desire, its more significant to have the input files ready very accurately. Which contain the following chapter/menu data (output cut down for brevity):Īnd I'm using the following ffmpeg command:įfmpeg -f concat -safe 0 -i streams.txt -map_metadata 0 -map_chapters 0 -c copy output.mp4 Do you know how I can do that I thought its a trivial thing to do. As I know mp4box has a limit of 20 files for -cat operations. This allows you to produce a video that maintains the encode of the unmodified. I suppose ffmpeg has a bug in concat function, it adds jitter. Allows you to concatenate all the files from the list to one output. I'm concatenating the following two files from streams.txt: There is no reason for VFR when concatenating CFR with stream copy. The source files contain chapter markers according to mediainfo which I want to be maintained in the output, but when using the -map_chapters option in ffmpeg they don't appear in the output file. I'm trying to concatenate two MP4 files using the concat demuxer and want to retain the chapter markers that exist in both files so that the output file contains all the chapters from both of my input files. You can select the output format of each frame with ffmpeg by specifying the audio and video codec and format.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |