[FFmpeg-trac] #5096(avfilter:new): video range shifted at high bit depth video transcoding

FFmpeg trac at avcodec.org
Mon Dec 28 14:27:33 CET 2015


#5096: video range shifted at high bit depth video transcoding
--------------------------------------+------------------------------------
             Reporter:  Thomas Mundt  |                    Owner:
                 Type:  defect        |                   Status:  new
             Priority:  normal        |                Component:  avfilter
              Version:  git-master    |               Resolution:
             Keywords:                |               Blocked By:
             Blocking:                |  Reproduced by developer:  0
Analyzed by developer:  0             |
--------------------------------------+------------------------------------

Comment (by Thomas Mundt):

 I continued testing and discovered that it is the auto inserted scaler
 which does the range shift. The effect can be increased by cascading
 format changes in the video filter. Just transcode one of my input files
 to an arbitrary output codec with following video filter:
 -vf "format=pix_fmts=yuv420p, format=pix_fmts=yuv422p,
 format=pix_fmts=yuv420p, format=pix_fmts=yuv422p"

 This problem didnĀ“t appear with old ffmpeg v2.2.
 I found the patch that involved the issue:

 [http://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=4959a4fcf76e7c595dbb23c4e3bf59abf2e60ea4]

 When I withdraw the changes in git master the range shift is gone.

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


More information about the FFmpeg-trac mailing list