Opened 8 months ago

Closed 2 months ago

Last modified 2 months ago

#6325 closed enhancement (fixed)

Wrong resolution in output from hevc stream

Reported by: kotofos Owned by:
Priority: wish Component: avcodec
Version: git-master Keywords: hevc cropping
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:
Incorrect output - wider than original resolution on particular stream.
How to reproduce:
I'm trying to uncompress hevc file to yuv. But resolution of output differ from reference hevc decoder output from https://hevc.hhi.fraunhofer.de/svn/svn_HEVCSoftware/tags/HM-16.8+SCM-7.0/.
reference 412x236
ffmpeg 414x236

Happens on linux, windows and mac.

ITU stream http://wftp3.itu.int/av-arch/jctvc-site/bitstream_exchange/draft_conformance/HEVC_v1/CONFWIN_A_Sony_1.zip

% ffmpeg.exe -i CONFWIN_A_Sony_1.bit dump_ff.yuv
ffmpeg version N-85469-gf1d80bc Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 6.3.0 (GCC)
  configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-zlib
  libavutil      55. 61.100 / 55. 61.100
  libavcodec     57. 92.100 / 57. 92.100
  libavformat    57. 72.100 / 57. 72.100
  libavdevice    57.  7.100 / 57.  7.100
  libavfilter     6. 84.101 /  6. 84.101
  libswscale      4.  7.100 /  4.  7.100
  libswresample   2.  8.100 /  2.  8.100
  libpostproc    54.  6.100 / 54.  6.100
[hevc @ 00000000025c4360] Reducing left output window to 0 chroma samples to preserve alignment.
    Last message repeated 2 times
Input #0, hevc, from 'CONFWIN_A_Sony_1.bit':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: hevc (Main), yuv420p(tv), 414x236, 29.97 fps, 29.97 tbr, 1200k tbn, 29.97 tbc
File 'd:\dump_ff.yuv' already exists. Overwrite ? [y/N] y
[hevc @ 00000000025b7740] Reducing left output window to 0 chroma samples to preserve alignment.
Stream mapping:
  Stream #0:0 -> #0:0 (hevc (native) -> rawvideo (native))
Press [q] to stop, [?] for help
[hevc @ 00000000025b7740] Reducing left output window to 0 chroma samples to preserve alignment.
Output #0, rawvideo, to 'd:\dump_ff.yuv':
  Metadata:
    encoder         : Lavf57.72.100
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 414x236, q=2-31, 35138 kb/s, 29.97 fps, 29.97 tbn, 29.97 tbc
    Metadata:
      encoder         : Lavc57.92.100 rawvideo
frame=   60 fps=0.0 q=-0.0 Lsize=    8587kB time=00:00:02.00 bitrate=35138.3kbits/s speed=32.4x
video:8587kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%

ffmpeg.exe -v 9 -loglevel 99
ffmpeg version N-85469-gf1d80bc Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 6.3.0 (GCC)
  configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-zlib
  libavutil      55. 61.100 / 55. 61.100
  libavcodec     57. 92.100 / 57. 92.100
  libavformat    57. 72.100 / 57. 72.100
  libavdevice    57.  7.100 / 57.  7.100
  libavfilter     6. 84.101 /  6. 84.101
  libswscale      4.  7.100 /  4.  7.100
  libswresample   2.  8.100 /  2.  8.100
  libpostproc    54.  6.100 / 54.  6.100
Splitting the commandline.
Reading option '-v' ... matched as option 'v' (set logging level) with argument '9'.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument '99'.
Reading option '-i' ... matched as input url with argument 'CONFWIN_A_Sony_1.bit'.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set logging level) with argument 9.
Successfully parsed a group of options.
Parsing a group of options: input url CONFWIN_A_Sony_1.bit.
Successfully parsed a group of options.
Opening an input file: CONFWIN_A_Sony_1.bit.
[file @ 0000000000d47be0] Setting default whitelist 'file,crypto'
Probing hevc score:51 size:2048
Probing mp3 score:1 size:2048
[hevc @ 0000000000d473e0] Format hevc probed with size=2048 and score=51
[hevc @ 0000000000d473e0] Before avformat_find_stream_info() pos: 0 bytes read:32768 seeks:0 nb_streams:1
[hevc @ 00000000024d42c0] Decoding VPS
[hevc @ 00000000024d42c0] Main profile bitstream
[hevc @ 00000000024d42c0] Decoding SPS
[hevc @ 00000000024d42c0] Main profile bitstream
[hevc @ 00000000024d42c0] Decoding VUI
[hevc @ 00000000024d42c0] Reducing left output window to 0 chroma samples to preserve alignment.
[hevc @ 00000000024d42c0] Decoding PPS
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 129
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 1
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 6
[AVBSFContext @ 0000000000d4ef00] nal_unit_type: 35(AUD), nuh_layer_id: 0, temporal_id: 0
[AVBSFContext @ 0000000000d4ef00] nal_unit_type: 32(VPS), nuh_layer_id: 0, temporal_id: 0
[AVBSFContext @ 0000000000d4ef00] nal_unit_type: 33(SPS), nuh_layer_id: 0, temporal_id: 0
[AVBSFContext @ 0000000000d4ef00] nal_unit_type: 34(PPS), nuh_layer_id: 0, temporal_id: 0
[AVBSFContext @ 0000000000d4ef00] nal_unit_type: 39(SEI_PREFIX), nuh_layer_id: 0, temporal_id: 0
    Last message repeated 3 times
