this post was submitted on 30 Jul 2023
101 points (95.5% liked)

Technology

61774 readers
6632 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 2 years ago
MODERATORS
top 6 comments
sorted by: hot top controversial new old
[–] [email protected] 10 points 2 years ago

75$/year subscribtion model for a graphical user interface.. In contrast Total Commander for life costs 39€ + tax.

[–] [email protected] 5 points 2 years ago

Expensive UI lol

[–] [email protected] 5 points 2 years ago (1 children)

I find asking ChatGPT works for lots of ffmpeg uses. Maybe mine are simple when compared to other contexts though…

[–] [email protected] 1 points 2 years ago

Yes, ChatGPT's greatest strength for me is as a man parser. This is especially helpful for tools that do a bajillion things like ffmpeg. Just finding the relevant parts of the manual can take a prohibitively long time.

[–] [email protected] 0 points 2 years ago* (last edited 2 years ago) (1 children)

But part of the fun of FFmpeg is spending two days trying to figure out how to get it to do what you are trying to do.

[–] [email protected] 2 points 2 years ago* (last edited 2 years ago)

When writing my filtergraphs, I've found the following three "tricks" to be immensely helpful

  1. Use an actual editor. Fish shell has a keybind that opens the current prompt in your $EDITOR, and saving+quitting returns to the editor. Makes multi line ffmpeg filters trivial. Doubly so if your editor has something like TabNine completions
  2. If that's not enough, write the filter in a dedicated file, and use either editor automation or something like entr to run ffmpeg's graph2dot command and then graphviz to get a visualization of said graph. Helps ferret out bugs
  3. Build up more complex graphs using either ffplay or mpv. You can add filters at runtime to mpv via the repl (press ~) and the vf add command