Thanks a lot, Andrius. Yes, I saw that the problem was the (non-)seakability of the file. Not sure why this is needed, though. And thanks a lot for having linked the bug report with the upstream issue! Sébastien.