Opened 8 years ago

Closed 7 years ago

#5095 closed defect (fixed)

Many warnings shown when decoding a 4k hevc sample

Reported by: Carl Eugen Hoyos Owned by:
Priority: minor Component: avcodec
Version: git-master Keywords: hevc
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

http://thread.gmane.org/gmane.comp.video.ffmpeg.user/60065
A Samsung HDR 4k HEVC sample produces many warnings when decoding, heavily affecting decoding speed.

$ ffmpeg -threads 1 -i Samsung_SUHD_Picture_Quality\ Demo_Nano_Crystal\ Display_UK-Version_cut.mp4 -f null -vframes 7 -
ffmpeg version N-77376-gaefcc77 Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl
  libavutil      55. 11.100 / 55. 11.100
  libavcodec     57. 18.100 / 57. 18.100
  libavformat    57. 20.100 / 57. 20.100
  libavdevice    57.  0.100 / 57.  0.100
  libavfilter     6. 21.100 /  6. 21.100
  libswscale      4.  0.100 /  4.  0.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Samsung_SUHD_Picture_Quality Demo_Nano_Crystal Display_UK-Version_cut.mp4':
  Metadata:
    major_brand     : hvc1
    minor_version   : 0
    compatible_brands: isomhvc1
    creation_time   : 2015-07-11 03:36:53
  Duration: 00:01:55.35, start: 0.000000, bitrate: 177 kb/s
    Stream #0:0(eng): Data: none (mp4s / 0x7334706D), 224 kb/s (default)
    Metadata:
      creation_time   : 2015-07-11 03:36:53
    Stream #0:1(eng): Data: none (mp4s / 0x7334706D), 240 kb/s (default)
    Metadata:
      creation_time   : 2015-07-11 03:36:53
    Stream #0:2(eng): Video: hevc (Main 10) (hvc1 / 0x31637668), yuv420p10le(tv, bt2020nc/bt2020/smpte2084), 3840x2160 [SAR 1:1 DAR 16:9], 49999 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 29.97 tbc (default)
    Metadata:
      creation_time   : 2015-07-11 03:36:53
      encoder         : HEVC Coding
    Stream #0:3(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 383 kb/s (default)
    Metadata:
      creation_time   : 2015-07-11 03:36:53
Output #0, null, to 'pipe:':
  Metadata:
    major_brand     : hvc1
    minor_version   : 0
    compatible_brands: isomhvc1
    encoder         : Lavf57.20.100
    Stream #0:0(eng): Video: wrapped_avframe, yuv420p10le, 3840x2160 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 29.97 fps, 29.97 tbn, 29.97 tbc (default)
    Metadata:
      creation_time   : 2015-07-11 03:36:53
      encoder         : Lavc57.18.100 wrapped_avframe
    Stream #0:1(und): Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s (default)
    Metadata:
      creation_time   : 2015-07-11 03:36:53
      encoder         : Lavc57.18.100 pcm_s16le
Stream mapping:
  Stream #0:2 -> #0:0 (hevc (native) -> wrapped_avframe (native))
  Stream #0:3 -> #0:1 (aac (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
[hevc @ 0x2939620] Invalid NAL unit 0, skipping.
    Last message repeated 207805 times
[hevc @ 0x2939620] Invalid NAL unit 0, skipping..00 bitrate=N/A speed=   0x
    Last message repeated 104141 times
[hevc @ 0x2939620] Invalid NAL unit 0, skipping.0.21 bitrate=N/A speed=0.206x
    Last message repeated 156212 times
[hevc @ 0x2939620] Invalid NAL unit 0, skipping.0.30 bitrate=N/A speed=0.194x
    Last message repeated 94980 times
frame=    7 fps=3.7 q=-0.0 Lsize=N/A time=00:00:00.36 bitrate=N/A speed=0.195x
video:3kB audio:40kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown

Decoding is bitexact wrt the reference decoder.

Attachments (1)

Change History (3)

comment:1 by Hendrik, 8 years ago

I think that sample is just broken. I looked at it once, and it has a lot of frames with nothing but zeros in them.

comment:2 by Carl Eugen Hoyos, 7 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.