Re:Show HN: FFmpeg UI
by ggm on Wednesday June 14, 2023 @10:34PM
(#36335750)
"is damaged" on the MacOS DMG (M1 Macbook Pro) -so won't run.
I wanted to see if you offer an option to save the cmdline equivalent so I can use the UI to test drive, and then save a script to re-run in command shells
FWIW, ffworks (about $20) provides just that, a UI where you can adjust all the knobs and then (optionally) view the resultant script. You can also make droplets with it, so if you have repetitive, specific and/or temporary workflows it’s very nice to have.
Re:Show HN: FFmpeg UI
by defrost on Thursday June 15, 2023 @02:06AM
(#36336977)
Tangentially, as a related example, the free MKV Toolnix suite has a well designed GUI that also provides commadline snippets ( for windows and *nix ) for any jobs you create.
While not as complex as the full FFmpeg CLI options, the MKVToolnix suite has a large option set and having the GUI create usable CLI snippets is very handy for setting up large batch jobs on hundreds and thousands of AV files.
Re:Show HN: FFmpeg UI
by danieldk on Thursday June 15, 2023 @01:58AM
(#36336931)
I know you are not telling people to run it, but probably running an unsigned, unnotarized binary from a random person (with 14 HN karma) is not a good idea.
Re:Show HN: FFmpeg UI
by danieldk on Friday June 16, 2023 @10:35AM
(#36357203)
There is a difference though. Apple does at least some amount of malware scanning during notarizarion and they have your credit card/some personalia on file, which means that they can go after you.
I know, stolen credit cards, etc. But at least it’s something (App Store would be better due to sandboxing).
Re:Show HN: FFmpeg UI
by _kush on Thursday June 15, 2023 @02:00AM
(#36336944)
handbrake is such an underrated tool! I've been using it for over a decade to compress and convert videos, and nothing comes close (except ffmpeg ofcourse)
Re:Show HN: FFmpeg UI
by Cadwhisker on Thursday June 15, 2023 @03:24AM
(#36337428)
I've not found anything better than StaxRip if you want access to the deep guts of encoder options. It can use nVidia's nvEnc API either directly, or through ffmpeg; same for Intel's QuickSync and AMD's VCEEnc.
Re:Show HN: FFmpeg UI
by gyan on Thursday June 15, 2023 @03:13AM
(#36337369)
That's not big enough to include even most native components. My essentials build with only common 3rd party libs (like libx264) compresses to 20MB with LZMA2.
Re:Show HN: FFmpeg UI
by ybouane on Thursday June 15, 2023 @01:28PM
(#36343867)
You are all on point! Great analysis.
- Yes, it's electron (didn't expect such a huge build for such a small app).
- The bundled ffmpeg is probably a light version that comes from the underlying chrome.
- The app detects if there's a ffmpeg available otherwise it downloads the binaries and uses them instead.
Re:Show HN: FFmpeg UI
by taylorfinley on Thursday June 15, 2023 @02:32AM
(#36337109)
ChatGPT makes a wonderful natural language interface for ffmpeg. I like to ask for a bash script that uses ffmpeg to achieve my goal. Recent example output:
#!/bin/bash
# Set the input file name
input_file="input.mp4"
# Trim the videos
ffmpeg -i $input_file -ss 00:01:08.5 -to 00:01:11.05 -c copy shot1.mp4
ffmpeg -i $input_file -ss 00:01:13.3 -to 00:01:22 -c copy shot2.mp4
ffmpeg -i $input_file -ss 00:01:24 -c copy shot3.mp4
# Prepare the list of files to concatenate
echo "file 'shot1.mp4'" > files.txt
echo "file 'shot2.mp4'" >> files.txt
echo "file 'shot3.mp4'" >> files.txt
# Concatenate the video segments
ffmpeg -f concat -safe 0 -i files.txt -c copy output.mp4
Re:Show HN: FFmpeg UI
by bkyan on Thursday June 15, 2023 @06:02AM
(#36338354)
Same with the GPT-4 API for embedding within apps!
Example (in Go):
post_json := `{"model": "gpt-4-0613", "messages": [{"role": "system", "content": "You are an AI assistant for an instance of ffmpeg. Respond to the user message by running the run_ffmpeg_command function with command line parameters for the video conversion functionality that the user asked for. Use input.mp4 for the input filename and use output.mp4 for the output filename."}, {"role": "user", "content": ` + string(user_message_json) + `}], "functions": [{ "name": "run_ffmpeg_command", "description": "Run a ffmpeg command with parameters", "parameters": { "type": "object", "properties": { "params": { "type": "array", "items": { "type": "string", "description": "a parameter for the ffmpeg command" }, "description": "The parameters to pass into the ffmpeg command" } }, "required": ["params"] } } ], "function_call": { "name": "run_ffmpeg_command" } }`
Given that recent versions of Blender have an extensible node based UI framework and a video editing pipeline feature, I'm surprised there are no plugins that actually do this.
Re:Show HN: FFmpeg UI
by Lockal on Thursday June 15, 2023 @03:58AM
(#36337620)
https://github.com/mifi/lossless-cut is another great ffmpeg-based tool. For me it is a starting point for blocking videos out of fragments. It works immediately and has nice UI (not just "enter time into integer fields").
Re:Show HN: FFmpeg UI
by RadiozRadioz on Thursday June 15, 2023 @07:57AM
(#36339205)
Why did they pick such an obnoxious color? Too bright to contrast well with the white font. Speaking of the font, why so squished, heavy and poorly readable? Why so much empty space everywhere? Why is the back button sometimes in the corner, and sometimes floating close to the control panel?
Operating system user interface guidelines exist for a reason. They make sure that software is accessible for users and consistent on the platform. Sure it's fine to get creative if you're making a game or something, but this thing is a tool.
And it's a proprietary app, so I can't change this stuff.
I wanted to see if you offer an option to save the cmdline equivalent so I can use the UI to test drive, and then save a script to re-run in command shells
While not as complex as the full FFmpeg CLI options, the MKVToolnix suite has a large option set and having the GUI create usable CLI snippets is very handy for setting up large batch jobs on hundreds and thousands of AV files.
https://mkvtoolnix.download/
`sudo xattr -d com.apple.quarantine $BINARY_NAME`
I know, stolen credit cards, etc. But at least it’s something (App Store would be better due to sandboxing).
Edit:
It was compiled for 64 bit ARM...https://staxrip.readthedocs.io/generated/screenshots.html
I'm curious, what is used as the UI toolkit.
Example (in Go):
https://ffmpeg.guide/graph/demo
I use MacBook Air 2017 running Monterey. Hmmm...
Update: Just noticed the app name after running the dmg: "FFMPEG UI 1.0.0-arm64"
Operating system user interface guidelines exist for a reason. They make sure that software is accessible for users and consistent on the platform. Sure it's fine to get creative if you're making a game or something, but this thing is a tool.
And it's a proprietary app, so I can't change this stuff.