Questions tagged [concatenation]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
29 views

FFMPEG Concat Demuxer adds more time to output than expected

I am using ffmpeg concat demuxer to join multiple(189) videos together. The videos are originally split from a single video using the following command: ffmpeg -ss time[2] -vsync 1 -copyts -i ...
Shreyas's user avatar
1 vote
1 answer
47 views

ffmpeg error Input link parameters do not match the corresponding output link parameters

I need to concatenate n mp4 videos of different resolutions via ffmpeg. However, I am receiving an error despite the fact that in the filter_complex before performing the concat operation I scale all ...
Matteo Pasini's user avatar
0 votes
0 answers
20 views

ffmpeg - concatenate files while space constrained

Let's say i have a 2 TB drive. If i want to use ffmpeg to concatenate two files, they cannot be larger than 1 TB in total, otherwise I won't have enough storage space to save the output file. Is it ...
glodomorrapl's user avatar
0 votes
0 answers
32 views

How to concatenate two MP4 files, which require http basic Authorization: Bearer <base64,user:password>, using ffmpeg?

Hello dear ffmpeg experts! 🧠 🎯 I ran the following command, which worked perfectly: ffmpeg -protocol_whitelist https,concat,tls,tcp -i "concat:https://dash.akamaized.net/akamai/bbb_30fps/...
Jeff Strongman's user avatar
0 votes
0 answers
10 views

Converting updating series of images to video with different durations using ffmpeg

My program generates images with different frame durations. I want to generate a video of them using ffmpeg simultaneously while new images are generated I know how to generate a video using concat ...
HMD's user avatar
  • 101
0 votes
0 answers
10 views

Is there a way I can concatenate two of my YouTube videos from within YouTube?

My gimbal today went wrong while recording, and while fixing it, I accidentally pressed stop on my camera. Thus, I have two YouTube videos (1 and 2). If straightforward, I'd like to concatenate them ...
Rebecca J. Stones's user avatar
0 votes
0 answers
40 views

How to with single ffmpeg command (= single seek through the input file) cut into segments and concatenate some of them into several output files?

Starting with a single input video (with no audio), suppose I'm interested in time segments [a,b], [b,c], [d, e], [f,g], [h,i], ... where the letters are some timestamps. I am looking for an ffmpeg ...
Display Name's user avatar
1 vote
1 answer
500 views

Why does ffmpeg flip upside-down the video when concatenating with -f concat?

My text file list_of_fragments contains the list of video files to be concatenated. I assumed they have the same streams (shot from the same smartphone, with the same settings) file barbell-home.mp4 ...
John Smith's user avatar
0 votes
1 answer
9k views

"Non-monotonous DTS in output stream 0:0 This may result in incorrect timestamps in the output file." error

Adding all mp4 file in the directory with FFMPEG . my usual command: ffmpeg -f concat -safe 0 -i <(for f in ./*.mp4; do echo "file '$PWD/$f'"; done) -c copy output.mp4 This shows below ...
Shezan's user avatar
  • 101
0 votes
0 answers
272 views

Concat Demuxer playlist

So according to the docs located here https://trac.ffmpeg.org/wiki/Concatenate section: Changing playlist files on the fly it says you can do this: Now you can change the looping clip by a simple ...
hammer head down's user avatar
1 vote
0 answers
424 views

FFMPEG concat two video together but one plays back in a slower speed

I am trying to concatenate two videos using FFMPEG concat. The second video plays a slower speed and loses it's audio, but not only that, the time elapsed counter in the windows video player also ...
video487y43's user avatar
2 votes
1 answer
129 views

Concatenate H.264 raw but basic streams without reencoding or quality loss

How does one go about concatenating several H.264 raw streams into one without reencoding or quality loss? The streams lacked any advanced features and represented contuous recording. There is no ...
TAbdiukov's user avatar
  • 209
0 votes
1 answer
109 views

How to put a trailer clip in the middle of the main video with FFMPEG?

I have two videos of the same format encoded with the same codecs. I want trailer.mkv to be played after n minutes in the middle of main.mkv. After playing trailer.mkv, the rest of the main.mkv will ...
Nick's user avatar
  • 78
1 vote
1 answer
189 views

ffmpeg: concat without temp files?

Is it possible to concat without temp files using ffmpeg? eg; # nice ffmpeg -v error -f concat \ -ss "52.519" -copyts -to "53.153" -i in.mkv \ -ss "53.186" -copyts -...
user1133275's user avatar
0 votes
1 answer
370 views

Does ffmpeg concat demuxer update the position of the moov atom if present in each video file?

Years ago I asked this question on: stackoverflow about correct syntax using the ffmpeg Concat demuxer to join mp4 files together. One question I hadn't thought to ask at the time was, when joining ...
julesverne's user avatar
0 votes
0 answers
452 views

ffmpeg - concatenate files, BUT strip the last few frames from the end of each one

I am trying to find the best way to automatically concatenate a large number of files that have been recorded with an overlap within them. In the process of 'glueing' the video files together, to get ...
Tony Sepia's user avatar
1 vote
1 answer
4k views

How to concatenate MPEG-4 and AVC/h.264?

I would like to use ffmpeg, mencoder or still something free. I cannot concatenate two videos because of different video codecs: $ mkvmerge -o merged.mkv 1.mkv \+ 2.mp4 mkvmerge v19.0.0 ('Brave ...
R S's user avatar
  • 129