[FFmpeg-user] ffmpeg tricks, timestamp-counter, slow motion, action camera

Morten W. Petersen morphex at gmail.com
Mon Aug 6 10:58:34 EEST 2018

Den man. 6. aug. 2018, 09.46 skrev Joel Roth <joelz at pobox.com>:

> Morten W. Petersen wrote:
> >...are there any front-ends to
> > ffmpeg that would make it easier (not a lot of repetitive commands or
> > waiting for the application to process them) to go through large amounts
> of
> > video and easily copy/cut segments and then discard the rest?
> Hi Morten,

Hey Joel.

> I was interested in something similar, and wrote a utility
> to trim, compress and rename video files in a directory.
> It can trim segments out of one or source files.
> It looks for a file CONTENTS with lines such as this:
> # source files                     output filename    start time    end
> time
> # ---------------                  ---------------    ----------
> --------
>   00000.MTS 00001.MTS 00002.MTS :  20180218-1 :        0    :       15:30
> So you have to use another program to play the source files and note the
> cut
> points in a text file. Then your run the script, fix the errors, run it
> again,
> and come back later check the results.  Not sure if that suits your
> definition
> of "easily"...
> Here is the help page.
> fftrim [-mn] [long options...]
>         --source-dir STR  video sources directory
>         --target-dir STR  target directory for completed files
>         -n                simulate: show output commands but do not run
> them
>         -m                simulate: show output commands omitting file
> checks
> I will post/github code if there is interest.

I think this is interesting, and it shouldn't be difficult to write a
frontend to it.

If you post the code on GitHub, it would make it easier for someone to
write a GUI.



More information about the ffmpeg-user mailing list