FFMPEG is so great… whatever it is you need to do with a video file, all you have to do is type "ffmpeg [thing i need to do]" into Google, copy-paste your first result, and then it doesn't fucking work
@mcc I BARKED with laughter at this

@mark @mcc same

I would have also expected "two hours and thirty minutes into a four-hour process you realize you fucked up one setting so you had to start over. This process will repeat a minimum of 4 more times before you are finally done"

@mav @mark @mcc always test with the first 10 seconds of the file!. Or a minute. Then you can extrapolate size and time from there

@mcc their documentation for both API and CLI is a mess, if you can even find it

I had to wrestle it years ago when I did raw video on a phone

@tthbaltazar @mcc i once found documentation for it on a furniture repair website
@tthbaltazar @mcc the man page is insufficient but the documentation on the Web sit is quite ok

@mcc Even better ask a know it all llm

it also doesn't work

@mcc Now try ChatGPT
@seldo ChatGPT reports success regardless of WHAT flags I give it! This is the future of software
@mcc
#NewRule: When googling how to #FFMPEG skip to, at least, the third page of results.
@mcc It feels like the syntax is different every year when I need to use it again.
@jsit heh remember that like two year period when suddenly you had to switch from calling it "ffmpeg" to "avconv" and then all of a sudden you were supposed to switch back
Interview with FFMPEG enthusiast

YouTube
@mcc Honestly getting command line options that don't work sounds like an ideal use case for LLMs

@mcc oh, also

last year I learned that if you use npm to install the ffmpeg binary in alpine linux, ffmpeg will be 🎵 completely fucking incapable of doing dns resolution 🎵

@mcc job security for life, I hate it
@mcc on the one hand, you are absolutely right. But on the other, https://toot.cat/@ehashman/109578772250791187
e. hashman :kittyfied: (@[email protected])

Attached: 1 video this is perfection. I can't stop. parents do not let me near your ffmpeg

Toot.Cat
@mcc Now I feel lucky. I've had some sort of successful output when I used it a few times last year. 😅
@mcc every time I use it I’m like “someone seems to have had a lot of intent around how these flags operate and it seems very deliberate, but none of it is intuitive and I will never learn it oh well”

@mcc
Tried #YouChat? Or another #LLM? I wonder if #LLMs can sort through the garbage on #StackOverflow. Or are they adding to the garbage
@jen

#GIGO

@mcc I hated this so much I literally built a GUI around my most common use case: trimming videos without recompressing

https://soft.rendeer.pl/VideoTrimmer/

Overview - Video Trimmer

@mcc imagine the power you'd have if you actually learned the syntax (it's me, I learned the syntax)
@mcc @aeva don’t stress, it gets better; after a few years experience, and detailed scrutiny of the manual, you will find that you are able to come up with your own ffmpeg command invocations that don’t fucking work.
@Unixbigot @mcc @aeva this is the number one benefit of switching from miniDLNA to Jellyfin for me - no more Python scripts that pull data from online metadata and call ffmpeg to update the in-file metadata

@mcc I'm a long time mencoder user. Not because I would consider the tool itself better than the alternatives, but because of its documentation.

http://www.mplayerhq.hu

Entering MPlayer homepage

@mcc so you're saying it's like imagemagick, but for video? :⁠-⁠(
@mcc I _desperately_ wish ffmpeg had its current brevity-centric inscrutable order-dependent command line parsing, whatever, it's fine... AS WELL AS a nicely versioned, documented, schema-backed invocation file format.
@mcc sox(1) has entered the chat
@mcc ah, but it is consistent!

@mcc sometimes my office is cold and I want to run every fan on my computer for a long time and accidentally produce a video the size of a postage stamp but a gigabit per second bit rate.

New product: LLMPEG.

@mcc i always walk into the temple of ffmpeg expecting to be impaled by sticks and being rolled over by a boulder, and then miraculously come out unharmed, unimaginable riches in tow

maybe it's because i never ask much

@mcc that said, i keep all my successes in scripts that act as executable documentation. because figuring out how to do something is always archeological work.
@mcc Reproducibility like that is hard to find these days