[FFmpeg-trac] #9627(undetermined:new): vf cas fails with 10bit pix_fmt

FFmpeg trac at avcodec.org
Sat Feb 5 18:19:05 EET 2022


#9627: vf cas fails with 10bit pix_fmt
-------------------------------------+-------------------------------------
             Reporter:  chrisbgp     |                    Owner:  (none)
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  unspecified  |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Description changed by chrisbgp:

Old description:

> Summary of the bug:
>
> vf: cas=0.96:1 and pix_fmt yuv420p10le gives the following error:
> Assertion ((src_linesize) >= 0 ? (src_linesize) : (-(src_linesize))) >=
> bytewidth failed at libavutil/imgutils.c:349
>
> undesired workaround is to use either cas=0.96 (produces visible color
> artifacts) OR encode in 8 bit with pix_fmt yuv420p.
>
> Any idea why cas=0.96:1 with yuv420p10le is not working?

New description:

 Summary of the bug:

 vf: cas=0.96:1 and pix_fmt yuv420p10le gives the following error:
 Assertion ((src_linesize) >= 0 ? (src_linesize) : (-(src_linesize))) >=
 bytewidth failed at libavutil/imgutils.c:349

 undesired workaround is to use either cas=0.96 (produces visible color
 artifacts) OR encode in 8 bit with pix_fmt yuv420p.

 Any idea why cas=0.96:1 with yuv420p10le is not working?

 PS: nlmeans,cas=0.96:1 -pix_fmt yuv420p10le works fine

--
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9627#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list