GSoC 2018 Project + Results by Niklas Haas on August 21, 2018 Tagged as: vlc , libplacebo . This summer I participated in GSoC, working on libplacebo and its integration into VLC. Project Goal The idea was to implement a new video output module (vout_placebo) based on both libplacebo and the Vulkan graphics API . The ultimate aim was rough feature compatibility with mpv’s vo_gpu renderer, upon…
How to benchmark mpv's raw throughput by Niklas Haas on October 5, 2017 Tagged as: video , mpv , tips . mpv exports pass timers which allow you to benchmark the performance in theory, but in practice these are very unreliable in multiple scenarios: Some drivers group the timer queries into the wrong command buffer, causing the first measured pass to include the time spent waiting for the vsync.…
Jailing specific processes inside a VPN by Niklas Haas on May 9, 2017 Tagged as: networking , linux , tips . I’ve always wondered how difficult it would be to do something like this, so I decided to give it a try. Turns out the answer is, since the addition of UID matching to ip rule , not very difficult. iproute2 configuration The basic approach is to give the VPN interface a separate routing…
The Diablo III paragon system visualized by Niklas Haas on February 18, 2017 Tagged as: games . Update 2017-02-18 : The XP/level curve I was using in the first iteration of this post was based on a previous version of the game. The current XP curve paints a very different picture. I have updated the graphs. Since it was bugging me, I decided to visualize some of the relationships between playtime,…
Falsehoods programmers believe about [video stuff] by Niklas Haas on December 25, 2016 Tagged as: mpv , video . Inspired by numerous other such lists of falsehoods. Pretty much every video player in existence gets a good chunk if not the vast majority of these wrong. (Some of these also/mostly apply to users, though) Falsehoods programmers believe about.. .. video decoding decoding is bit-exact,…
FFmpeg HEVC decoding benchmarks by Niklas Haas on November 8, 2016 Tagged as: mpv , ffmpeg , benchmarks . Since HEVC software decoding is still very much relevant (especially as hardware decoding chips are both scarce and limited), I decided to compile a few of the benchmark numbers I’ve gotten in the past into a set of graphs. Performance boost from OpenHEVC intrinsics These patches still made a…
How to watch a live stream from the beginning in mpv by Niklas Haas on November 4, 2016 Tagged as: mpv , tips . If you try watching a video recording on twitch etc. while it’s still ‘live’, mpv/youtube-dl will play the live video instead of starting from the beginning. The fix is straightforward: By appending ?t=0m you can force it to start at the beginning: mpv…
So apparently this is a blog now by Niklas Haas on November 3, 2016 Tagged as: meta , personal . I just copied the template and code from this guy’s blog because it was the first thing in this list of Hakyll examples that looked reasonably nice (and I was too lazy to look at more). Why? Because I keep spending time looking up things I’ve already documented on IRC, usually in the form of “something…