Skip to content

pnwheeler/TRIMCROP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TRIMCROP

Qt6/QML app to trim and crop videos on desktop.

About

Provides a visual interface to ffmpeg1.

Saving the video sends all the information configured on the front end(i.e. trim positions, information about the crop selection area) to ffmpeg, which is ultimately responsible for the actual transcoding. To do this, I exposed the QProcess class & a few of it's methods to QML2, defined the command I wanted to run3, and wait4 for ffmpeg to finish the heavy lifting.

TRIM CROP EXPORT
trim gif crop gif save_gif

Footnotes

  1. Requires ffmpeg!

  2. QProcess exposed here.

  3. The ffmpeg command is set up here.

  4. ffmpeg's -stats-period option is set up to send updates 10x/s to provide UI feedback on the progress.