[FFmpeg-trac] #8962(undetermined:new): Vulkan filters crash

FFmpeg trac at avcodec.org
Thu Nov 5 19:27:42 EET 2020


#8962: Vulkan filters crash
-------------------------------------+-------------------------------------
             Reporter:               |                    Owner:
  paulpacifico                       |
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  git-master   |               Resolution:
             Keywords:  vulkan       |               Blocked By:
  crash                              |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by Anton1699):

 I can reproduce this with an Nvidia GTX 1060 6GB on Windows 8.1 Pro x64.


 {{{
 ffmpeg started on 2020-11-05 at 18:25:25
 Report written to "ffmpeg-20201105-182525.log"
 Log level: 48
 Command line:
 ffmpeg -hide_banner -report -init_hw_device "vulkan=gpu:0"
 -filter_hw_device gpu -i e17.mkv -filter_complex
 "[0:0]hwupload,scale_vulkan=1280:720,hwdownload,format=yuv420p[out]" -map
 "[out]" -f null NUL
 Splitting the commandline.
 Reading option '-hide_banner' ... matched as option 'hide_banner' (do not
 show program banner) with argument '1'.
 Reading option '-report' ... matched as option 'report' (generate a
 report) with argument '1'.
 Reading option '-init_hw_device' ... matched as option 'init_hw_device'
 (initialise hardware device) with argument 'vulkan=gpu:0'.
 Reading option '-filter_hw_device' ... matched as option
 'filter_hw_device' (set hardware device used when filtering) with argument
 'gpu'.
 Reading option '-i' ... matched as input url with argument 'e17.mkv'.
 Reading option '-filter_complex' ... matched as option 'filter_complex'
 (create a complex filtergraph) with argument
 '[0:0]hwupload,scale_vulkan=1280:720,hwdownload,format=yuv420p[out]'.
 Reading option '-map' ... matched as option 'map' (set input stream
 mapping) with argument '[out]'.
 Reading option '-f' ... matched as option 'f' (force format) with argument
 'null'.
 Reading option 'NUL' ... matched as output url.
 Finished splitting the commandline.
 Parsing a group of options: global .
 Applying option hide_banner (do not show program banner) with argument 1.
 Applying option report (generate a report) with argument 1.
 Applying option init_hw_device (initialise hardware device) with argument
 vulkan=gpu:0.
 [AVHWDeviceContext @ 00000006183c0fc0] GPU listing:
 [AVHWDeviceContext @ 00000006183c0fc0]     0: GeForce GTX 1060 6GB
 (discrete) (0x1c03)
 [AVHWDeviceContext @ 00000006183c0fc0] Using queue family 0 (total queues:
 16) for graphics
 [AVHWDeviceContext @ 00000006183c0fc0]     QF 0 flags: (graphics)
 (compute) (transfers) (sparse)
 [AVHWDeviceContext @ 00000006183c0fc0] Using queue family 2 (total queues:
 8) for compute
 [AVHWDeviceContext @ 00000006183c0fc0]     QF 2 flags: (compute)
 (transfers) (sparse)
 [AVHWDeviceContext @ 00000006183c0fc0] Using queue family 1 (total queues:
 2) for transfers
 [AVHWDeviceContext @ 00000006183c0fc0]     QF 1 flags: (transfers)
 (sparse)
 [AVHWDeviceContext @ 00000006183c0fc0] Using device extension
 "VK_EXT_external_memory_host"
 [AVHWDeviceContext @ 00000006183c0fc0] Using device extension
 VK_EXT_external_memory_host
 [AVHWDeviceContext @ 00000006183c0fc0] Using device: GeForce GTX 1060 6GB
 [AVHWDeviceContext @ 00000006183c0fc0] Alignments:
 [AVHWDeviceContext @ 00000006183c0fc0]
 optimalBufferCopyRowPitchAlignment: 1
 [AVHWDeviceContext @ 00000006183c0fc0]     minMemoryMapAlignment:
 64
 [AVHWDeviceContext @ 00000006183c0fc0]
 minImportedHostPointerAlignment:    4096
 Applying option filter_hw_device (set hardware device used when filtering)
 with argument gpu.
 Applying option filter_complex (create a complex filtergraph) with
 argument
 [0:0]hwupload,scale_vulkan=1280:720,hwdownload,format=yuv420p[out].
 Successfully parsed a group of options.
 Parsing a group of options: input url e17.mkv.
 Successfully parsed a group of options.
 Opening an input file: e17.mkv.
 [NULL @ 00000006183c94c0] Opening 'e17.mkv' for reading
 [file @ 00000006183c9b00] Setting default whitelist 'file,crypto,data'
 [matroska,webm @ 00000006183c94c0] Format matroska,webm probed with
 size=2048 and score=100
 st:0 removing common factor 1000000 from timebase
 st:1 removing common factor 1000000 from timebase
 st:2 removing common factor 1000000 from timebase
 [matroska,webm @ 00000006183c94c0] Before avformat_find_stream_info() pos:
 3003 bytes read:34002 seeks:2 nb_streams:3
 [h264 @ 00000006183f2180] nal_unit_type: 7(SPS), nal_ref_idc: 3
 [h264 @ 00000006183f2180] nal_unit_type: 8(PPS), nal_ref_idc: 3
 [h264 @ 00000006183f2180] nal_unit_type: 7(SPS), nal_ref_idc: 3
 [h264 @ 00000006183f2180] nal_unit_type: 8(PPS), nal_ref_idc: 3
 [h264 @ 00000006183f2180] ct_type:4 pic_struct:0
 [h264 @ 00000006183f2180] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000006183f2180] nal_unit_type: 7(SPS), nal_ref_idc: 3
 [h264 @ 00000006183f2180] nal_unit_type: 8(PPS), nal_ref_idc: 3
 [h264 @ 00000006183f2180] nal_unit_type: 6(SEI), nal_ref_idc: 0
 [h264 @ 00000006183f2180] nal_unit_type: 6(SEI), nal_ref_idc: 0
 [h264 @ 00000006183f2180] nal_unit_type: 5(IDR), nal_ref_idc: 3
 [h264 @ 00000006183f2180] nal_unit_type: 5(IDR), nal_ref_idc: 3
 [h264 @ 00000006183f2180] nal_unit_type: 5(IDR), nal_ref_idc: 3
 [h264 @ 00000006183f2180] nal_unit_type: 5(IDR), nal_ref_idc: 3
 [h264 @ 00000006183f2180] Format yuv420p chosen by get_format().
 [h264 @ 00000006183f2180] Reinit context to 1920x1088, pix_fmt: yuv420p
 [h264 @ 00000006183f2180] ct_type:4 pic_struct:0
 [h264 @ 00000006183f2180] no picture
 [h264 @ 00000006183f2180] ct_type:4 pic_struct:0
 [h264 @ 00000006183f2180] ct_type:4 pic_struct:0
 [matroska,webm @ 00000006183c94c0] All info found
 [matroska,webm @ 00000006183c94c0] After avformat_find_stream_info() pos:
 43464 bytes read:99538 seeks:2 frames:21
 Input #0, matroska,webm, from 'e17.mkv':
   Metadata:
     encoder         : libmakemkv v1.15.3 (1.3.10/1.5.2) win(x64-release)
     creation_time   : 2020-10-15T19:05:52.000000Z
   Duration: 00:43:09.25, start: 0.000000, bitrate: 31281 kb/s
     Chapter #0:0: start 0.000000, end 103.520083
     Metadata:
       title           : Chapter 01
     Chapter #0:1: start 103.520083, end 627.501875
     Metadata:
       title           : Chapter 02
     Chapter #0:2: start 627.501875, end 1276.817208
     Metadata:
       title           : Chapter 03
     Chapter #0:3: start 1276.817208, end 2009.841167
     Metadata:
       title           : Chapter 04
     Chapter #0:4: start 2009.841167, end 2561.433875
     Metadata:
       title           : Chapter 05
     Chapter #0:5: start 2561.433875, end 2589.253333
     Metadata:
       title           : Chapter 06
     Stream #0:0(eng), 3, 1/1000: Video: h264 (High), yuv420p(tv, bt709,
 progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn,
 47.95 tbc
     Metadata:
       BPS-eng         : 27026968
       DURATION-eng    : 00:43:09.253333333
       NUMBER_OF_FRAMES-eng: 62080
       NUMBER_OF_BYTES-eng: 8747457377
       SOURCE_ID-eng   : 001011
       _STATISTICS_WRITING_APP-eng: MakeMKV v1.15.3 win(x64-release)
       _STATISTICS_WRITING_DATE_UTC-eng: 2020-10-15 19:05:52
       _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
 SOURCE_ID
     Stream #0:1(deu), 9, 1/1000: Audio: dts (DTS-HD MA), 48000 Hz, stereo,
 s32p (24 bit) (default)
     Metadata:
       title           : Stereo
       BPS-eng         : 2109585
       DURATION-eng    : 00:43:09.258666666
       NUMBER_OF_FRAMES-eng: 242743
       NUMBER_OF_BYTES-eng: 682782536
       SOURCE_ID-eng   : 001100
       _STATISTICS_WRITING_APP-eng: MakeMKV v1.15.3 win(x64-release)
       _STATISTICS_WRITING_DATE_UTC-eng: 2020-10-15 19:05:52
       _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
 SOURCE_ID
     Stream #0:2(eng), 9, 1/1000: Audio: dts (DTS-HD MA), 48000 Hz, stereo,
 s32p (24 bit)
     Metadata:
       title           : Stereo
       BPS-eng         : 2140467
       DURATION-eng    : 00:43:09.258666666
       NUMBER_OF_FRAMES-eng: 242743
       NUMBER_OF_BYTES-eng: 692777912
       SOURCE_ID-eng   : 001101
       _STATISTICS_WRITING_APP-eng: MakeMKV v1.15.3 win(x64-release)
       _STATISTICS_WRITING_DATE_UTC-eng: 2020-10-15 19:05:52
       _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
 SOURCE_ID
 Successfully opened the file.
 [Parsed_scale_vulkan_1 @ 0000000618952dc0] Setting 'w' to value '1280'
 [Parsed_scale_vulkan_1 @ 0000000618952dc0] Setting 'h' to value '720'
 [Parsed_format_3 @ 00000006235a9680] Setting 'pix_fmts' to value 'yuv420p'
 Parsing a group of options: output url NUL.
 Applying option map (set input stream mapping) with argument [out].
 Applying option f (force format) with argument null.
 Successfully parsed a group of options.
 Opening an output file: NUL.
 Successfully opened the file.
 detected 12 logical cores
 [h264 @ 00000006183c08c0] nal_unit_type: 7(SPS), nal_ref_idc: 3
 [h264 @ 00000006183c08c0] nal_unit_type: 8(PPS), nal_ref_idc: 3
 Stream mapping:
   Stream #0:0 (h264) -> hwupload
   format -> Stream #0:0 (wrapped_avframe)
 Press [q] to stop, [?] for help
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [h264 @ 00000006183c08c0] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000006183c08c0] nal_unit_type: 7(SPS), nal_ref_idc: 3
 [h264 @ 00000006183c08c0] nal_unit_type: 8(PPS), nal_ref_idc: 3
 [h264 @ 00000006183c08c0] nal_unit_type: 6(SEI), nal_ref_idc: 0
 [h264 @ 00000006183c08c0] nal_unit_type: 6(SEI), nal_ref_idc: 0
 [h264 @ 00000006183c08c0] nal_unit_type: 5(IDR), nal_ref_idc: 3
 [h264 @ 00000006183c08c0] nal_unit_type: 5(IDR), nal_ref_idc: 3
 [h264 @ 00000006183c08c0] nal_unit_type: 5(IDR), nal_ref_idc: 3
 [h264 @ 00000006183c08c0] nal_unit_type: 5(IDR), nal_ref_idc: 3
 [h264 @ 00000006183c08c0] Format yuv420p chosen by get_format().
 [h264 @ 00000006183c08c0] Reinit context to 1920x1088, pix_fmt: yuv420p
 [h264 @ 00000006183c08c0] ct_type:4 pic_struct:0
 [h264 @ 00000006183c08c0] no picture
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [h264 @ 0000000623969fc0] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 0000000623969fc0] nal_unit_type: 8(PPS), nal_ref_idc: 3
 [h264 @ 0000000623969fc0] nal_unit_type: 6(SEI), nal_ref_idc: 0
 [h264 @ 0000000623969fc0] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 0000000623969fc0] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 0000000623969fc0] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 0000000623969fc0] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 0000000623969fc0] ct_type:4 pic_struct:0
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [NULL @ 00000006183f2180] ct_type:4 pic_struct:0
 [h264 @ 0000000618951400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 0000000618951400] nal_unit_type: 8(PPS), nal_ref_idc: 3
 [h264 @ 0000000618951400] nal_unit_type: 6(SEI), nal_ref_idc: 0
 [h264 @ 0000000618951400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 0
 [h264 @ 0000000618951400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 0
 [h264 @ 0000000618951400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 0
 [h264 @ 0000000618951400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 0
 [h264 @ 0000000618951400] ct_type:4 pic_struct:0
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [h264 @ 0000000618951880] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 0000000618951880] nal_unit_type: 8(PPS), nal_ref_idc: 3
 [h264 @ 0000000618951880] nal_unit_type: 6(SEI), nal_ref_idc: 0
 [h264 @ 0000000618951880] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 0
 [h264 @ 0000000618951880] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 0
 [h264 @ 0000000618951880] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 0
 [h264 @ 0000000618951880] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 0
 [NULL @ 00000006183f2180] ct_type:4 pic_struct:0
 [h264 @ 0000000618951880] ct_type:4 pic_struct:0
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [NULL @ 00000006183f2180] ct_type:4 pic_struct:0
 [h264 @ 0000000618951fc0] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 0000000618951fc0] nal_unit_type: 8(PPS), nal_ref_idc: 3
 [h264 @ 0000000618951fc0] nal_unit_type: 6(SEI), nal_ref_idc: 0
 [h264 @ 0000000618951fc0] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 0000000618951fc0] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 0000000618951fc0] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 0000000618951fc0] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 0000000618951fc0] ct_type:4 pic_struct:0
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [h264 @ 00000006237a7740] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000006237a7740] nal_unit_type: 8(PPS), nal_ref_idc: 3
 [h264 @ 00000006237a7740] nal_unit_type: 6(SEI), nal_ref_idc: 0
 [h264 @ 00000006237a7740] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 0
 [h264 @ 00000006237a7740] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 0
 [h264 @ 00000006237a7740] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 0
 [h264 @ 00000006237a7740] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 0
 [NULL @ 00000006183f2180] ct_type:4 pic_struct:0
 [h264 @ 00000006237a7740] ct_type:4 pic_struct:0
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [NULL @ 00000006183f2180] ct_type:4 pic_struct:0
 [h264 @ 00000006237a84c0] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000006237a84c0] nal_unit_type: 8(PPS), nal_ref_idc: 3
 [h264 @ 00000006237a84c0] nal_unit_type: 6(SEI), nal_ref_idc: 0
 [h264 @ 00000006237a84c0] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 0
 [h264 @ 00000006237a84c0] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 0
 [h264 @ 00000006237a84c0] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 0
 [h264 @ 00000006237a84c0] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 0
 [h264 @ 00000006237a84c0] ct_type:4 pic_struct:0
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [h264 @ 00000006237a9bc0] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000006237a9bc0] nal_unit_type: 8(PPS), nal_ref_idc: 3
 [h264 @ 00000006237a9bc0] nal_unit_type: 6(SEI), nal_ref_idc: 0
 [h264 @ 00000006237a9bc0] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000006237a9bc0] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000006237a9bc0] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000006237a9bc0] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [NULL @ 00000006183f2180] ct_type:4 pic_struct:0
 [h264 @ 00000006237a9bc0] ct_type:4 pic_struct:0
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [NULL @ 00000006183f2180] ct_type:4 pic_struct:0
 [h264 @ 00000006237aa040] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000006237aa040] nal_unit_type: 8(PPS), nal_ref_idc: 3
 [h264 @ 00000006237aa040] nal_unit_type: 6(SEI), nal_ref_idc: 0
 [h264 @ 00000006237aa040] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 0
 [h264 @ 00000006237aa040] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 0
 [h264 @ 00000006237aa040] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 0
 [h264 @ 00000006237aa040] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 0
 [h264 @ 00000006237aa040] ct_type:4 pic_struct:0
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [NULL @ 00000006183f2180] ct_type:4 pic_struct:0
 [h264 @ 00000006237a7280] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000006237a7280] nal_unit_type: 8(PPS), nal_ref_idc: 3
 [h264 @ 00000006237a7280] nal_unit_type: 6(SEI), nal_ref_idc: 0
 [h264 @ 00000006237a7280] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 0
 [h264 @ 00000006237a7280] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 0
 [h264 @ 00000006237a7280] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 0
 [h264 @ 00000006237a7280] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 0
 [h264 @ 00000006237a7280] ct_type:4 pic_struct:0
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [h264 @ 00000006237aa4c0] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000006237aa4c0] nal_unit_type: 8(PPS), nal_ref_idc: 3
 [h264 @ 00000006237aa4c0] nal_unit_type: 6(SEI), nal_ref_idc: 0
 [NULL @ 00000006183f2180] ct_type:4 pic_struct:0
 [h264 @ 00000006237aa4c0] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000006237aa4c0] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000006237aa4c0] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000006237aa4c0] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000006237aa4c0] ct_type:4 pic_struct:0
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [NULL @ 00000006183f2180] ct_type:4 pic_struct:0
 [h264 @ 00000006237a9700] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000006237a9700] nal_unit_type: 8(PPS), nal_ref_idc: 3
 [h264 @ 00000006237a9700] nal_unit_type: 6(SEI), nal_ref_idc: 0
 [h264 @ 00000006237a9700] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 0
 [h264 @ 00000006237a9700] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 0
 [h264 @ 00000006237a9700] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 0
 [h264 @ 00000006237a9700] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 0
 [h264 @ 00000006237a9700] ct_type:4 pic_struct:0
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [h264 @ 00000006237a9280] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [NULL @ 00000006183f2180] ct_type:4 pic_struct:0
 [h264 @ 00000006237a9280] nal_unit_type: 8(PPS), nal_ref_idc: 3
 [h264 @ 00000006237a9280] nal_unit_type: 6(SEI), nal_ref_idc: 0
 [h264 @ 00000006237a9280] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 0
 [h264 @ 00000006237a9280] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 0
 [h264 @ 00000006237a9280] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 0
 [h264 @ 00000006237a9280] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 0
 [h264 @ 00000006237a9280] ct_type:4 pic_struct:0
 [h264 @ 00000006183c08c0] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000006183c08c0] nal_unit_type: 8(PPS), nal_ref_idc: 3
 [h264 @ 00000006183c08c0] nal_unit_type: 6(SEI), nal_ref_idc: 0
 [h264 @ 00000006183c08c0] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000006183c08c0] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000006183c08c0] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000006183c08c0] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000006183c08c0] ct_type:4 pic_struct:0
 [Parsed_scale_vulkan_1 @ 00000006239715c0] Setting 'w' to value '1280'
 [Parsed_scale_vulkan_1 @ 00000006239715c0] Setting 'h' to value '720'
 [Parsed_format_3 @ 000000062718ef00] Setting 'pix_fmts' to value 'yuv420p'
 [graph 0 input from stream 0:0 @ 000000062397eec0] Setting 'video_size' to
 value '1920x1080'
 [graph 0 input from stream 0:0 @ 000000062397eec0] Setting 'pix_fmt' to
 value '0'
 [graph 0 input from stream 0:0 @ 000000062397eec0] Setting 'time_base' to
 value '1/1000'
 [graph 0 input from stream 0:0 @ 000000062397eec0] Setting 'pixel_aspect'
 to value '1/1'
 [graph 0 input from stream 0:0 @ 000000062397eec0] Setting 'frame_rate' to
 value '24000/1001'
 [graph 0 input from stream 0:0 @ 000000062397eec0] w:1920 h:1080
 pixfmt:yuv420p tb:1/1000 fr:24000/1001 sar:1/1
 [AVFilterGraph @ 0000000623963b00] query_formats: 6 queried, 5 merged, 0
 already done, 0 delayed
 [hwupload @ 0000000628972a00] Surface format is yuv420p.
 [Parsed_scale_vulkan_1 @ 00000006239715c0] Shader scale_compute:
 1       #version 460
 2       #define IS_WITHIN(v1, v2) ((v1.x < v2.x) && (v1.y < v2.y))
 3
 4       layout (local_size_x = 32, local_size_y = 32, local_size_z = 1)
 in;
 5
 6       layout (set = 0, binding = 0) uniform sampler2D input_img[3];
 7       layout (set = 0, binding = 1, rgba8) uniform writeonly image2D
 output_img[3];
 8
 9       layout (set = 1, binding = 0, std430) readonly buffer params {
 10          mat4 yuv_matrix;
 11      };
 12
 13
 14      vec4 scale_bilinear(int idx, ivec2 pos, vec2 crop_range, vec2
 crop_off)
 15      {
 16          vec2 npos = (vec2(pos) + 0.5f) / imageSize(output_img[idx]);
 17          npos *= crop_range;
 18          npos += crop_off;
 19          return texture(input_img[idx], npos);
 20      }
 21
 22
 23      void write_420(vec4 src, ivec2 pos)
 24      {
 25          imageStore(output_img[0], pos, vec4(src.r, 0.0, 0.0, 0.0));
 26          pos /= ivec2(2);
 27          imageStore(output_img[1], pos, vec4(src.g, 0.0, 0.0, 0.0));
 28          imageStore(output_img[2], pos, vec4(src.b, 0.0, 0.0, 0.0));
 29      }
 30
 31      void main()
 32      {[Parsed_scale_vulkan_1 @ 00000006239715c0] Shader scale_compute
 linked! Size: 2464 bytes
 }}}

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


More information about the FFmpeg-trac mailing list