News for hackers. Stuff that matters.

kierank

Re:FFmpeg to Google: Fund us or stop sending bugs on Wednesday November 12, 2025 @09:12AM (#45900426)
Then you and your security friends will create lots of FUD about FFmpeg being "insecure" with lots of red and the word "critical" everywhere.
Re:FFmpeg to Google: Fund us or stop sending bugs on Wednesday November 12, 2025 @05:17AM (#45898437)
FFmpeg is developed almost entirely by volunteers. We have no "customers".
Re:FFmpeg School of Assembly Language on Sunday February 23, 2025 @09:27AM (#43149438)
We in FFmpeg need all the instructions and we often need to do register allocations by hand.
Re:FFmpeg School of Assembly Language on Sunday February 23, 2025 @09:26AM (#43149430)
I have tried with Grok3 and Claude. They both seem to have an understanding of the algorithms and data patterns which is more than I expected but then just guess a solution that's often nonsensical.
Re:FFmpeg School of Assembly Language on Saturday February 22, 2025 @07:09PM (#43144719)
I am the author of these lessons.

Ask me anything.

It's crazy that you have to use this custom "embedded" tooling when the vendor should be implementing support in vanilla Linux distros.
Re:Show HN: OBS Live-streaming with 120ms latency on Wednesday September 04, 2024 @03:41PM (#41449835)
This is premature optimisation. The bus bandwidth and latency needed to get a few Mbps of compressed video to the PC is microscopic. It's completely unnecessary to lock yourself into NVIDIA just to create some UDP packets.
Re:Show HN: OBS Live-streaming with 120ms latency on Wednesday September 04, 2024 @11:38AM (#41447042)
Because latency is a distribution and these photos are often selected at the best-case P0 end of all the encode/decode processes whereas actually what matters is the worst case P99.

A proper implementation will make sure the worst-case latency is accounted for and not cherry-pick the best case.

Re:Show HN: OBS Live-streaming with 120ms latency on Wednesday September 04, 2024 @08:01AM (#41444658)
Backstage feeds go in uncompressed via HD-SDI and have a latency of lines (microseconds to single digit milliseconds). Totally different ballgame.
Re:Show HN: 30ms latency screen sharing in Rust on Saturday July 13, 2024 @03:37PM (#40956309)
I wrote a blog post about how numbers like "30ms latency" are thrown around called "How to lie about latency": https://www.obe.tv/how-to-lie-about-latency/

It's left as an exercise to the reader which methods of lying are being used in this case.

Re:The Sphere on Friday July 05, 2024 @11:02AM (#40883392)
I actually saw numerous issues with segments being one frame out of sync with the rest.
Re:Never* Use Datagrams on Sunday June 23, 2024 @04:35PM (#40770406)
Imagine Ethernet was designed like this and you had to implement mandatory congestion control and other cruft. The layer of the stack that has knowledge of the content should be implementing the congestion control.
I'm sure SAP reads mastodon and will be right on it
Re:Edit PDFs for Free with Firefox PDF Editor on Friday May 17, 2024 @06:55PM (#40394913)
The Firefox PDF reader is atrocious. Opening any non-trivial PDF causes it to crash even on an i9 with 32GB of RAM. I guess this is because it's rendering the pdf to HTML.
Re:FFmpeg 7.0 Released on Friday April 05, 2024 @06:20AM (#39940725)
VVC is marked as experimental as fuzzing continues on it.
(author of the post on X)

We cannot tell volunteers to not do something (i.e help Microsoft) in the same way we cannot tell volunteers to do something.

(author of the post on X)

To clarify, Microsoft didn't offer a one-time payment to fix any bug. A volunteer explained for free that a command line option had changed between FFmpeg versions.

Microsoft offered a one-off payment instead of a support contract.

Hi, this is a high priority ticket and FFmpeg is used in highly visible products all over the world. We have developers working for free while trillion dollar corporations want urgent help from volunteers. Please help,

/s

Re:Writing x86 SIMD using x86inc.asm (2017) on Tuesday March 26, 2024 @04:06PM (#39832239)
v210_planar_pack_8_c: 2298.5

v210_planar_pack_8_ssse3: 402.5

v210_planar_pack_8_avx: 413.0

v210_planar_pack_8_avx2: 206.0

v210_planar_pack_8_avx512: 193.0

v210_planar_pack_8_avx512icl: 100.0

23x speedup. The compiler isn't going to come up with some of the trickery to make this function 23x faster.

800% is nothing.

Re:Writing x86 SIMD using x86inc.asm (2017) on Tuesday March 26, 2024 @08:03AM (#39826803)
x86inc.asm takes care of the different OS ABI differences for you.
Re:Writing x86 SIMD using x86inc.asm (2017) on Tuesday March 26, 2024 @07:21AM (#39826474)
FFmpeg code by definition is not "basic SIMD code". And it supports numerous other compilers other than LLVM.
Re:Writing x86 SIMD using x86inc.asm (2017) on Tuesday March 26, 2024 @07:19AM (#39826464)
That "20 minute patch" will need to be maintained for decades to come in FFmpeg, long after a standalone JPEG-XL library. Potentially centuries as archives like the Library of Congress are storing FFmpeg. So that's why it's done in assembly, so it's maintainable with the rest of the code.
This isn't a surprise from an organisation that opened a ticket on the FFmpeg tracker asking volunteers for free "high priority" support:

https://trac.ffmpeg.org/ticket/10341#comment:4

Re:Video playback on low-end MS-DOS machines on Tuesday January 02, 2024 @11:42AM (#38843626)
> It is impossible for the audio to drift ahead of or behind the video, regardless of the video framerate or audio samplerate.

How is this "impossible" if the video clock and audio clock are on different physical devices?

Re:Still no love for WPA3 on the Raspberry Pi 5 on Monday November 06, 2023 @09:37PM (#38172500)
Exactly, just pretending to ignore the 80% of the market that isn't critical or safety of life and saying it's not true "embedded industry" (or True Scotsman) is just ignoring the reality.
Re:Still no love for WPA3 on the Raspberry Pi 5 on Monday November 06, 2023 @09:32PM (#38172454)
Exactly as you see in this comment chain, engineers at startups get fed up of the embedded industry being stuck in the 1980s (long sales process with many meetings and salespeople, custom blobs galore, custom distros, long lead times, high prices etc).

You cannot iterate quickly based on the glacial embedded industry. I am amazed by the way we are quoted 3 month wait for a shipment (even pre-covid) without anyone batting an eyelid.

You're a bit like the satellite industry looking at Starlink and saying "well it's not true satellite, doesn't have X, Y and Z" and pointing to a few specialist applications where legacy satellite is highly suited and ignoring the masses of business applications that have moved to Starlink.

Older »