#11448(swscale:new): swscale ignores param0/param1
#11448: swscale ignores param0/param1 -------------------------------------+------------------------------------- Reporter: b7j6abhi3q | Type: defect Status: new | Priority: normal Component: swscale | Version: | unspecified Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Summary of the bug: Passing different values of param0 and param1 to the scale filter produces identical output when it shouldn't. How to reproduce: {{{ % ffmpeg -i input -vf scale=-2:540:flags=bicubic:param0=1:param1=0 -f hash - SHA256=7083e8d529bc9639a0db1d9aff4253442fa227ac632e19151e863b91611c200d % ffmpeg -i input -vf scale=-2:540:flags=bicubic:param0=0:param=0.5 -f hash - SHA256=7083e8d529bc9639a0db1d9aff4253442fa227ac632e19151e863b91611c200d ffmpeg version N-118406-g957eb2323a-20250203 }}} -- Ticket URL: <https://trac.ffmpeg.org/ticket/11448> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#11448: swscale ignores param0/param1 -------------------------------------+----------------------------------- Reporter: b7j6abhi3q | Owner: (none) Type: defect | Status: new Priority: normal | Component: swscale Version: unspecified | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+----------------------------------- Description changed by b7j6abhi3q: Old description:
Summary of the bug: Passing different values of param0 and param1 to the scale filter produces identical output when it shouldn't. How to reproduce: {{{ % ffmpeg -i input -vf scale=-2:540:flags=bicubic:param0=1:param1=0 -f hash - SHA256=7083e8d529bc9639a0db1d9aff4253442fa227ac632e19151e863b91611c200d % ffmpeg -i input -vf scale=-2:540:flags=bicubic:param0=0:param=0.5 -f hash - SHA256=7083e8d529bc9639a0db1d9aff4253442fa227ac632e19151e863b91611c200d
ffmpeg version N-118406-g957eb2323a-20250203 }}}
New description: Summary of the bug: Passing different values of param0 and param1 to the scale filter produces identical output when it shouldn't. How to reproduce: {{{ % ffmpeg -i input -vf scale=-2:540:flags=bicubic:param0=1:param1=0 -f hash - SHA256=7083e8d529bc9639a0db1d9aff4253442fa227ac632e19151e863b91611c200d % ffmpeg -i input -vf scale=-2:540:flags=bicubic:param0=0:param1=0.5 -f hash - SHA256=7083e8d529bc9639a0db1d9aff4253442fa227ac632e19151e863b91611c200d ffmpeg version N-118406-g957eb2323a-20250203 }}} -- -- Ticket URL: <https://trac.ffmpeg.org/ticket/11448#comment:1> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#11448: "swscale" ignores "param0"/"param1"? ------------------------------------+----------------------------------- Reporter: b7j6abhi3q | Owner: (none) Type: defect | Status: new Priority: normal | Component: swscale Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 1 | ------------------------------------+----------------------------------- Changes (by MasterQuestionable): * analyzed: 0 => 1 * cc: MasterQuestionable (added) * summary: swscale ignores param0/param1 => "swscale" ignores "param0"/"param1"? * version: unspecified => git-master Comment: ͏ "The specified values are specific of some scaling algorithms and ignored by others." ͏ Per: https://ffmpeg.org/ffmpeg-scaler.html ͏ Please further verify? ͏ See also: https://trac.ffmpeg.org/ticket/10993#comment:2 -- Ticket URL: <https://trac.ffmpeg.org/ticket/11448#comment:2> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#11448: "swscale" ignores "param0"/"param1"? ------------------------------------+----------------------------------- Reporter: b7j6abhi3q | Owner: (none) Type: defect | Status: new Priority: normal | Component: swscale Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 1 | ------------------------------------+----------------------------------- Comment (by Leo Izen): Can you provide a sample input file for which this is the case? -- Ticket URL: <https://trac.ffmpeg.org/ticket/11448#comment:3> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#11448: "swscale" ignores "param0"/"param1"? ------------------------------------+----------------------------------- Reporter: b7j6abhi3q | Owner: (none) Type: defect | Status: new Priority: normal | Component: swscale Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 1 | ------------------------------------+----------------------------------- Comment (by b7j6abhi3q): I should have mentioned the same command works in 7.1, more detailed example in which case the difference is also visually obvious if output to file: ffmpeg version n7.1-184-gdc07f98934-20250206 {{{ % ffmpeg -i carphone_qcif.y4m -vf scale=1440:1080:flags=bicubic,setsar=1 -f hash - SHA256=f8d1a22960bd14de8933cdd55995dbfe553ab0d3e7fde78c307e7bd92b08f60c % ffmpeg -i carphone_qcif.y4m -vf scale=1440:1080:flags=bicubic:param0=1:param1=0,setsar=1 -f hash - SHA256=6556d0e7f59dde9d7c73ff2f9632bfbc388806f0022146a994ea24852b01506 % ffmpeg -i carphone_qcif.y4m -vf scale=1440:1080:flags=bicubic:param0=0:param1=0,setsar=1 -f hash - SHA256=90261f5618ceba055a46a5e6d18c422d36802576df554795816819e31ab3affb }}} ffmpeg version N-118431-g6da82b4485-20250206 {{{ % ffmpeg -i carphone_qcif.y4m -vf scale=1440:1080:flags=bicubic,setsar=1 -f hash - SHA256=f8d1a22960bd14de8933cdd55995dbfe553ab0d3e7fde78c307e7bd92b08f60c % ffmpeg -i carphone_qcif.y4m -vf scale=1440:1080:flags=bicubic:param0=1:param1=0,setsar=1 -f hash - SHA256=f8d1a22960bd14de8933cdd55995dbfe553ab0d3e7fde78c307e7bd92b08f60c % ffmpeg -i carphone_qcif.y4m -vf scale=1440:1080:flags=bicubic:param0=0:param1=0,setsar=1 -f hash - SHA256=f8d1a22960bd14de8933cdd55995dbfe553ab0d3e7fde78c307e7bd92b08f60c }}} sample from https://media.xiph.org/video/derf/y4m/carphone_qcif.y4m The problem occurred with every input video that I tested and also with the lanczos filter. -- Ticket URL: <https://trac.ffmpeg.org/ticket/11448#comment:4> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#11448: [Regression] "swscale" ignores "param0"/"param1" after 7.1 ------------------------------------+----------------------------------- Reporter: b7j6abhi3q | Owner: (none) Type: defect | Status: open Priority: normal | Component: swscale Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 1 | ------------------------------------+----------------------------------- Changes (by MasterQuestionable): * status: new => open * summary: "swscale" ignores "param0"/"param1"? => [Regression] "swscale" ignores "param0"/"param1" after 7.1 Comment: ͏ Regression window: ͏ https://github.com/FFmpeg/FFmpeg/commits?since=2025-01-23&until=2025-02-03 ͏ ; prominently 2025-02-02 ~ 2025-02-03 ͏ (keyword "scale") ͏ Please investigate the exact commit? ͏ Thanks. -- Ticket URL: <https://trac.ffmpeg.org/ticket/11448#comment:5> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#11448: [Regression] "swscale" ignores "param0"/"param1" after 7.1 ------------------------------------+----------------------------------- Reporter: b7j6abhi3q | Owner: (none) Type: defect | Status: open Priority: important | Component: swscale Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 1 | ------------------------------------+----------------------------------- Changes (by James): * priority: normal => important Comment: A fix was sent: https://patchwork.ffmpeg.org/project/ffmpeg/list/?series=13878 -- Ticket URL: <https://trac.ffmpeg.org/ticket/11448#comment:6> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#11448: [Regression] "swscale" ignores "param0"/"param1" after 7.1 ------------------------------------+----------------------------------- Reporter: b7j6abhi3q | Owner: (none) Type: defect | Status: closed Priority: important | Component: swscale Version: git-master | Resolution: fixed Keywords: | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 1 | ------------------------------------+----------------------------------- Changes (by James): * reproduced: 0 => 1 * resolution: => fixed * status: open => closed Comment: Fixed in 268d0b6527cba1ebac1f44347578617341f85c35. -- Ticket URL: <https://trac.ffmpeg.org/ticket/11448#comment:7> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
participants (1)
-
FFmpeg