[FFmpeg-trac] #4980(avcodec:open): yuv444p hevc wrong resolution if x265 ultrafast was used for encoding

FFmpeg trac at avcodec.org
Tue Nov 17 14:51:21 CET 2015


#4980: yuv444p hevc wrong resolution if x265 ultrafast was used for encoding
--------------------------------------+-----------------------------------
             Reporter:  psteinb       |                    Owner:
                 Type:  defect        |                   Status:  open
             Priority:  normal        |                Component:  avcodec
              Version:  git-master    |               Resolution:
             Keywords:  hevc libx265  |               Blocked By:
             Blocking:                |  Reproduced by developer:  1
Analyzed by developer:  0             |
--------------------------------------+-----------------------------------

Comment (by psteinb):

 OK, the x265 people think the ffmpeg decoder is wrong. As I am by no means
 an expert in this, I won't look into the code. I am copy and pasting my
 reply on https://bitbucket.org/multicoreware/x265/issues/197/yuv444p-
 lossless-roundtrip-for-1080p:

 Ok, I took the yuv444p ducks_take_off sample from here:
 https://media.xiph.org/video/derf/ (using the x265 tip and ffmpeg master
 pulled/checkedout on Nov 17, 1:40 CET)

 {{{
 $ x265 --lossless --preset=ultrafast --input-depth 8 --input-res 1200x720
 --fps 50 --input-csp i444 ducks_take_off_444_1200x720p50.yuv
 ducks_take_off_444_1200x720p50_lossless_ultrafast.hevc
 $ ffmpeg -i ducks_take_off_444_1200x720p50_lossless_ultrafast.hevc
 -pix_fmt yuv444p ducks_take_off_444_1200x720p50_lossless_ultrafast.yuv
 $ ${HOME}/software/jctvc-hm/repo/bin/./TAppDecoderStatic -b
 ducks_take_off_444_1200x720p50_lossless_ultrafast.hevc -o
 ducks_take_off_444_1200x720p50_lossless_ultrafast_HM.yuv
 --OutputColourSpaceConvert=UNCHANGED
 $ md5sum  ducks_take_off_444_1200x720p50.yuv
 ducks_take_off_444_1200x720p50_lossless_ultrafast.yuv
 ducks_take_off_444_1200x720p50_lossless_ultrafast_HM.yuv
 c1d2b822af36d5bd84f3f1a516851b45  ducks_take_off_444_1200x720p50.yuv
 022c44ad7e5623144e0e7082db243fd4
 ducks_take_off_444_1200x720p50_lossless_ultrafast.yuv
 2ea9da8efee359221599b502413e957b
 ducks_take_off_444_1200x720p50_lossless_ultrafast_HM.yuv
 }}}

 Note I took the HEVC reference decoder from the master branch of:
 git://hevc.kw.bbc.co.uk/git/jctvc-hm.git

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


More information about the FFmpeg-trac mailing list