Live data from Hacker News

FFmpeg School of Assembly Language

github.com

1–10 of 226 posts

Re: FFmpeg School of Assembly Language

#4
post #2

The only thing I don't like about this is the focus on x86 assembly, which is a sinking ship because RISC-V is coming to eat its lunch, FAST.

HackerNews does not reflect real world well

The unwritten rule of HN:

You do not criticise The Rusted Holy Grail and the Riscy Silver Bullet.

Re: FFmpeg School of Assembly Language

#6
post #2

The only thing I don't like about this is the focus on x86 assembly, which is a sinking ship because RISC-V is coming to eat its lunch, FAST.

I could understand if you wrote arm, because that's an architecture with actual marketshare. arguably more marketshare than x86-64 at this point, but you had to choose risc-v for the lols.

Re: FFmpeg School of Assembly Language

#7
post #2

The only thing I don't like about this is the focus on x86 assembly, which is a sinking ship because RISC-V is coming to eat its lunch, FAST.

Where are the high performance RISC-V implementations? Those that compete with AMD Zen-5 and Apple M4? Or at least AWS Graviton 4?

Re: FFmpeg School of Assembly Language

#8
"Assembly language of FFmpeg" leads me to think of -filter_complex. It's not for human consumption even once you know many of its gotchas (-ss and keyframes, PTS, labeling and using chain outputs, fading, mixing resolutions etc).

But then again no-one is adjusting timestamps manually in batch scripts, so a high-level script on top of filter_complex doesn't have much purpose.

Re: FFmpeg School of Assembly Language

#10
Kudos for the K&R reference! That was the book I bought to learn C and programming in general. I had initially tried C++ as my first language but I found it too abstract to learn because I kept asking what was going on underneath the hood.
Post reply on HN