[FFmpeg-trac] #8712(avcodec:new): Don't work transcoding for HDR file

FFmpeg trac at avcodec.org
Mon Jun 8 12:20:00 EEST 2020


#8712: Don't work transcoding for HDR file
-------------------------------------+-----------------------------------
             Reporter:  nikin.v      |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:  avcodec
              Version:  unspecified  |               Resolution:
             Keywords:  hevc hdr     |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-----------------------------------

Comment (by nikin.v):

 I have got build from here https://ffmpeg.zeranoe.com/builds/
 The last build is ffmpeg-20200604-7f81785-win64-static.zip

 Will that be all right?

 {{{
 $ ./ffmpeg.exe -i Samsung\ 4K\ HDR\ Demo\ -\ Introducing\ Quantum\ Dot\
 Display.ts temp.ts
 ffmpeg version git-2020-06-04-7f81785 Copyright (c) 2000-2020 the FFmpeg
 developers
   built with gcc 9.3.1 (GCC) 20200523
   configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-
 fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-
 libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame
 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
 --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr
 --enable-libsrt --enable-libtheora --enable-libtwolame --enable-libvpx
 --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265
 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp
 --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvo-
 amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-
 libaom --disable-w32threads --enable-libmfx --enable-ffnvcodec --enable-
 cuda-llvm --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec
 --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf
   libavutil      56. 49.100 / 56. 49.100
   libavcodec     58. 90.100 / 58. 90.100
   libavformat    58. 44.100 / 58. 44.100
   libavdevice    58.  9.103 / 58.  9.103
   libavfilter     7. 84.100 /  7. 84.100
   libswscale      5.  6.101 /  5.  6.101
   libswresample   3.  6.100 /  3.  6.100
   libpostproc    55.  6.100 / 55.  6.100
 [mpegts @ 0000015cfaaada00] start time for stream 1 is not set in
 estimate_timings_from_pts
 [mpegts @ 0000015cfaaada00] stream 1 : no TS found at start of file,
 duration not set
 [mpegts @ 0000015cfaaada00] Could not find codec parameters for stream 1
 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels): unspecified sample
 format
 Consider increasing the value for the 'analyzeduration' and 'probesize'
 options
 Input #0, mpegts, from 'Samsung 4K HDR Demo - Introducing Quantum Dot
 Display.ts':
   Duration: 00:01:57.17, start: 1.066722, bitrate: 51960 kb/s
   Program 1
     Stream #0:0[0x101]: Video: hevc (Main 10) ([36][0][0][0] / 0x0024),
 yuv420p10le(tv, bt2020nc/bt2020/smpte2084), 3840x2160 [SAR 1:1 DAR 16:9],
 59.94 fps, 59.94 tbr, 90k tbn, 59.94 tbc
     Stream #0:1[0x102](und): Audio: aac ([15][0][0][0] / 0x000F), 0
 channels
 Stream mapping:
   Stream #0:0 -> #0:0 (hevc (native) -> mpeg2video (native))
 Press [q] to stop, [?] for help
 Output #0, mpegts, to 'temp.ts':
   Metadata:
     encoder         : Lavf58.44.100
     Stream #0:0: Video: mpeg2video (Main), yuv420p, 3840x2160 [SAR 1:1 DAR
 16:9], q=2-31, 200 kb/s, 59.94 fps, 90k tbn, 59.94 tbc
     Metadata:
       encoder         : Lavc58.90.100 mpeg2video
     Side data:
       cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: N/A
 frame= 7023 fps= 15 q=31.0 Lsize=  231733kB time=00:01:57.13
 bitrate=16206.8kbits/s speed=0.256x
 video:225582kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: 2.726686%

 }}}



 MediaInfo output for processed file
 {{{
 General
 ID                                       : 1 (0x1)
 Complete name                            :
 C:\Users\Valentin\Downloads\ffmpeg-20200604-7f81785-win64-static\ffmpeg-20200604-7f81785-win64-static\bin\temp.ts
 Format                                   : MPEG-TS
 File size                                : 226 MiB
 Duration                                 : 1 min 57 s
 Overall bit rate mode                    : Variable
 Overall bit rate                         : 16.2 Mb/s

 Video
 ID                                       : 256 (0x100)
 Menu ID                                  : 1 (0x1)
 Format                                   : MPEG Video
 Format version                           : Version 2
 Format profile                           : Main at High
 Format settings, BVOP                    : No
 Format settings, Matrix                  : Default
 Format settings, GOP                     : Variable
 Codec ID                                 : 2
 Duration                                 : 1 min 57 s
 Bit rate mode                            : Variable
 Bit rate                                 : 15.4 Mb/s
 Width                                    : 3 840 pixels
 Height                                   : 2 160 pixels
 Display aspect ratio                     : 16:9
 Frame rate                               : 59.940 (60000/1001) FPS
 Color space                              : YUV
 Chroma subsampling                       : 4:2:0
 Bit depth                                : 8 bits
 Scan type                                : Progressive
 Compression mode                         : Lossy
 Bits/(Pixel*Frame)                       : 0.031
 Time code of first frame                 : 00:00:00:00
 Time code source                         : Group of pictures header
 GOP, Open/Closed                         : Open
 GOP, Open/Closed of first frame          : Closed
 Stream size                              : 215 MiB (95%)

 Menu
 ID                                       : 4096 (0x1000)
 Menu ID                                  : 1 (0x1)
 Duration                                 : 1 min 57 s
 List                                     : 256 (0x100) (MPEG Video)
 Service name                             : Service01
 Service provider                         : FFmpeg
 Service type                             : digital television


 }}}

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


More information about the FFmpeg-trac mailing list