#10986(avfilter:new): The "scale" filter has wrong color range ("out_range") parameter autodetection and set
#10986: The "scale" filter has wrong color range ("out_range") parameter autodetection and set ----------------------------------+--------------------------------------- Reporter: ioctl | Type: defect Status: new | Priority: normal Component: avfilter | Version: unspecified Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ----------------------------------+--------------------------------------- Here are the steps to reproduce from scratch: Generate video with the PC color range: `ffmpeg -f lavfi -i mandelbrot=end_pts=50:size=1920x1080 -pix_fmt yuv420p10le -vf scale=out_range=pc -t 5 mandelbrot-in.mkv` Variant 1, scale and encode with the x264: `ffmpeg -i mandelbrot-in.mkv -vf scale=960:-1:flags=lanczos mandelbrot-x264.mp4` `ffprobe mandelbrot-x264.mp4 2>&1 | grep yuv4` in the output color type is yuv420p10le(progressive) , no PC spec Variant 2, scale and encode with the svt-av1: `ffmpeg -i mandelbrot-in.mkv -vf scale=960:-1:flags=lanczos -c:v libsvtav1 mandelbrot-av1.mp4` `ffprobe mandelbrot-av1.mp4 2>&1 | grep yuv4` in the output color type is yuv420p10le(tv, progressive) , PC become unexpected TV Looks like the scale filter has incorrect input color range autodetection and/or incorrect set of this option for the further encoding. -- Ticket URL: <https://trac.ffmpeg.org/ticket/10986> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#10986: The "scale" filter has wrong color range ("out_range") parameter autodetection and set -------------------------------------+------------------------------------ Reporter: ioctl | Owner: (none) Type: defect | Status: new Priority: normal | Component: avfilter Version: unspecified | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------ Comment (by Balling): Where is out_range=pc in second and third commands? -- Ticket URL: <https://trac.ffmpeg.org/ticket/10986#comment:1> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#10986: The "scale" filter has wrong color range ("out_range") parameter autodetection and set -------------------------------------+------------------------------------ Reporter: ioctl | Owner: (none) Type: defect | Status: new Priority: normal | Component: avfilter Version: unspecified | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------ Comment (by ioctl): There is no such option. Why it should be there? It's not obvious that the scale filter will touch out_range. This behavior seems unexpected. -- Ticket URL: <https://trac.ffmpeg.org/ticket/10986#comment:2> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#10986: The "scale" filter has wrong color range ("out_range") parameter autodetection and set -------------------------------------+------------------------------------- Reporter: ioctl | Owner: (none) Type: defect | Status: closed Priority: normal | Component: avfilter Version: unspecified | Resolution: | worksforme Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Changes (by Gyan): * status: new => closed * resolution: => worksforme Comment: Can't reproduce; works with git master. -- Ticket URL: <https://trac.ffmpeg.org/ticket/10986#comment:3> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#10986: The "scale" filter has wrong color range ("out_range") parameter autodetection and set -------------------------------------+------------------------------------- Reporter: ioctl | Owner: (none) Type: defect | Status: closed Priority: normal | Component: avfilter Version: unspecified | Resolution: | worksforme Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by ioctl): FYI. Just tested git version - works fine. This bug was in version 6.1.1 -- Ticket URL: <https://trac.ffmpeg.org/ticket/10986#comment:4> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
participants (1)
-
FFmpeg