News for hackers. Stuff that matters.
Re:FFmpeg Lands CLI Multi-Threading as Its "Most Complex Ref... by cudder on Tuesday December 12, 2023 @12:14PM (#38615136)
I know next to nothing about video encoders, and in my naive mind I absolutely thought that parallelism would work just like you suggested it should. It sounds absolutely wild to me that they're splitting single frames into multiple segments. Merging work from different threads for every single frame sounds wasteful somehow. But I guess it works, if that's how everybody does it. TIL!
Re:FFmpeg Lands CLI Multi-Threading as Its "Most Complex Ref... by astrange on Tuesday December 12, 2023 @02:04PM (#38616755)
Most people concerned about encoding performance are doing livestreaming and so they can't accept any additional latency. Splitting a frame into independent segments (called "slices") doesn't add latency / can even reduce it, and it recovers from data corruption a bit better, so that's usually done at the cost of some compression efficiency.
Re:FFmpeg Lands CLI Multi-Threading as Its "Most Complex Ref... by account42 on Wednesday December 13, 2023 @07:29AM (#38626392)
> Most people concerned about encoding performance are doing livestreaming

What make you think that? I very much care about encoding performance (for a fixed quality level) for offline use.