hello
is there any command in ffmpeg i want to join 2 different .mp4 video Resolution / Video - x264 @ KBPS videos
example
clip 1.mp4 is x264 @ 4500 KBPS and Resolution - 1280 x 720
and
clip2.mp4 is Video - x264 @ 1400 KBPS and Resolution - 704 x 400
can we still join them in 1 clip
both clip quality should remain same but video dont go out of sync
thanks
+ Reply to Thread
Results 1 to 7 of 7
-
-
It's possible to do that but most players will choke at the resolution change. First make a text file with a list of files to be concatenated:
list.txt:
Then run:Code:file 'clip1.mp4' file 'clip2.mp4'
TS is safest for the output.Code:ffmpeg.exe -y -safe 0 -f concat -i list.txt -c copy output.ts
-
Last edited by grabyea; 11th Oct 2021 at 07:43.
-
-
Does it really have to be "a single file"? Usually such stuff is done using playlists, e.g. m3u...
-
https://en.wikipedia.org/wiki/M3U
It's just a text file. It can have as little as name two videos (if in the same folder as the videos) or full paths to the two videos (if in a different folder than the videos).
video.m3u in same folder as the two videos:
orCode:video1.mp4 video2.mp4
video.m3u in a different folder:
Then you "play" the m3u file with a media player. Pretty much all players in Windows support this. The files don't have to have the same properties. They can be different frame sizes, frame rates, codecs, containers, etc. As long as the player can play the videos it will play them all. Playback may not be seamless though.Code:d:\videos\video1.mp4 d:\videos\video2.mp4
Similar Threads
-
[ffmpeg] Create picture-only video, and join it with a full video?
By yetanotherlogin in forum EditingReplies: 2Last Post: 9th Oct 2021, 04:40 -
Right way to join two different video files using ffmpeg?
By yetanotherlogin in forum EditingReplies: 15Last Post: 25th Jun 2021, 03:25 -
[C++] How to read progress from CMD prompts like FFMPEG's
By squadjot in forum ProgrammingReplies: 5Last Post: 12th Feb 2021, 07:49 -
Please help on my 2-pass (Windows) ffmpeg cmd (SOLVED)
By SameSelf in forum Video ConversionReplies: 2Last Post: 26th May 2017, 13:41 -
Can AviDemux cut and join multiple clips from a video ?
By Rhlsg in forum Newbie / General discussionsReplies: 3Last Post: 3rd May 2017, 05:16


Quote
