Avidemux is great for simple video editing jobs. I often use it to extract clips from longer videos while retaining their native encoding, or to convert videos from one format to another.
Today I learned something really useful and wanted to write up a post about it.
Batch processing multiple videos
Step 1. Get one video exported the way you want it, then save the settings as a
Project file (File > Project script > Save as project).
Step 2. Edit the
.py file and remove the following lines that are specific to the source video:
adm.loadVideo adm.clearSegments adm.addSegment adm.markerA adm.markerB
Step 3. Write a bash script to process all the videos in your folder. The command you need to run on each video is:
avidemux3_cli --load [source-file.vob] --run [project-settings.py] --save [output-file.mkv] --quit