Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

VLC has always caused problems for me when seeking backwards (graphical glitches). mpv has never caused any issues in this regard.




VLC and mpv literally use the same underlying codec library. (As well as ffmpeg.)

Have you tried both? mpv is able to play high resolution HEVC videos backwards at real time by holding the "previous frame" key. VLC can't reliably jump backwards even at second intervals, forget about reverse playback.

So? Here is the post where VLC dev explains why you can't seek 1 frame back (you can do that in MPC and mpv) https://forum.videolan.org/viewtopic.php?f=7&t=126609&start=...

VLC makes a choice not to seek backwards to keyframes, which means you get video corruption.

Seeking is surprisingly difficult. Many container formats don't support it at all, because they don't have indexes, and so it's easy to mess up playback or lose A/V sync by trying it. Constructing the index is about as hard as decoding the entire file too.


libav{format,codec,...} are just libraries for demuxing and decoding video. There is huge variability in how those libraries are used, let alone how the video is displayed (which needs scaling, color space conversions, tonemapping, subtitle rendering, handling playback timing, etc. etc.). mpv also has its own demuxer for matroska files, since libavformat's is very limited [1].

[1] https://github.com/mpv-player/mpv/wiki/libavformat-mkv-check...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: