Live data from Hacker News

FFmpeg 8.1

ffmpeg.org

21–30 of 73 posts

Re: FFmpeg 8.1

#21
post #14

Earlier quoted context omitted.

Isn't the point of JPEG to have lossy compression for your photos that still looks fine? As opposed to something like PNG, which has lossless compression

Reading that it looks like the point of JPEG-XS is to have near-lossless compression for raw photo and video data while having extremely high throughput.

JPEG XS supports either near lossless or truly lossless encoding depending on encoder configuration.

Re: FFmpeg 8.1

#23
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 reference purposes, my current configure options are:

  ./configure --prefix=/usr/ --enable-gnutls --enable-gpl --enable-libmp3lame --enable-libaom --enable-libopus --enable-libspeex --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libxvid --enable-libx264 --enable-libx265 --enable-nonfree --enable-pthreads --enable-shared --enable-version3 --extra-libs=\"-ldl\" --disable-doc --disable-libopenjpeg --disable-libpulse --disable-static
Probably more codecs could be added, and some options may not be necessary anymore (I changed this last ... years ago, too), but this works for the most part fairly well.

One focus I have is mostly on a few .mp4 files, and for these I think you kind of want x264 x265 and so forth (I think one more codec from google too or so). But it is really quite trivial once you are past the codecs step. You can also start simple with just a few codecs, e. g. one good audio codec and one good video codec. One reason I like to have ffmpeg support many codecs is so I can use mpv, which in itself is really awesome; I like it more than vlc, which is also ok though.

Re: FFmpeg 8.1

#24
One of the best open-source tools out there. I'm a frequent user of Plex, Jellyfin, Tunarr, local music files, etc. I use it weekly to extract subtitles, trim videos, convert music formats, and remove audio tracks. After writing the previous paragraph, I realized I've never donated to the project; it's time to change that.

Re: FFmpeg 8.1

#26

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…

If you're just looking for an easier solution for encoding video ("regular stuff") then Handbrake is the go-to tool for that.

Re: FFmpeg 8.1

#27

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.

Re: FFmpeg 8.1

#28
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

Isn't the point of JPEG to have lossy compression for your photos that still looks fine? As opposed to something like PNG, which has lossless compression

[deleted]

Re: FFmpeg 8.1

#29

Khronos published a post on the Vulkan compute codecs in FFmpeg: https://www.khronos.org/blog/video-encoding-and-decoding-wit...

Is there a 'HW' guide to show the expected performance of Vulkan compute codecs anywhere?

Re: FFmpeg 8.1

#30

How much of this release was done by to corporate/big tech employees?

I have no idea how much they contribute back, but pretty much every (big) tech company that does any media transcoding uses ffmpeg.
Post reply on HN