[FFmpeg-trac] #8404(undetermined:new): “ffmpeg -i input -c:v libx264rgb output”: ffmpeg sets the color range to “tv” instead of “pc”
FFmpeg
trac at avcodec.org
Wed Nov 27 06:45:31 EET 2019
#8404: “ffmpeg -i input -c:v libx264rgb output”: ffmpeg sets the color range to
“tv” instead of “pc”
-------------------------------------+-------------------------------------
Reporter: Kdmeizk | Type: defect
Status: new | Priority: normal
Component: | Version: git-
undetermined | master
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
{{{
ffmpeg -h encoder=libx264rgb
Encoder libx264rgb [libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
RGB]:
General capabilities: delay threads
Threading capabilities: auto
Supported pixel formats: bgr0 bgr24 rgb24
}}}
{{{
cat libavcodec/libx264.c
[…]
x4->params.vui.b_fullrange = avctx->pix_fmt == AV_PIX_FMT_YUVJ420P ||
avctx->pix_fmt == AV_PIX_FMT_YUVJ422P ||
avctx->pix_fmt == AV_PIX_FMT_YUVJ444P ||
avctx->color_range == AVCOL_RANGE_JPEG;
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/8404>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list