ColorlabMD / FFCommand_Engine

Create and execute FFmpeg commands
27 stars 2 forks source link

Are there any demos of this working? #15

Open ross-spencer opened 7 months ago

ross-spencer commented 7 months ago

Really cool sounding utility but unfortunately I am unable to evaluate this script currently (on Linux) are there any demos that can be accessed that show its use on the command line?

retokromer commented 7 months ago

This is a GUI, not a CLI. You can compile the source on Linux.

ross-spencer commented 7 months ago

Ok,thanks @retokromer, to be clear, there's no mention of either detail in this repo that I can see. Building it on Linux would be helpful, am I also missing somewhere the instructions for doing that?

retokromer commented 7 months ago

If I recall carefully, nothing special is needed. Probably it’s qmake FFCommand_Engine.pro, qmake and make.

ross-spencer commented 7 months ago

Okay, so my commands (not sure how many are needed):

 1003  2024-03-04 17:39:25  git clone https://github.com/ColorlabMD/FFCommand_Engine.git && cd FFCommand_Engine/
 1010  2024-03-04 17:40:19  sudo apt-get install qmake
 1012  2024-03-04 17:40:34  sudo apt install qtchooser
 1016  2024-03-04 17:41:21  sudo apt-get install qt5-qmake
 1023  2024-03-04 17:42:33  sudo apt-get install qtbase5-dev
 1019  2024-03-04 17:41:39  cd FFCommand_Engine/
 1022  2024-03-04 17:41:59  qmake ffcommand_engine.pro 
 1026  2024-03-04 17:42:50  qmake
 1027  2024-03-04 17:42:51  make

I also had to remove this hardcoded value: https://github.com/ColorlabMD/FFCommand_Engine/blob/b490af7d6f1d68bafe22a324d9bbc9d34704dbb2/FFCommand_Engine/qfe_window.cpp#L36

And one reason for looking at this work was to review how the preset commands are used, but based on this line if it's the correct location, it doesn't seem to have them included in the source. Maybe they were never committed? https://github.com/ColorlabMD/FFCommand_Engine/blob/b490af7d6f1d68bafe22a324d9bbc9d34704dbb2/FFCommand_Engine/qfe_window.cpp#L52

For those looking for a visual impression as I was above, minus the presets:

image

retokromer commented 7 months ago

@ross-spencer Thank you for the feedback! I checked my notes: I have also done:

PATH=/usr/local/opt/qt5/bin:$PATH
LDFLAGS=-L/usr/local/opt/qt5/lib
CPPFLAGS=-I/usr/local/opt/qt5/include
PKG_CONFIG_PATH=/usr/local/opt/qt5/lib/pkgconfig

Should we add a note here?

ross-spencer commented 7 months ago

I also managed to hack those paths a little bit more and found I could use your file @retokromer https://github.com/amiaopensource/ffmprovisr/blob/gh-pages/recipes.txt and placed that in a Presets folder and got the commands up.

image

Which looks pretty neat!

ross-spencer commented 7 months ago

Should we add a note here?

I didn't need those, but maybe they are helpful in other environments?

retokromer commented 7 months ago

and placed that in a Presets folder and got the commands up.

Oh, nice indeed!

I didn't need those, but maybe they are helpful in other environments?

On which environment did you install?

ross-spencer commented 7 months ago

Just an Ubuntu release:

Distributor ID: Ubuntu
Description:    Ubuntu 22.04.4 LTS
Release:    22.04
Codename:   jammy

But just those apt-get commands above did the trick without having to set anything else in the environment.

BTW: happy to submit some sort of PR in the next few weeks if i can commit some time to it. I'm just doing some other write-up work to begin.

retokromer commented 7 months ago

Thank you for the information.

I am not the maintainer of software, I only provided the presets, but I know him since … ever. I guess a PR would be appreciated. Take your time.

BTW: Many interns in my company like it for its batch processing capabilities. And I also many of my students use it.