News:

--

Main Menu

append several files

Started by remigio, January 29, 2019, 12:13:07 PM

Previous topic - Next topic

remigio

Hi,
I'm new in using Avidemux.
I have to merge several video clips sotred in many separated directory, each of them contains at least 100 files.
I tried using the file/append command but it make me crazy and takes very long time  and lots of errors. Moreover I can't select all files and drop them into Avidemux.
Is there a simple way to append all files in a directory?
Thanks a lot and regards


eumagga0x2a

Quote from: remigio on January 29, 2019, 12:13:07 PM
Moreover I can't select all files and drop them into Avidemux.

Why not? This would be exactly the way to accomplish this task. Are filenames non-sequencial so that the order when appended is wrong?

BG Davis

From your answer, I infer that an entire folder could be appended with one action, but only if all files had sequential names or numbers, (and were all the same dimensions), regardless of file type (png, jpg, mp4, etc.).  Is this correct?

eumagga0x2a

The question is how the files are sorted and how the particular file manager or desktop environment handles ordering of files on a drag'n'drop operation. I am not sure how it would work in reality. Yes, you can append all videos in a folder in one go if they match, but will they be sorted correctly?

The file type doesn't matter as far as there is a demuxer for that and a decoder for the codec.

Obviously, if a picture should be appended to a video, the video may not have an audio track (the number and the properties of each audio track of all reference videos must perfectly match).

BG Davis


timaavid

Quote from: eumagga0x2a on January 29, 2019, 05:34:24 PM
Quote from: remigio on January 29, 2019, 12:13:07 PMMoreover I can't select all files and drop them into Avidemux.

Why not? This would be exactly the way to accomplish this task. Are filenames non-sequencial so that the order when appended is wrong?

When I try to drag many files in the same directory into Avidemux, they don't stay in order.
I have many files from a security camera. they are named like this:
2020-12-20--14-13-07.mp4
2020-12-20--14-35-14.mp4
2020-12-20--15-22-49.mp4
2020-12-20--18-53-56.mp4
2020-12-20--19-02-16.mp4
2020-12-20--19-07-09.mp4
2020-12-20--21-33-09.mp4
2020-12-20--21-41-27.mp4
2020-12-20--21-46-10.mp4
2020-12-20--21-51-10.mp4
2020-12-20--21-51-31.mp4
2020-12-20--21-52-11.mp4
2020-12-20--21-53-16.mp4
2020-12-20--21-53-57.mp4
2020-12-20--21-56-02.mp4
2020-12-20--21-58-39.mp4
2020-12-20--21-59-21.mp4
2020-12-20--21-59-58.mp4
2020-12-20--22-01-03.mp4
2020-12-20--22-02-02.mp4
2020-12-20--22-02-58.mp4
2020-12-20--22-05-44.mp4
2020-12-20--22-06-43.mp4
2020-12-20--22-07-12.mp4
2020-12-20--22-10-30.mp4
2020-12-20--22-23-25.mp4
2020-12-20--23-44-41.mp4
2020-12-20--23-56-32.mp4


However, Avidemux doesn't keep them in order when I drag them in. :(
I am using version 2.7.6



Urik

Quote from: timaavid on January 02, 2021, 06:53:15 AMHowever, Avidemux doesn't keep them in order when I drag them in. :(

Make sure before you start dragging your mouse cursor is positioned over the first file, it's how windows explorer behaves. Avidemux simply receives input files in order given by explorer.

timaavid

Quote from: Urik on January 02, 2021, 07:21:38 AM
Quote from: timaavid on January 02, 2021, 06:53:15 AMHowever, Avidemux doesn't keep them in order when I drag them in. :(

Make sure before you start dragging your mouse cursor is positioned over the first file, it's how windows explorer behaves. Avidemux simply receives input files in order given by explorer.

That worked on my 1st test. I will test some more. I have come across a few articles about this, but your reply was the first one I read that mentioned that I should have my mouse over the 1st file before executing the DRAG. Thanks a Ton.