Skip to main content

Timeline for ffmpeg to convert videos into one

Current License: CC BY-SA 3.0

11 events
when toggle format what by license comment
Aug 15, 2015 at 4:20 history edited llogan CC BY-SA 3.0
edited body
Aug 15, 2015 at 1:44 comment added xpt the n=2 is a typo and should be concat=n=3 right?
Aug 14, 2015 at 23:52 comment added llogan @xpt Added another input to the example to display how to concat 3 inputs (assuming each input has one video stream and one audio stream).
Aug 14, 2015 at 23:51 history edited llogan CC BY-SA 3.0
added another input as requested
Aug 14, 2015 at 14:31 comment added xpt ops, I just deleted my files since the your code worked so perfectly (and I didn't any notifications from SO). But anyway, I'm asking for generic syntax. Will explain in my updated OP.
Aug 13, 2015 at 1:50 comment added llogan @xpt Please provide a link to a pastebin site showing the complete output of ffmpeg -i input1 -i input2 -i input3
Aug 12, 2015 at 21:47 comment added xpt Perfect! I didn't look closely, :-) One more question, I'm still trying to figure out the exact syntax. Could you give another example that need to combine three files together? I got the part [0:0] [0:1] [1:0] [1:1] [2:0] [2:1], but moving onto the concat=n=... part I'm not sure there. Also, the wiki have more space, while yours have some extra ;. Neither of them matters right? THX!
Aug 12, 2015 at 21:07 vote accept xpt
Aug 11, 2015 at 21:38 comment added llogan @xpt My example command has the scale in it. You can do everything in one filtergraph, so no need for multiple -vf, -af, -filter, or -filter_complex.
Aug 11, 2015 at 21:17 comment added xpt What an amazing reply. Thanks. Alright, I was hoping to avoid the most complicated one if possible. OK. Hmm..., hold on, I got this while trying to use -vf scale=960:-2: -vf/-af/-filter and -filter_complex cannot be used together for the same stream. Is there any way to get what I want to do in one step (concat & scale down)? Else, would that means concating with demuxer is the only pre-prepare option now? Thx
Aug 11, 2015 at 18:31 history answered llogan CC BY-SA 3.0