Live data from Hacker News

FFmpeg 8.1

ffmpeg.org

51–60 of 73 posts

Re: FFmpeg 8.1

#51
post #31

Earlier quoted context omitted.

One of the best uses of LLMs is to help find the right command line options for tools like ffmpeg.

It won't always give you a perfect answer the first time, but it's much better than memorizing the manual or interpreting a forum discussion. Haven't used it for ffmpeg, but lots of other command lines.

I find it helps if you paste in the the ffmpeg manual and get the ai to use that as source. Helps it stick to real params.

Re: FFmpeg 8.1

#52
post #2

Changelog: ffprobe -codec option EXIF Metadata Parsing gfxcapture: Windows.Graphics.Capture based window/monitor capture hxvs demuxer for HXVS/HXVT IP camera format MPEG-H 3D Audio decoding via mpeghdec D3D12 H.264 encoder drawvg filter via libcairo ffmpeg CLI tiled HEIF support D3D12 AV1 encoder ProRes Vulkan hwaccel DPX Vulkan hwaccel Rockchip H.264/HEVC hardware encoder Add vf_scale_d3d12 filter JPEG-XS parser JPE…

What I want to know is how much of these were written and/or debugged using AI tools and which ones? Using which workflow?

For that's an actual project, with countless uses, on countless machines.

Show me the AI. I want to see what AI has generated in those.

(btw I pay religiously my Claude Code subscription plan)

Re: FFmpeg 8.1

#53
post #31

Earlier quoted context omitted.

One of the best uses of LLMs is to help find the right command line options for tools like ffmpeg.

It won't always give you a perfect answer the first time, but it's much better than memorizing the manual or interpreting a forum discussion. Haven't used it for ffmpeg, but lots of other command lines.

I would far rather look at the manual or a forum discussion, because then I know I'm getting something real. With LLMs, odds are decent that I'm getting something which doesn't actually exist, but it sure would be nice if it did.

Re: FFmpeg 8.1

#54
post #50
post #41

Earlier quoted context omitted.

FFmpeg is a prime single-block-everything-is-built-on xkcd example.

It's a sibling to curl in that way

Big difference for ffmpeg especially (but I imagine for curl too): it's not just one guy in Nebraska. Seems to have a very healthy community of devs involved in it.

Re: FFmpeg 8.1

#55
post #31

Earlier quoted context omitted.

It won't always give you a perfect answer the first time, but it's much better than memorizing the manual or interpreting a forum discussion. Haven't used it for ffmpeg, but lots of other command lines.

I would far rather look at the manual or a forum discussion, because then I know I'm getting something real. With LLMs, odds are decent that I'm getting something which doesn't actually exist, but it sure would be nice if it did.

I've had someone post a problematic ffmpeg command into a prompt to ask why it wasn't working. It didn't work so well. By the time that someone rejiggered their prompt, I had found the issue.

Re: FFmpeg 8.1

#56
post #12

> Oh there's a new version of ffmpeg, I'll just quickly build it from source... no I can't wait I'll download the binary https://www.youtube.com/watch?v=9kaIXkImCAM

Building ffmpeg itself from source is actually quite easy. The hardest part IMO is getting the necessary codecs to work; this can take a little while. If you know what audio and video codecs you want and need, and if you get them installed properly, then compiling ffmpeg is really simple and straightforward. It works almost always for me, and I have compiled ffmpeg from source for like +10 or even +15 years. For refe…

it's easy just /etc/init.apt-get/frob-set-conf --arc=0 - +/lib/syn.${SETDCONPATH}.so.4.2 even my grandma can do that

Re: FFmpeg 8.1

#57
post #9
post #3

Earlier quoted context omitted.

TIL: JPEG XS - an image and video codec that offers both visually and mathematically lossless quality for low latency implementations. Additionally, JPEG XS compressed content is indistinguishable from the original uncompressed content. https://en.wikipedia.org/wiki/JPEG_XS

We use JXS when latency is critical. Most h24/265 decodes will have a 10 frame glass-glass delay, JXS drops that to 3 or 4, at a cost of bandwidth (our UHD jxs streams are 1.5gbit rather than 200mbit for hevc)

That's pretty depressing to read. x264 was handling the encoding side with sub-frame latency 15 years ago, and sub-frame decoding is significantly easier. "with –tune zerolatency, single-frame VBV, and intra refresh, x264 can achieve end-to-end latency (not including transport) of under 10 milliseconds for an 800×600 video stream"

But for some reason you can't make use of that and have to burn bandwidth instead.

Re: FFmpeg 8.1

#58
post #12

> Oh there's a new version of ffmpeg, I'll just quickly build it from source... no I can't wait I'll download the binary https://www.youtube.com/watch?v=9kaIXkImCAM

Building ffmpeg can be simple or complex, depending on how you configure the dependencies and if it's dynamic or static and of course it's target outputs.

I'm currently working on a cross-platform builder that runs within Github Actions runners, but the Mac and Windows builds take up so many of my monthly minutes.

https://github.com/video-commander/ffmpeg-builder

I'm using this as part of another multimedia app I'm working on for video engineers.

Re: FFmpeg 8.1

#59

FFmpeg is really great. The only wish I'd have is for the usage to become simpler - both for regular stuff, but also for advanced filtering. If anyone remembers, avisynth was pretty cool back in the days. You could kind of script video/audio manipulations, a bit like a UNIX/Linux pipe, but kind of simpler, in my opinion. FFmpeg allows for many similar operations, but remembering anything here is ... hard. I'd love fo…

Once I got over the -filter_complex is well, complex phobia, it isn't that bad. The command line makes it look daunting to be sure. But thinking of it as the name suggests of "filter chains" makes it less daunting. It is still cumbersome as every thing needs to be in the command. Debugging commands gets hairy the more complex they get but you'll get muscle memory on how to search/replace to make line breaks to make i…

[deleted]

Re: FFmpeg 8.1

#60

FFmpeg is really great. The only wish I'd have is for the usage to become simpler - both for regular stuff, but also for advanced filtering. If anyone remembers, avisynth was pretty cool back in the days. You could kind of script video/audio manipulations, a bit like a UNIX/Linux pipe, but kind of simpler, in my opinion. FFmpeg allows for many similar operations, but remembering anything here is ... hard. I'd love fo…

One of the best uses of LLMs is to help find the right command line options for tools like ffmpeg.

Prior to LLMs, I made an ffmpeg command line builder. It definitely doesn't cover everything, but handles simple common tasks quite well.

https://ffmpeg-commander.com

Post reply on HN