swscale does not process pixels when only color-matrix differs between input and output
|Reported by:||rmk||Owned by:|
|Blocking:||Reproduced by developer:||yes|
|Analyzed by developer:||no|
swscale does not seem to process pixels when only color-matrix differs between input and output (i.e. pixel format and size remain the same).
It would be great to be able to use swscale also just for colorspace transformations like for bt601<->bt709 conversions.
Observed this as api user but verified it by converting two files as follows and comparing them via framemd5:
ffmpeg -i fcp7_xdcam_ex_1080_25p_1s.mov -vf scale=in_color_matrix=bt709:out_color_matrix=bt601 -c:v ffv1 -an scale_test_bt601.nut
ffmpeg -i xdcam_ex/fcp7_xdcam_ex_1080_25p_1s.mov -c:v ffv1 -an scale_test_unscaled.nut
The frames of the resulting files are identical.
Change History (9)
follow-up: 6 comment:5 by , 7 years ago
|Component:||undetermined → swscale|
|Reproduced by developer:||set|
|Status:||new → open|
|Type:||enhancement → defect|
|Version:||unspecified → git-master|