Skip to main content

Questions tagged [concatenation]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
18 views

How to concat videos and images with ffmpeg

I have videos and images. I want to concatenate them. And I want the images to be displayed for specific duration, say 10 seconds. If I first convert image to video and concate, it works ffmpeg -y -...
ARTEM DIACHUK's user avatar
0 votes
0 answers
11 views

How to concat several video clips with different property using ffmpeg

I want to concat several videos using ffmpeg. I have 1.mp4 2.mp4 3.mp4 files I used this command ffmpeg -y -i 1.mp4 -i 2.mp4 -i 3.mp4 -filter_complex "[0:v]trim=0:10,scale=1920:1080,setsar=1[v0];[...
ARTEM DIACHUK's user avatar
0 votes
0 answers
36 views

FFMpeg: how to split a video, process only parts and merge everything back together

I have a question. Do you think I could do the following with FFMpeg: split a long video in MP4 format into three parts alter only the first and the third part, reencode them into MP4 finally, merge ...
Celdor's user avatar
  • 105
0 votes
0 answers
35 views

How to stitch two videos side by side using ffmpeg?

I want to create a video that consists of same video encoded at 2 different quality levels, half of each stitched side by side. Basically, like this image, right half of the video is the right half of ...
angel_30's user avatar
  • 353
0 votes
1 answer
74 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
158 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
49 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
58 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
11 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
12 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
1 vote
1 answer
692 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
1 vote
1 answer
12k 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
  • 111
0 votes
0 answers
319 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
480 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
171 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
  • 239
0 votes
1 answer
126 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
212 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
420 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
496 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