FFMS / ffms2

An FFmpeg based source library and Avisynth/VapourSynth plugin for easy frame accurate access
Other
579 stars 105 forks source link

BluRay m2ts freeze/out of order frames at the start #280

Closed sneaker2 closed 7 years ago

sneaker2 commented 7 years ago

Hi,

I got a sample from BluRay that has problems when opened using ffvideosource() (2.23.1). The second frame is out-of-order and freezes for some ~10 frames. Works fine in players like MPC-HC/LAV, lwlibavvideosource() or simply ffmpeg.

https://www.sendspace.com/file/te146n (10s_VIDEO_SOURCE.m2ts)

myrsloik commented 7 years ago

This happens with earlier versions too, right?=

sneaker2 commented 7 years ago

Yes. 2.23 and 2.22 seem to behave identical to 2.23.1. 2.21 seems to work with linear access but has the same error when stepping back. 2.20 similarly to >=2.22, except even the very first frame is wrong.

2.19 seems ok.

myrsloik commented 7 years ago

Try ffms2000 test5

sneaker2 commented 7 years ago

Yes, looks fixed.

Interestingly, only the .ffindex file matters. If created using test5 even test4 will play correctly. Or vice versa: created by test4 and test5 will play incorrectly as well.

myrsloik commented 7 years ago

Yes, the key is in the index.