Hello,
I'd like to use Avidemux to extract (slice) sections of a file, and then join them into a single file.
Using the A/B buttons, Avidemux only supports selecting one part at a time, so slicing is a bit labor intensive.
Is there a way to...
1. Append the A/B settings to a file
2. Use this file as input to slice and re-encode the original file into a smaller file
?
Something like this:
#timestamps.txt
00:00:41.734 - 00:00:50.067
00:35:07.488 - 00:38:11.034
etc.
avidemux.exe -i timestamps.txt -i input.mp4 output.mp4
Thank you.
Don't think select what you need, think delete what you don't.
Thanks. I find it easier to select what I do want to keep.
I'll just use Avidemux to set the start/end markers, CTRL+T, append the infos to a text file, and run ffmpeg to slice and join.
Quote from: yetanotherlogin on April 18, 2020, 06:56:00 PM
I'll just use Avidemux to set the start/end markers, CTRL+T
Ctrl+Alt+C Shift+Alt+C copies the timestamp of the currently displayed frame to clipboard.
Quoteappend the infos to a text file, and run ffmpeg to slice and join.
Please don't forget that timestamps in Avidemux are different from timestamps in FFmpeg at least for videos which contain B-frames. Avidemux uses an unsigned value for time, so timestamps can't go negative. This forces Avidemux to delay all presentation timestamps for videos with B-frames while FFmpeg shifts decoding timestamps into negative while allowing presentation timestamps to start at zero time.