[MPlayer-users] Screenshot color wrong

polyphem at gmail.com polyphem at gmail.com
Thu Sep 3 17:16:46 EEST 2020


After some further testing it seems like not the magic but the 
messing-up is done here:

[swscaler @ 00000000025fbdc0]bicubic scaler, from yuv420p to rgb24 using 
MMXEXT
[swscaler @ 00000000025fbdc0]using unscaled yuv420p -> rgb24 special 
converter

When I leave the -vf screenshot out, those two lines are not in the output

"mplayer.exe test.mp4" results in (cut output):
Starting playback...
Movie-Aspect is 0.74:1 - prescaling to correct movie aspect.
VO: [direct3d] 1014x1376 => 1014x1376 Planar YV12


"mplayer.exe -vf screenshot test.mp4" results in (cut output):
Starting playback...
Movie-Aspect is 0.74:1 - prescaling to correct movie aspect.
[swscaler @ 0000000001f4bdc0]bicubic scaler, from yuv420p to rgb24 using 
MMXEXT
[swscaler @ 0000000001f4bdc0]using unscaled yuv420p -> rgb24 special 
converter
VO: [direct3d] 1014x1376 => 1014x1376 Planar YV12


For both output on the screen looks good, only the colors in the 
screenshot are red-shifted.

It seems as if the screenshot filter automatically triggers the scale 
filter too, which performs an unwanted "YUV<−>RGB colorspace conversion".

Is there a possibility to switch this conversion/scaling off? Could not 
find anything in docs or on the net.

Best Regards


More information about the MPlayer-users mailing list