News:

--

Main Menu

Script for batch trimming (mp4)

Started by moses4sho, June 11, 2017, 05:46:34 PM

Previous topic - Next topic

moses4sho

[Dr. Nick Voice] Hi Everybody!

So this post: http://avidemux.org/smif/index.php/topic,10280.msg55284.html#msg55284
is very similar to what I'm going for, however, when I attempted [months ago] I couldn't get it to work.

I'm probably missing a few of the basics to kick this off, is there documentation/videos to get me started?

Also, I'm mostly taking mp4 or m4v, then outputting with the mp4v2 muxer
Additionally, I'm usually taking the same content off the front (e.g., 60 sec) and the back (e.g., 90 sec) for each file, but the overall length can vary a lot. Any way to use time instead of frames? Looking to crop a consistent bookended amounts of time for all files in a folder.

Thank you in advance!

(PS I'm using Windows machines, either win7x64 or win10x64)

eumagga0x2a

I'm afraid there is no better documentation than the source code ATM.

If you just trim and don't reencode, the cuts (more precise: the first frame of each segment) must be on keyframes. At the first glance there are no automation commands to navigate to keyframes.

QuoteAny way to use time instead of frames?

You can't use frames, only precise time.