[FFmpeg-trac] #5002(avcodec:new): HEVC Decoding Problem

FFmpeg trac at avcodec.org
Tue Nov 10 19:11:00 CET 2015


#5002: HEVC Decoding Problem
-------------------------------------+-------------------------------------
             Reporter:               |                     Type:  defect
  smallishzulu                       |                 Priority:  normal
               Status:  new          |                  Version:  git-
            Component:  avcodec      |  master
             Keywords:  hevc decode  |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Hello All,

 I noticed a TS that can play well on UHD STBs, but having problem on VLC,
 FFplay and FFmpeg. The files are uploaded to here:

 http://www.datafilehost.com/d/03c382a8

 The files are 3840x2160 at 50fps HEVC yuv420p coded. These TS files are
 temporalscaling layered, which means UHD 4K TV wth 25 fps can show also.

 /ffmpeg -i /media/usb1/part1.ts -vcodec rawvideo -an -f nut -y /dev/null
 ffmpeg version N-76542-g6e3244f Copyright (c) 2000-2015 the FFmpeg
 developers
   built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04)
   configuration: --prefix=/opt/ffmpeg --enable-shared --enable-nonfree
 --enable-gpl --extra-cflags='-I/opt/ffmpeg/include -I/usr/local/include'
 --extra-ldflags=-L/opt/ffmpeg/lib --bindir=/opt/ffmpeg/bin --extra-
 libs=-ldl --enable-libx264 --enable-libx265 --enable-nonfree --enable-gpl
 --enable-nvenc --enable-libopenjpeg --enable-vdpau
   libavutil      55.  5.100 / 55.  5.100
   libavcodec     57. 15.100 / 57. 15.100
   libavformat    57. 14.100 / 57. 14.100
   libavdevice    57.  0.100 / 57.  0.100
   libavfilter     6. 15.100 /  6. 15.100
   libswscale      4.  0.100 /  4.  0.100
   libswresample   2.  0.101 /  2.  0.101
   libpostproc    54.  0.100 / 54.  0.100
 [hevc @ 0x24788a0] PPS id out of range: 0
     Last message repeated 1 times
 [hevc @ 0x24788a0] Error parsing NAL unit #1.
 [hevc @ 0x24788a0] PPS id out of range: 0
     Last message repeated 1 times
 [hevc @ 0x24788a0] Error parsing NAL unit #1.
 [hevc @ 0x24788a0] PPS id out of range: 0
     Last message repeated 1 times
 [hevc @ 0x24788a0] Error parsing NAL unit #1.
 [hevc @ 0x24788a0] PPS id out of range: 0
     Last message repeated 1 times
 [hevc @ 0x24788a0] Error parsing NAL unit #1.
 [hevc @ 0x24788a0] PPS id out of range: 0
     Last message repeated 1 times
 [hevc @ 0x24788a0] Error parsing NAL unit #1.
 [hevc @ 0x24788a0] PPS id out of range: 0
     Last message repeated 1 times
 [hevc @ 0x24788a0] Error parsing NAL unit #1.
 [hevc @ 0x24788a0] PPS id out of range: 0
     Last message repeated 1 times
 [hevc @ 0x24788a0] Error parsing NAL unit #1.
 [hevc @ 0x24788a0] PPS id out of range: 0
     Last message repeated 1 times
 [hevc @ 0x24788a0] Error parsing NAL unit #1.
 [hevc @ 0x24788a0] PPS id out of range: 0
     Last message repeated 1 times
 [hevc @ 0x24788a0] Error parsing NAL unit #1.
 [hevc @ 0x24788a0] PPS id out of range: 0
     Last message repeated 1 times
 [hevc @ 0x24788a0] Error parsing NAL unit #1.
 [hevc @ 0x24788a0] PPS id out of range: 0
     Last message repeated 1 times
 [hevc @ 0x24788a0] Error parsing NAL unit #1.
 [hevc @ 0x24788a0] PPS id out of range: 0
     Last message repeated 1 times
 [hevc @ 0x24788a0] Error parsing NAL unit #1.
 [hevc @ 0x24788a0] PPS id out of range: 0
     Last message repeated 1 times
 [hevc @ 0x24788a0] Error parsing NAL unit #1.
 [hevc @ 0x24788a0] PPS id out of range: 0
     Last message repeated 1 times
 [hevc @ 0x24788a0] Error parsing NAL unit #1.
 [hevc @ 0x24788a0] PPS id out of range: 0
     Last message repeated 1 times
 [hevc @ 0x24788a0] Error parsing NAL unit #1.
 [hevc @ 0x24788a0] PPS id out of range: 0
     Last message repeated 1 times
 [hevc @ 0x24788a0] Error parsing NAL unit #1.
 [hevc @ 0x24788a0] PPS id out of range: 0
     Last message repeated 1 times
 [hevc @ 0x24788a0] Error parsing NAL unit #1.
 [hevc @ 0x24788a0] PPS id out of range: 0
     Last message repeated 1 times
 [hevc @ 0x24788a0] Error parsing NAL unit #1.
 [hevc @ 0x24788a0] PPS id out of range: 0
     Last message repeated 1 times
 [hevc @ 0x24788a0] Error parsing NAL unit #1.
 [hevc @ 0x24788a0] PPS id out of range: 0
     Last message repeated 1 times
 [hevc @ 0x24788a0] Error parsing NAL unit #1.
 [mpegts @ 0x24744e0] PES packet size mismatch
 Input #0, mpegts, from '/media/usb1/part1.ts':
   Duration: 00:00:13.07, start: 472.580000, bitrate: 64191 kb/s
   Program 1
     Metadata:
       service_name    : TURKSAT 4K HEVC
       service_provider: TURKSAT
     Stream #0:0[0x3f3]: Video: hevc (Main) ([36][0][0][0] / 0x0024),
 yuv420p(tv), 3840x2160, 50 fps, 50 tbr, 90k tbn, 50 tbc
     Stream #0:1[0x3f4]: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000
 Hz, stereo, fltp, 127 kb/s
 Output #0, nut, to '/dev/null':
   Metadata:
     encoder         : Lavf57.14.100
     Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 3840x2160,
 q=2-31, 200 kb/s, 50 fps, 51200 tbn, 50 tbc
     Metadata:
       encoder         : Lavc57.15.100 rawvideo
 Stream mapping:
   Stream #0:0 -> #0:0 (hevc (native) -> rawvideo (native))
 Press [q] to stop, [?] for help
 [hevc @ 0x24a9040] Could not find ref with POC 28
 [hevc @ 0x24a9040] Could not find ref with POC 24
 [hevc @ 0x24a9040] Could not find ref with POC 32
 [hevc @ 0x24bdf00] Could not find ref with POC 160:00:06.12
 bitrate=4960389.1kbits/s
 [hevc @ 0x24bdf00] Could not find ref with POC 12
 [hevc @ 0x24bdf00] Could not find ref with POC 20
 [hevc @ 0x24a9040] Ignoring POC change between slices: 0 -> 20
 [hevc @ 0x24a9040] Non-matching NAL types of the VCL NALUs: 19 1
 [hevc @ 0x24a9040] Error parsing NAL unit #9.
 Error while decoding stream #0:0: Invalid data found when processing input
 frame=  470 fps= 57 q=-0.0 Lsize= 5710517kB time=00:00:11.78
 bitrate=3971184.5kbits/s
 video:5710500kB audio:0kB subtitle:0kB other streams:0kB global
 headers:0kB muxing overhead: 0.000293%

 The problem is:
 [hevc @ 0x24a9040] Ignoring POC change between slices: 0 -> 20
 [hevc @ 0x24a9040] Non-matching NAL types of the VCL NALUs: 19 1
 [hevc @ 0x24a9040] Error parsing NAL unit #9.

 Output makes lots of freezes on output, which should not occur.

 Kind Regards,

--
Ticket URL: <https://trac.ffmpeg.org/ticket/5002>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list