[AVBSFContext @ 0000000000d4ef00] nal_unit_type: 19(IDR_W_RADL), nuh_layer_id: 0, temporal_id: 0
[hevc @ 00000000024d42c0] nal_unit_type: 35(AUD), nuh_layer_id: 0, temporal_id: 0
[hevc @ 00000000024d42c0] nal_unit_type: 32(VPS), nuh_layer_id: 0, temporal_id: 0
[hevc @ 00000000024d42c0] nal_unit_type: 33(SPS), nuh_layer_id: 0, temporal_id: 0
[hevc @ 00000000024d42c0] nal_unit_type: 34(PPS), nuh_layer_id: 0, temporal_id: 0
[hevc @ 00000000024d42c0] nal_unit_type: 39(SEI_PREFIX), nuh_layer_id: 0, temporal_id: 0
    Last message repeated 3 times
[hevc @ 00000000024d42c0] nal_unit_type: 19(IDR_W_RADL), nuh_layer_id: 0, temporal_id: 0
[hevc @ 00000000024d42c0] Decoding VPS
[hevc @ 00000000024d42c0] Main profile bitstream
[hevc @ 00000000024d42c0] Decoding SPS
[hevc @ 00000000024d42c0] Main profile bitstream
[hevc @ 00000000024d42c0] Decoding VUI
[hevc @ 00000000024d42c0] Reducing left output window to 0 chroma samples to preserve alignment.
[hevc @ 00000000024d42c0] Decoding PPS
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 129
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 1
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 6
[hevc @ 00000000024d42c0] Decoded frame with POC 0.
[hevc @ 00000000024d42c0] Decoding VPS
[hevc @ 00000000024d42c0] Main profile bitstream
[hevc @ 00000000024d42c0] Decoding SPS
[hevc @ 00000000024d42c0] Main profile bitstream
[hevc @ 00000000024d42c0] Decoding VUI
[hevc @ 00000000024d42c0] Reducing left output window to 0 chroma samples to preserve alignment.
[hevc @ 00000000024d42c0] Decoding PPS
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 1
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 1
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 1
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 1
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 1
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 1
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 1
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 1
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 1
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 1
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 1
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 1
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 1
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 1
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 1
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 1
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 1
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 1
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 1
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 1
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 1
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 1
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 1
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 1
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 1
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 1
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 1
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 1
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 1
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 129
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 1
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 6
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 1
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 1
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 1
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 1
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 1
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 1
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 1
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 1
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 1
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 1
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 1
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 1
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 1
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 1
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 1
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 1
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 1
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 1
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 1
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 1
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 1
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 1
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 1
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 1
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 1
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 1
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 1
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 1
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 1
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 00000000024d42c0] Decoding SEI
[hevc @ 00000000024d42c0] Skipped PREFIX SEI 0
[hevc @ 0000000000d473e0] stream 0: start_time: -7686143364045.646 duration: -7686143364045.646
[hevc @ 0000000000d473e0] format: start_time: -9223372036854.775 duration: -9223372036854.775 bitrate=0 kb/s
[hevc @ 0000000000d473e0] After avformat_find_stream_info() pos: 283483 bytes read:283483 seeks:0 frames:60
Input #0, hevc, from 'CONFWIN_A_Sony_1.bit':
  Duration: N/A, bitrate: N/A
    Stream #0:0, 60, 1/1200000: Video: hevc (Main), 1 reference frame, yuv420p(tv), 414x236 (416x240), 0/1, 29.97 fps, 29.97 tbr, 1200k tbn, 29.97 tbc
Successfully opened the file.
At least one output file must be specified
[AVIOContext @ 0000000000d47e00] Statistics: 283483 bytes read, 0 seeks

Attachments (1)

CONFWIN_A_Sony_1.bit (276.8 KB) - added by kotofos 8 months ago.
Itu stream with conformance window. Correct resolution 412x236

Download all attachments as: .zip

Change History (9)

Changed 8 months ago by kotofos

Itu stream with conformance window. Correct resolution 412x236

comment:1 follow-up: Changed 8 months ago by heleppkes

The decoder tells you that it skips some output window adjustment because of alignment issues, its right there in the log.

You can set AV_CODEC_FLAG_UNALIGNED to allow it to do so anyway (on the CLI -flags unaligned), but not all code may be happy with unaligned image frames, at the very least it might get slower, at worst it might even crash somewhere.

comment:2 in reply to: ↑ 1 Changed 8 months ago by kotofos

Replying to heleppkes:

The decoder tells you that it skips some output window adjustment because of alignment issues, its right there in the log.

You can set AV_CODEC_FLAG_UNALIGNED to allow it to do so anyway (on the CLI -flags unaligned), but not all code may be happy with unaligned image frames, at the very least it might get slower, at worst it might even crash somewhere.

Thanks for the information. So can ticket be closed as not are bug?

comment:3 Changed 8 months ago by richardpl

Yes, it can be closed.

comment:4 Changed 8 months ago by kotofos

  • Resolution set to invalid
  • Status changed from new to closed

comment:5 Changed 8 months ago by cehoyos

  • Component changed from undetermined to avcodec
  • Keywords hevc added
  • Priority changed from normal to wish
  • Type changed from defect to enhancement
  • Version changed from unspecified to git-master

Looks like this will be fixed soon.

comment:6 Changed 8 months ago by cehoyos

  • Resolution invalid deleted
  • Status changed from closed to reopened

comment:7 Changed 2 months ago by cehoyos

  • Resolution set to fixed
  • Status changed from reopened to closed

comment:8 Changed 2 months ago by cehoyos

  • Keywords cropping added
Note: See TracTickets for help on using tickets.