[FFmpeg-trac] #8465(undetermined:new): avformat_find_stream_info does not fill MPEG2-TS/HEVC resolution with HEVC decoder disabled

FFmpeg trac at avcodec.org
Wed Jan 8 17:46:31 EET 2020


#8465: avformat_find_stream_info does not fill MPEG2-TS/HEVC resolution with HEVC
decoder disabled
-------------------------------------+-------------------------------------
             Reporter:  ddyndo       |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  git-master   |               Resolution:
             Keywords:  hevc         |               Blocked By:
  mpeg2ts mpegts metadata            |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by ddyndo):

 And this is an output (with resolution, etc.) if decoder is enabled:

 {{{
 ~/Desktop/ffmpeg-git-20190521-amd64-static$ ./ffprobe -v 50 ../h1.ts
 ffprobe version N-48905-ge45e6005ce-static
 https://johnvansickle.com/ffmpeg/  Copyright (c) 2007-2019 the FFmpeg
 developers
   built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516
   configuration: --enable-gpl --enable-version3 --enable-static --disable-
 debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio
 --cc=gcc-6 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-
 gmp --enable-gray --enable-libaom --enable-libfribidi --enable-libass
 --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-
 libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
 --enable-librubberband --enable-libsoxr --enable-libspeex --enable-
 libvorbis --enable-libopus --enable-libtheora --enable-libvidstab
 --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264
 --enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvid
 --enable-libzvbi --enable-libzimg
   libavutil      56. 28.100 / 56. 28.100
   libavcodec     58. 52.102 / 58. 52.102
   libavformat    58. 27.103 / 58. 27.103
   libavdevice    58.  7.100 / 58.  7.100
   libavfilter     7. 53.101 /  7. 53.101
   libswscale      5.  4.101 /  5.  4.101
   libswresample   3.  4.100 /  3.  4.100
   libpostproc    55.  4.100 / 55.  4.100
 [NULL @ 0x5b88c00] Opening '../h1.ts' for reading
 [file @ 0x5b89500] Setting default whitelist 'file,crypto'
 [mpegts @ 0x5b88c00] Format mpegts probed with size=2048 and score=50
 [mpegts @ 0x5b88c00] stream=0 stream_type=6 pid=12d prog_reg_desc=
 [mpegts @ 0x5b88c00] Before avformat_find_stream_info() pos: 0 bytes
 read:32768 seeks:0 nb_streams:1
 [hevc @ 0x5b8d740] nal_unit_type: 32(VPS), nuh_layer_id: 0, temporal_id: 0
 [hevc @ 0x5b8d740] nal_unit_type: 33(SPS), nuh_layer_id: 0, temporal_id: 0
 [hevc @ 0x5b8d740] nal_unit_type: 34(PPS), nuh_layer_id: 0, temporal_id: 0
 [hevc @ 0x5b8d740] nal_unit_type: 19(IDR_W_RADL), nuh_layer_id: 0,
 temporal_id: 0
 [hevc @ 0x5b8d740] Decoding VPS
 [hevc @ 0x5b8d740] Unknown HEVC profile: 0
 [hevc @ 0x5b8d740] Decoding SPS
 [hevc @ 0x5b8d740] Unknown HEVC profile: 0
 [hevc @ 0x5b8d740] Decoding PPS
 [AVBSFContext @ 0x5bf7e40] nal_unit_type: 32(VPS), nuh_layer_id: 0,
 temporal_id: 0
 [AVBSFContext @ 0x5bf7e40] nal_unit_type: 33(SPS), nuh_layer_id: 0,
 temporal_id: 0
 [AVBSFContext @ 0x5bf7e40] nal_unit_type: 34(PPS), nuh_layer_id: 0,
 temporal_id: 0
 [AVBSFContext @ 0x5bf7e40] nal_unit_type: 19(IDR_W_RADL), nuh_layer_id: 0,
 temporal_id: 0
 [hevc @ 0x5b8d740] nal_unit_type: 32(VPS), nuh_layer_id: 0, temporal_id: 0
 [hevc @ 0x5b8d740] nal_unit_type: 33(SPS), nuh_layer_id: 0, temporal_id: 0
 [hevc @ 0x5b8d740] nal_unit_type: 34(PPS), nuh_layer_id: 0, temporal_id: 0
 [hevc @ 0x5b8d740] nal_unit_type: 19(IDR_W_RADL), nuh_layer_id: 0,
 temporal_id: 0
 [hevc @ 0x5b8d740] Decoding VPS
 [hevc @ 0x5b8d740] Unknown HEVC profile: 0
 [hevc @ 0x5b8d740] Decoding SPS
 [hevc @ 0x5b8d740] Unknown HEVC profile: 0
 [hevc @ 0x5b8d740] Decoding PPS
 [hevc @ 0x5b8d740] Format yuv420p chosen by get_format().
 [hevc @ 0x5b8d740] Decoded frame with POC 0.
 [hevc @ 0x5b8d740] nal_unit_type: 32(VPS), nuh_layer_id: 0, temporal_id: 0
 [hevc @ 0x5b8d740] nal_unit_type: 33(SPS), nuh_layer_id: 0, temporal_id: 0
 [hevc @ 0x5b8d740] nal_unit_type: 34(PPS), nuh_layer_id: 0, temporal_id: 0
 [hevc @ 0x5b8d740] Decoding VPS
 [hevc @ 0x5b8d740] Unknown HEVC profile: 0
 [hevc @ 0x5b8d740] Decoding SPS
 [hevc @ 0x5b8d740] Unknown HEVC profile: 0
 [hevc @ 0x5b8d740] Decoding PPS
 [hevc @ 0x5b8d740] nal_unit_type: 1(TRAIL_R), nuh_layer_id: 0,
 temporal_id: 0
     Last message repeated 121 times
 [mpegts @ 0x5b88c00] max_analyze_duration 5000000 reached at 5006256
 microseconds st:0
 [mpegts @ 0x5b88c00] rfps: 23.916667 0.009446
 [mpegts @ 0x5b88c00] rfps: 24.000000 0.005342
 [mpegts @ 0x5b88c00] rfps: 23.976024 0.003501
 [mpegts @ 0x5b88c00] rfps: 47.952048 0.014003
 [mpegts @ 0x5b88c00] After avformat_find_stream_info() pos: 0 bytes
 read:479376 seeks:2 frames:122
 Input #0, mpegts, from '../h1.ts':
   Duration: 00:00:12.64, start: 0.080000, bitrate: 355 kb/s
   Program 1
     Stream #0:0[0x12d], 122, 1/90000: Video: hevc, 1 reference frame (HEVC
 / 0x43564548), yuv420p(tv), 320x240 (320x256), 0/1, 23.98 tbr, 90k tbn,
 90k tbc
 }}}

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


More information about the FFmpeg-trac mailing list