News for hackers. Stuff that matters.
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

Re:Show HN: FFmpeg UI by efortis on Wednesday June 14, 2023 @10:49PM (#36335855)
same here
Re:Show HN: FFmpeg UI by infinitebit on Thursday June 15, 2023 @12:34AM (#36336429)
i came here to say this (specifically saving cmd line equivalents)
Re:Show HN: FFmpeg UI by voltaireodactyl on Thursday June 15, 2023 @12:50AM (#36336524)
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.

https://mkvtoolnix.download/

Re:Show HN: FFmpeg UI by michelb on Thursday June 15, 2023 @02:24AM (#36337075)
Loving ffworks, been using it for many years.
Re:Show HN: FFmpeg UI by poyu on Thursday June 15, 2023 @01:20AM (#36336711)
Probably due to the binary not being Notarized or something of that affect. Here’s how to remove it:

`sudo xattr -d com.apple.quarantine $BINARY_NAME`

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 donatj on Thursday June 15, 2023 @07:59AM (#36339225)
Signed or unsigned, the only real difference is did they pay Apple $100
Re:Show HN: FFmpeg UI by ybouane on Thursday June 15, 2023 @01:25PM (#36343834)
Just paid the 100$ and got it notarized. Still, you're downloading software from a total stranger :p .
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 danieldk on Friday June 16, 2023 @10:32AM (#36357160)
If it’s from the App Store, it’s at least required to be sandboxed.
Re:Show HN: FFmpeg UI by ybouane on Thursday June 15, 2023 @01:22PM (#36343783)
It's fixed now, thanks for reporting the issue.
Re:Show HN: FFmpeg UI by DanTremonti on Thursday June 15, 2023 @01:22AM (#36336727)
`cannot execute binary file: Exec format error` on Ubuntu 20.04 and 22.04
Re:Show HN: FFmpeg UI by not_your_vase on Thursday June 15, 2023 @01:46AM (#36336854)
Same here on Debian 12, x64

Edit:

  file FFMPEG-UI.AppImage 
  FFMPEG-UI.AppImage: ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, for GNU/Linux 3.7.0, BuildID[sha1]=4b12022a0a60af0d4b7920deac219fcbd1d92080, stripped
It was compiled for 64 bit ARM...
Re:Show HN: FFmpeg UI by bakugo on Thursday June 15, 2023 @02:33AM (#36337116)
Windows build was also compiled for arm64.
Re:Show HN: FFmpeg UI by ybouane on Thursday June 15, 2023 @01:23PM (#36343789)
It should work fine now I rebuilt it to work for the x64 architecture.
Re:Show HN: FFmpeg UI by oldstrangers on Thursday June 15, 2023 @01:32AM (#36336776)
Nothing has come close to https://handbrake.fr/ for me.
Re:Show HN: FFmpeg UI by miyuru on Thursday June 15, 2023 @01:43AM (#36336843)
Yes. Last I checked handbrake used FFmpeg in the background.
Re:Show HN: FFmpeg UI by oldstrangers on Thursday June 15, 2023 @01:51AM (#36336893)
It does indeed!
Re:Show HN: FFmpeg UI by galad87 on Thursday June 15, 2023 @03:35AM (#36337490)
It does use some parts of libavformat, libavfilters, libavcodec. But HandBrake it's not an FFmpeg cli UI and it's quite different.
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 marban on Thursday June 15, 2023 @02:07AM (#36336980)
Or Permute on MAS/Setapp
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.

https://staxrip.readthedocs.io/generated/screenshots.html

Re:Show HN: FFmpeg UI by nine_k on Thursday June 15, 2023 @01:32AM (#36336778)
Cool. Closed source though.

I'm curious, what is used as the UI toolkit.

Re:Show HN: FFmpeg UI by not_your_vase on Thursday June 15, 2023 @01:43AM (#36336845)
Looking at the huge size, I will take a wild guess, and say it's an Electron app.
Re:Show HN: FFmpeg UI by gyan on Thursday June 15, 2023 @02:27AM (#36337089)
Or more likely, ffmpeg binary is embedded, considering that they don't provide instructions to download it on that page.
Re:Show HN: FFmpeg UI by askl on Thursday June 15, 2023 @02:58AM (#36337286)
Yes, ffmpeg is included. It takes up 2.4MB. The rest is electron bloat.
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 askl on Thursday June 15, 2023 @03:31AM (#36337459)
I just looked inside the linux appimage. There's only a 2.4MB libffmpeg.so and it doesn't link against anything else than libc stuff.
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 pyaamb on Thursday June 15, 2023 @02:22AM (#36337062)
can ffmpeg be implemented in WASM?
Re:Show HN: FFmpeg UI by rep_wex on Thursday June 15, 2023 @02:37AM (#36337142)
Re:Show HN: FFmpeg UI by ybouane on Thursday June 15, 2023 @01:24PM (#36343813)
Yes, initially, that was my goal (a web-app), but it's so slow that it's completely useless for converting videos.
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" } }`
Re:Show HN: FFmpeg UI by ybouane on Thursday June 15, 2023 @01:28PM (#36343871)
Very interesting!
Re:Show HN: FFmpeg UI by andrewstuart on Thursday June 15, 2023 @02:45AM (#36337198)
ffmpeg is well suited to a graqh style interface like this:

https://ffmpeg.guide/graph/demo

Re:Show HN: FFmpeg UI by ranting-moth on Thursday June 15, 2023 @03:47AM (#36337550)
A subscription service to generate ffmpeg prompts? I'm not a marketing person, but I'd wager it's a niche market.
Re:Show HN: FFmpeg UI by easyThrowaway on Thursday June 15, 2023 @04:33AM (#36337814)
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 eps on Thursday June 15, 2023 @03:00AM (#36337298)
Landing page for an UI project should really have at least one screenshot.
Re:Show HN: FFmpeg UI by jer0me on Thursday June 15, 2023 @03:05AM (#36337319)
And it's got five! Bask in the teal glory.
Re:Show HN: FFmpeg UI by eps on Thursday June 15, 2023 @03:29AM (#36337449)
This is what I see - https://i.imgur.com/D5wqgR8.jpg
Re:Show HN: FFmpeg UI by jer0me on Thursday June 15, 2023 @03:32AM (#36337464)
Are you perhaps blocking third-party requests? It looks like they’re hosted in S3.
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 anta40 on Thursday June 15, 2023 @05:32AM (#36338173)
"You can’t open the application “FFMPEG UI” because this application is not supported on this Mac."

I use MacBook Air 2017 running Monterey. Hmmm...

Update: Just noticed the app name after running the dmg: "FFMPEG UI 1.0.0-arm64"

Re:Show HN: FFmpeg UI by ybouane on Thursday June 15, 2023 @01:23PM (#36343798)
It's fixed now, you can download the Intel version.
Re:Show HN: FFmpeg UI by pepa65 on Thursday June 15, 2023 @07:26AM (#36338922)
It's only for Windows. (Would be good to mention that in the title?)
Re:Show HN: FFmpeg UI by rcme on Thursday June 15, 2023 @07:27AM (#36338934)
I see download for MacOS buttons. Do they not work?
Re:Show HN: FFmpeg UI by ybouane on Thursday June 15, 2023 @01:23PM (#36343802)
Sorry for the issues, it's now fixed.
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.