VLC and gomP not have problem to play all clips. this is very strange, and this only with PP. some play correctly at first shot, other i need to repeat play several times to get correct video play. FAQ - How to concatenate MP4 files with FFmpeg First of all, to merge two files, you will need to make a list. I have already tried to change the internal codec parameters, using its Opencodec FFmpeg64 or internal LAV filters but in the end I don't see results.Īll my clips is mp4 format. but if i insist several times it works! same clips with VLC or gomplayer have no problems, but I find these 2 players always with some flaws and therefore prefer PP, but this has problems in playback. Answer 1 From the documentation of ffmpeg concat it looks like itll read through the entire list of files in the txt file and concatenate them into a single file. Concattenating a list of videos from the same source (same format and codecs) can be done fast with the concat demuxer without needing to reencode them. There are three methods I have found thus far: Using the concat demuxer approach. (see point 2)Ģ) i like potplayer but some clip do not play. ago Try this: (for i in (.mp4) do echo file 'i') > concat.txt ffmpeg -f concat -i concat.txt -c copy video.mp4 If you separate the videos (in folders) you want to concat for these outputs it's probably what you want level 2 Op 3 yr. How to combine videos together with ffmpeg. but I have too many files and this job is not worth itįor this reason maybe i just need to see them in the player, but. ffmpeg -ss 60 -i input -t 5 -codec copy clip1.mkv ffmpeg -ss 120 -i input -t 5 -codec copy clip2.mkv echo 'file 'clip1.mkv'' > concat.txt echo 'file 'clip2.mkv. so I should make an initial selection to put in clip groups with the same settings. Another method is to to create the segments individually and stream copy them instead of re-encoding (to save time and quality), and join them with the concat demuxer. i can add "file" to each clip video.īut also this is not problem: with np++ it's easy add "file" entries.ġ) ffmpeg meets mistakes to generate a final video file because the clips don't have the same resolution and maybe not even the same video codec. but no problem: i use XY as file manager, and with this select all files and copy name into clipboard.īut with ffmpeg only file name it's not enough.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |