Fredrik Mellbin
Fredrik Mellbin
What? I always assumed YUVRGB_Scale was ignored (since no RGB conversion is ever done by d2vsource) and the range was flagged according to the mpeg stream. Insanity.
Now the scale is simply ignored and _ColorRange is unset. I'll leave this open for a bit in case someone has a better idea later but it's a lot less...
It may be possible to get the range from FFmpeg and properly set things but once again I'm missing a relevant sample to actually test things.
Never mind. I'm not going to try to implement range parsing.
Sample still required for testing or no progress can be made
A small sample is very welcome if you have one. I'm not sure exactly what the behavior is after my changes in the newffmpeg branch.
This is definitely completely broken and I'm not sure if the seeking is closer to one or the other behavior
Try again with the latest lsmashsource. It should at least return a proper error now instead of crashing.
And the other obvious question that will probably help me and/or the author. Does it work in avisynth?
Yes, it is. In avisynth it simply returns an uninitialized frame for many of the possible errors. So you get random memory which is usually a recycled previous frame. Definitely...