Opened 3 years ago

Closed 21 months ago

#9016 closed defect (fixed)

Some videos cannot be hw decoded on apple silicon

Reported by: Peter Xia Owned by:
Priority: normal Component: avcodec
Version: git-master Keywords: videotoolbox h264
Cc: hoodar Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:
How to reproduce:

$ ffmpeg -hwaccel videotoolbox -i SampleVideo_1280x720_1mb.mp4 -f null -
ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers
  built with Apple clang version 12.0.0 (clang-1200.0.32.27)
  configuration: --prefix=/Users/xia/brew --enable-gpl --enable-nonfree --enable-libass --enable-libvpx --enable-libx264 --enable-libx265 --enable-libfreetype --enable-gnutls --enable-hwaccel=h263_videotoolbox --enable-hwaccel=h264_videotoolbox --enable-hwaccel=hevc_videotoolbox --enable-hwaccel=mpeg1_videotoolbox --enable-hwaccel=mpeg2_videotoolbox --enable-hwaccel=mpeg4_videotoolbox
  libavutil      56. 51.100 / 56. 51.100
  libavcodec     58. 91.100 / 58. 91.100
  libavformat    58. 45.100 / 58. 45.100
  libavdevice    58. 10.100 / 58. 10.100
  libavfilter     7. 85.100 /  7. 85.100
  libswscale      5.  7.100 /  5.  7.100
  libswresample   3.  7.100 /  3.  7.100
  libpostproc    55.  7.100 / 55.  7.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'SampleVideo_1280x720_1mb.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    creation_time   : 1970-01-01T00:00:00.000000Z
    encoder         : Lavf53.24.2
  Duration: 00:00:05.31, start: 0.000000, bitrate: 1589 kb/s
    Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 1205 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
    Metadata:
      creation_time   : 1970-01-01T00:00:00.000000Z
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp, 384 kb/s (default)
    Metadata:
      creation_time   : 1970-01-01T00:00:00.000000Z
      handler_name    : SoundHandler
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> wrapped_avframe (native))
  Stream #0:1 -> #0:1 (aac (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
[h264 @ 0x14b847200] hardware accelerator failed to decode picture

same video on intel Mac:

$ ffmpeg -hwaccel videotoolbox -i SampleVideo_1280x720_1mb.mp4 -f null -
ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers
  built with Apple clang version 12.0.0 (clang-1200.0.32.2)
  configuration: --prefix=/Users/pxia/homebrew/Cellar/ffmpeg/4.3.1_1 --enable-shared --enable-pthreads --enable-version3 --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libdav1d --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libspeex --enable-libsoxr --enable-videotoolbox --disable-libjack --disable-indev=jack
  libavutil      56. 51.100 / 56. 51.100
  libavcodec     58. 91.100 / 58. 91.100
  libavformat    58. 45.100 / 58. 45.100
  libavdevice    58. 10.100 / 58. 10.100
  libavfilter     7. 85.100 /  7. 85.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  7.100 /  5.  7.100
  libswresample   3.  7.100 /  3.  7.100
  libpostproc    55.  7.100 / 55.  7.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'SampleVideo_1280x720_1mb.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    creation_time   : 1970-01-01T00:00:00.000000Z
    encoder         : Lavf53.24.2
  Duration: 00:00:05.31, start: 0.000000, bitrate: 1589 kb/s
    Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 1205 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
    Metadata:
      creation_time   : 1970-01-01T00:00:00.000000Z
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp, 384 kb/s (default)
    Metadata:
      creation_time   : 1970-01-01T00:00:00.000000Z
      handler_name    : SoundHandler
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> wrapped_avframe (native))
  Stream #0:1 -> #0:1 (aac (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
Output #0, null, to 'pipe:':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf58.45.100
    Stream #0:0(und): Video: wrapped_avframe, nv12, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc (default)
    Metadata:
      creation_time   : 1970-01-01T00:00:00.000000Z
      handler_name    : VideoHandler
      encoder         : Lavc58.91.100 wrapped_avframe
    Stream #0:1(und): Audio: pcm_s16le, 48000 Hz, 5.1, s16, 4608 kb/s (default)
    Metadata:
      creation_time   : 1970-01-01T00:00:00.000000Z
      handler_name    : SoundHandler
      encoder         : Lavc58.91.100 pcm_s16le
frame=  132 fps=0.0 q=-0.0 Lsize=N/A time=00:00:05.31 bitrate=N/A speed=9.05x
video:69kB audio:2988kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown

Sample video: https://github.com/mpv-player/mpv/files/5614700/SampleVideo_1280x720_1mb.mp4.zip

Attachments (1)

SampleVideo_1280x720_1mb.mp4 (1.0 MB ) - added by Carl Eugen Hoyos 3 years ago.

Download all attachments as: .zip

Change History (10)

comment:1 by Carl Eugen Hoyos, 3 years ago

Why do you think this is an issue that can be fixed in the FFmpeg source code?

Please test if the issue is reproducible with current FFmpeg git head, the only version supported on this bug tracker.

by Carl Eugen Hoyos, 3 years ago

comment:2 by Peter Xia, 3 years ago

Same error on git head

ffmpeg -hwaccel videotoolbox -i SampleVideo_1280x720_1mb.mp4 -f null -
ffmpeg version git-2020-11-30-052b4c3 Copyright (c) 2000-2020 the FFmpeg developers
  built with Apple clang version 12.0.0 (clang-1200.0.32.27)
  configuration: --prefix=/Users/xia/brew --enable-gpl --enable-nonfree --enable-libass --enable-libvpx --enable-libx264 --enable-libx265 --enable-libfreetype --enable-gnutls --enable-hwaccel=h263_videotoolbox --enable-hwaccel=h264_videotoolbox --enable-hwaccel=hevc_videotoolbox --enable-hwaccel=mpeg1_videotoolbox --enable-hwaccel=mpeg2_videotoolbox --enable-hwaccel=mpeg4_videotoolbox
  libavutil      56. 61.100 / 56. 61.100
  libavcodec     58.114.100 / 58.114.100
  libavformat    58. 64.100 / 58. 64.100
  libavdevice    58. 11.103 / 58. 11.103
  libavfilter     7. 91.100 /  7. 91.100
  libswscale      5.  8.100 /  5.  8.100
  libswresample   3.  8.100 /  3.  8.100
  libpostproc    55.  8.100 / 55.  8.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'SampleVideo_1280x720_1mb.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    creation_time   : 1970-01-01T00:00:00.000000Z
    encoder         : Lavf53.24.2
  Duration: 00:00:05.31, start: 0.000000, bitrate: 1589 kb/s
    Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 1205 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
    Metadata:
      creation_time   : 1970-01-01T00:00:00.000000Z
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp, 384 kb/s (default)
    Metadata:
      creation_time   : 1970-01-01T00:00:00.000000Z
      handler_name    : SoundHandler
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> wrapped_avframe (native))
  Stream #0:1 -> #0:1 (aac (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
[h264 @ 0x13a843000] hardware accelerator failed to decode picture
[h264 @ 0x13a845e00] hardware accelerator failed to decode picture

I don't know if it is fixable in FFmpeg source, but QuickTime plays the video fine and seems using hw acceleration.

in reply to:  2 comment:3 by Linjie.Fu, 3 years ago

Replying to pxia:

I don't know if it is fixable in FFmpeg source, but QuickTime plays the video fine and seems using hw acceleration.

If it's fixable, a more detailed log would be preferred such as using "-v verbose" or "-v debug" (since i don't have such machine)

comment:4 by Peter Xia, 3 years ago

./ffmpeg -hwaccel videotoolbox -v debug -i ~/Downloads/SampleVideo_1280x720_1mb.mp4 -f null -
ffmpeg version git-2021-06-07-282b9f4c Copyright (c) 2000-2021 the FFmpeg developers
  built with Apple clang version 12.0.5 (clang-1205.0.22.9)
  configuration: --prefix=/Users/xia/brew --enable-gpl --enable-nonfree --enable-libass --enable-libvpx --enable-libx264 --enable-libx265 --enable-libfreetype --enable-gnutls --enable-hwaccel=h263_videotoolbox --enable-hwaccel=h264_videotoolbox --enable-hwaccel=hevc_videotoolbox --enable-hwaccel=mpeg1_videotoolbox --enable-hwaccel=mpeg2_videotoolbox --enable-hwaccel=mpeg4_videotoolbox
  libavutil      57.  0.100 / 57.  0.100
  libavcodec     59.  1.101 / 59.  1.101
  libavformat    59.  2.101 / 59.  2.101
  libavdevice    59.  0.100 / 59.  0.100
  libavfilter     8.  0.101 /  8.  0.101
  libswscale      6.  0.100 /  6.  0.100
  libswresample   4.  0.100 /  4.  0.100
  libpostproc    56.  0.100 / 56.  0.100
Splitting the commandline.
Reading option '-hwaccel' ... matched as option 'hwaccel' (use HW accelerated decoding) with argument 'videotoolbox'.
Reading option '-v' ... matched as option 'v' (set logging level) with argument 'debug'.
Reading option '-i' ... matched as input url with argument '/Users/xia/Downloads/SampleVideo_1280x720_1mb.mp4'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'null'.
Reading option '-' ... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set logging level) with argument debug.
Successfully parsed a group of options.
Parsing a group of options: input url /Users/xia/Downloads/SampleVideo_1280x720_1mb.mp4.
Applying option hwaccel (use HW accelerated decoding) with argument videotoolbox.
Successfully parsed a group of options.
Opening an input file: /Users/xia/Downloads/SampleVideo_1280x720_1mb.mp4.
[NULL @ 0x146e04120] Opening '/Users/xia/Downloads/SampleVideo_1280x720_1mb.mp4' for reading
[file @ 0x158204150] Setting default whitelist 'file,crypto,data'
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x146e04120] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x146e04120] ISO: File Type Major Brand: isom
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x146e04120] Unknown dref type 0x206c7275 size 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x146e04120] Processing st: 0, edit list 0 - media time: 0, duration: 67584
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x146e04120] Unknown dref type 0x206c7275 size 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x146e04120] Processing st: 1, edit list 0 - media time: 0, duration: 254976
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x146e04120] Before avformat_find_stream_info() pos: 1055736 bytes read:36997 seeks:1 nb_streams:2
[h264 @ 0x156f15980] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 0x156f15980] nal_unit_type: 8(PPS), nal_ref_idc: 3
[h264 @ 0x156f15980] nal_unit_type: 5(IDR), nal_ref_idc: 3
[h264 @ 0x156f15980] Format yuv420p chosen by get_format().
[h264 @ 0x156f15980] Reinit context to 1280x720, pix_fmt: yuv420p
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x146e04120] All info found
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x146e04120] After avformat_find_stream_info() pos: 106237 bytes read:143186 seeks:2 frames:2
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/xia/Downloads/SampleVideo_1280x720_1mb.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    creation_time   : 1970-01-01T00:00:00.000000Z
    encoder         : Lavf53.24.2
  Duration: 00:00:05.31, start: 0.000000, bitrate: 1589 kb/s
  Stream #0:0(und), 1, 1/12800: Video: h264 (Main), 1 reference frame (avc1 / 0x31637661), yuv420p(left), 1280x720 [SAR 1:1 DAR 16:9], 0/1, 1205 kb/s, 25 fps, 25 tbr, 12800 tbn (default)
    Metadata:
      creation_time   : 1970-01-01T00:00:00.000000Z
      handler_name    : VideoHandler
      vendor_id       : [0][0][0][0]
  Stream #0:1(und), 1, 1/48000: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp, 384 kb/s (default)
    Metadata:
      creation_time   : 1970-01-01T00:00:00.000000Z
      handler_name    : SoundHandler
      vendor_id       : [0][0][0][0]
Successfully opened the file.
Parsing a group of options: output url -.
Applying option f (force format) with argument null.
Successfully parsed a group of options.
Opening an output file: -.
Successfully opened the file.
detected 8 logical cores
[h264 @ 0x1580237a0] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 0x1580237a0] nal_unit_type: 8(PPS), nal_ref_idc: 3
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> wrapped_avframe (native))
  Stream #0:1 -> #0:1 (aac (native) -> pcm_s16le (native))
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)
[graph_1_in_0_1 @ 0x156f16dd0] Setting 'time_base' to value '1/48000'
[graph_1_in_0_1 @ 0x156f16dd0] Setting 'sample_rate' to value '48000'
[graph_1_in_0_1 @ 0x156f16dd0] Setting 'sample_fmt' to value 'fltp'
[graph_1_in_0_1 @ 0x156f16dd0] Setting 'channel_layout' to value '0x3f'
[graph_1_in_0_1 @ 0x156f16dd0] tb:1/48000 samplefmt:fltp samplerate:48000 chlayout:0x3f
[format_out_0_1 @ 0x156f17090] Setting 'sample_fmts' to value 's16'
[format_out_0_1 @ 0x156f17090] auto-inserting filter 'auto_resampler_0' between the filter 'Parsed_anull_0' and the filter 'format_out_0_1'
[AVFilterGraph @ 0x156f1f1a0] query_formats: 4 queried, 6 merged, 3 already done, 0 delayed
[auto_resampler_0 @ 0x156f17750] [SWR @ 0x148008000] Using fltp internally between filters
[auto_resampler_0 @ 0x156f17750] ch:6 chl:5.1 fmt:fltp r:48000Hz -> ch:6 chl:5.1 fmt:s16 r:48000Hz
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)
    Last message repeated 2 times
[h264 @ 0x1580237a0] nal_unit_type: 5(IDR), nal_ref_idc: 3
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 @ 0x1580237a0] Format videotoolbox_vld chosen by get_format().
[h264 @ 0x1580237a0] Format videotoolbox_vld requires hwaccel initialisation.
[h264 @ 0x1580237a0] Reinit context to 1280x720, pix_fmt: videotoolbox_vld
[h264 @ 0x1580237a0] vt decoder cb: output image buffer is null
[h264 @ 0x1580237a0] hardware accelerator failed to decode 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 @ 0x1580282b0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
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)
    Last message repeated 1 times
[h264 @ 0x1580282b0] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x1580282b0] vt decoder cb: output image buffer is null
[h264 @ 0x1580282b0] hardware accelerator failed to decode 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 @ 0x15802cb40] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
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)
    Last message repeated 1 times
[h264 @ 0x15802cb40] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x15802cb40] vt decoder cb: output image buffer is null
[h264 @ 0x15802cb40] hardware accelerator failed to decode 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 @ 0x1580313d0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
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)
    Last message repeated 1 times
[h264 @ 0x1580313d0] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x1580313d0] vt decoder cb: output image buffer is null
[h264 @ 0x1580313d0] hardware accelerator failed to decode 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)
    Last message repeated 2 times
[h264 @ 0x158035c60] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
[h264 @ 0x158035c60] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x158035c60] vt decoder cb: output image buffer is null
[h264 @ 0x158035c60] hardware accelerator failed to decode picture
[h264 @ 0x15803a540] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
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)
    Last message repeated 2 times
[h264 @ 0x15803a540] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x15803a540] vt decoder cb: output image buffer is null
[h264 @ 0x15803a540] hardware accelerator failed to decode 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 @ 0x15803ee20] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
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 @ 0x15803ee20] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x15803ee20] vt decoder cb: output image buffer is null
[h264 @ 0x15803ee20] hardware accelerator failed to decode 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 @ 0x158043700] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
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)
    Last message repeated 1 times
[h264 @ 0x158043700] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x158043700] vt decoder cb: output image buffer is null
[h264 @ 0x158043700] hardware accelerator failed to decode picture
Error while decoding stream #0:0: Unknown error occurred
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 @ 0x158047fe0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
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)
    Last message repeated 1 times
[h264 @ 0x158047fe0] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x158047fe0] vt decoder cb: output image buffer is null
[h264 @ 0x158047fe0] hardware accelerator failed to decode picture
Error while decoding stream #0:0: Unknown error occurred
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 @ 0x1580237a0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
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)
    Last message repeated 1 times
[h264 @ 0x1580237a0] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x1580237a0] vt decoder cb: output image buffer is null
[h264 @ 0x1580237a0] hardware accelerator failed to decode picture
[h264 @ 0x1580282b0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
Error while decoding stream #0:0: Unknown error occurred
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)
    Last message repeated 2 times
[h264 @ 0x1580282b0] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x1580282b0] vt decoder cb: output image buffer is null
[h264 @ 0x1580282b0] hardware accelerator failed to decode picture
Error while decoding stream #0:0: Unknown error occurred
[h264 @ 0x15802cb40] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
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)
    Last message repeated 2 times
[h264 @ 0x15802cb40] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x15802cb40] vt decoder cb: output image buffer is null
[h264 @ 0x15802cb40] hardware accelerator failed to decode picture
Error while decoding stream #0:0: Unknown error occurred
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 @ 0x1580313d0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
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)
    Last message repeated 1 times
[h264 @ 0x1580313d0] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x1580313d0] vt decoder cb: output image buffer is null
[h264 @ 0x1580313d0] hardware accelerator failed to decode picture
Error while decoding stream #0:0: Unknown error occurred
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 @ 0x158035c60] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
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)
    Last message repeated 1 times
[h264 @ 0x158035c60] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x158035c60] vt decoder cb: output image buffer is null
[h264 @ 0x158035c60] hardware accelerator failed to decode picture
Error while decoding stream #0:0: Unknown error occurred
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 @ 0x15803a540] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
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 @ 0x15803a540] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x15803a540] vt decoder cb: output image buffer is null
[h264 @ 0x15803a540] hardware accelerator failed to decode picture
[h264 @ 0x15803ee20] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
Error while decoding stream #0:0: Unknown error occurred
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)
    Last message repeated 2 times
[h264 @ 0x15803ee20] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x15803ee20] vt decoder cb: output image buffer is null
[h264 @ 0x15803ee20] hardware accelerator failed to decode picture
[h264 @ 0x158043700] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
Error while decoding stream #0:0: Unknown error occurred
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)
    Last message repeated 2 times
[h264 @ 0x158043700] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x158043700] vt decoder cb: output image buffer is null
[h264 @ 0x158043700] hardware accelerator failed to decode picture
[h264 @ 0x158047fe0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
Error while decoding stream #0:0: Unknown error occurred
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)
    Last message repeated 2 times
[h264 @ 0x158047fe0] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x158047fe0] vt decoder cb: output image buffer is null
[h264 @ 0x158047fe0] hardware accelerator failed to decode picture
[h264 @ 0x1580237a0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
Error while decoding stream #0:0: Unknown error occurred
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)
    Last message repeated 2 times
[h264 @ 0x1580237a0] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x1580237a0] vt decoder cb: output image buffer is null
[h264 @ 0x1580237a0] hardware accelerator failed to decode picture
[h264 @ 0x1580282b0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
Error while decoding stream #0:0: Unknown error occurred
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)
    Last message repeated 2 times
[h264 @ 0x1580282b0] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x1580282b0] vt decoder cb: output image buffer is null
[h264 @ 0x1580282b0] hardware accelerator failed to decode picture
Error while decoding stream #0:0: Unknown error occurred
[h264 @ 0x15802cb40] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
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)
    Last message repeated 2 times
[h264 @ 0x15802cb40] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x15802cb40] vt decoder cb: output image buffer is null
[h264 @ 0x15802cb40] hardware accelerator failed to decode picture
Error while decoding stream #0:0: Unknown error occurred
[h264 @ 0x1580313d0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
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)
    Last message repeated 2 times
[h264 @ 0x1580313d0] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x1580313d0] vt decoder cb: output image buffer is null
[h264 @ 0x1580313d0] hardware accelerator failed to decode picture
[h264 @ 0x158035c60] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
Error while decoding stream #0:0: Unknown error occurred
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)
    Last message repeated 1 times
[h264 @ 0x158035c60] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x158035c60] vt decoder cb: output image buffer is null
[h264 @ 0x158035c60] hardware accelerator failed to decode picture
Error while decoding stream #0:0: Unknown error occurred
[h264 @ 0x15803a540] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
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)
    Last message repeated 2 times
[h264 @ 0x15803a540] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x15803a540] vt decoder cb: output image buffer is null
[h264 @ 0x15803a540] hardware accelerator failed to decode picture
[h264 @ 0x15803ee20] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
Error while decoding stream #0:0: Unknown error occurred
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)
    Last message repeated 2 times
[h264 @ 0x15803ee20] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x15803ee20] vt decoder cb: output image buffer is null
[h264 @ 0x15803ee20] hardware accelerator failed to decode picture
[h264 @ 0x158043700] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
[h264 @ 0x158043700] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x158043700] vt decoder cb: output image buffer is null
[h264 @ 0x158043700] hardware accelerator failed to decode picture
Error while decoding stream #0:0: Unknown error occurred
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)
    Last message repeated 2 times
Error while decoding stream #0:0: Unknown error occurred
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 @ 0x158047fe0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
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)
    Last message repeated 1 times
[h264 @ 0x158047fe0] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x158047fe0] vt decoder cb: output image buffer is null
[h264 @ 0x158047fe0] hardware accelerator failed to decode picture
[h264 @ 0x1580237a0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
[h264 @ 0x1580237a0] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x1580237a0] vt decoder cb: output image buffer is null
[h264 @ 0x1580237a0] hardware accelerator failed to decode picture
Error while decoding stream #0:0: Unknown error occurred
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)
    Last message repeated 2 times
Error while decoding stream #0:0: Unknown error occurred
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)
    Last message repeated 2 times
[h264 @ 0x1580282b0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
[h264 @ 0x1580282b0] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x1580282b0] vt decoder cb: output image buffer is null
[h264 @ 0x1580282b0] hardware accelerator failed to decode picture
[h264 @ 0x15802cb40] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
Error while decoding stream #0:0: Unknown error occurred
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)
    Last message repeated 2 times
[h264 @ 0x15802cb40] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x15802cb40] vt decoder cb: output image buffer is null
[h264 @ 0x15802cb40] hardware accelerator failed to decode picture
[h264 @ 0x1580313d0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
[h264 @ 0x1580313d0] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x1580313d0] vt decoder cb: output image buffer is null
[h264 @ 0x1580313d0] hardware accelerator failed to decode picture
Error while decoding stream #0:0: Unknown error occurred
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)
    Last message repeated 1 times
Error while decoding stream #0:0: Unknown error occurred
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 @ 0x158035c60] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
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)
    Last message repeated 1 times
[h264 @ 0x158035c60] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x158035c60] vt decoder cb: output image buffer is null
[h264 @ 0x158035c60] hardware accelerator failed to decode picture
Error while decoding stream #0:0: Unknown error occurred
[h264 @ 0x15803a540] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
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)
    Last message repeated 2 times
[h264 @ 0x15803a540] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x15803a540] vt decoder cb: output image buffer is null
[h264 @ 0x15803a540] hardware accelerator failed to decode picture
Error while decoding stream #0:0: Unknown error occurred
[h264 @ 0x15803ee20] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
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)
    Last message repeated 2 times
[h264 @ 0x15803ee20] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x15803ee20] vt decoder cb: output image buffer is null
[h264 @ 0x15803ee20] hardware accelerator failed to decode picture
[h264 @ 0x158043700] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
Error while decoding stream #0:0: Unknown error occurred
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)
    Last message repeated 2 times
[h264 @ 0x158043700] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x158043700] vt decoder cb: output image buffer is null
[h264 @ 0x158043700] hardware accelerator failed to decode picture
[h264 @ 0x158047fe0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
Error while decoding stream #0:0: Unknown error occurred
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)
    Last message repeated 2 times
[h264 @ 0x158047fe0] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x158047fe0] vt decoder cb: output image buffer is null
[h264 @ 0x158047fe0] hardware accelerator failed to decode picture
[h264 @ 0x1580237a0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
Error while decoding stream #0:0: Unknown error occurred
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)
    Last message repeated 2 times
[h264 @ 0x1580237a0] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x1580237a0] vt decoder cb: output image buffer is null
[h264 @ 0x1580237a0] hardware accelerator failed to decode picture
Error while decoding stream #0:0: Unknown error occurred
[h264 @ 0x1580282b0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
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)
    Last message repeated 2 times
[h264 @ 0x1580282b0] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x1580282b0] vt decoder cb: output image buffer is null
[h264 @ 0x1580282b0] hardware accelerator failed to decode picture
Error while decoding stream #0:0: Unknown error occurred
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 @ 0x15802cb40] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
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 @ 0x15802cb40] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x15802cb40] vt decoder cb: output image buffer is null
[h264 @ 0x15802cb40] hardware accelerator failed to decode picture
Error while decoding stream #0:0: Unknown error occurred
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 @ 0x1580313d0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
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)
    Last message repeated 1 times
[h264 @ 0x1580313d0] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x1580313d0] vt decoder cb: output image buffer is null
[h264 @ 0x1580313d0] hardware accelerator failed to decode picture
[h264 @ 0x158035c60] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
Error while decoding stream #0:0: Unknown error occurred
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)
    Last message repeated 2 times
[h264 @ 0x158035c60] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x158035c60] vt decoder cb: output image buffer is null
[h264 @ 0x158035c60] hardware accelerator failed to decode picture
[h264 @ 0x15803a540] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
Error while decoding stream #0:0: Unknown error occurred
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)
    Last message repeated 2 times
[h264 @ 0x15803a540] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x15803a540] vt decoder cb: output image buffer is null
[h264 @ 0x15803a540] hardware accelerator failed to decode picture
[h264 @ 0x15803ee20] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
Error while decoding stream #0:0: Unknown error occurred
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)
    Last message repeated 2 times
[h264 @ 0x15803ee20] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x15803ee20] vt decoder cb: output image buffer is null
[h264 @ 0x15803ee20] hardware accelerator failed to decode picture
Error while decoding stream #0:0: Unknown error occurred
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 @ 0x158043700] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
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)
    Last message repeated 1 times
[h264 @ 0x158043700] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x158043700] vt decoder cb: output image buffer is null
[h264 @ 0x158043700] hardware accelerator failed to decode picture
Error while decoding stream #0:0: Unknown error occurred
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 @ 0x158047fe0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
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)
    Last message repeated 1 times
[h264 @ 0x158047fe0] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x158047fe0] vt decoder cb: output image buffer is null
[h264 @ 0x158047fe0] hardware accelerator failed to decode picture
Error while decoding stream #0:0: Unknown error occurred
[h264 @ 0x1580237a0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
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)
    Last message repeated 2 times
[h264 @ 0x1580237a0] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x1580237a0] vt decoder cb: output image buffer is null
[h264 @ 0x1580237a0] hardware accelerator failed to decode picture
[h264 @ 0x1580282b0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
Error while decoding stream #0:0: Unknown error occurred
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)
    Last message repeated 1 times
[h264 @ 0x1580282b0] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x1580282b0] vt decoder cb: output image buffer is null
[h264 @ 0x1580282b0] hardware accelerator failed to decode picture
[h264 @ 0x15802cb40] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
Error while decoding stream #0:0: Unknown error occurred
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)
    Last message repeated 2 times
[h264 @ 0x15802cb40] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x15802cb40] vt decoder cb: output image buffer is null
[h264 @ 0x15802cb40] hardware accelerator failed to decode picture
Error while decoding stream #0:0: Unknown error occurred
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 @ 0x1580313d0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
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)
    Last message repeated 1 times
[h264 @ 0x1580313d0] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x1580313d0] vt decoder cb: output image buffer is null
[h264 @ 0x1580313d0] hardware accelerator failed to decode picture
[h264 @ 0x158035c60] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
Error while decoding stream #0:0: Unknown error occurred
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)
    Last message repeated 2 times
[h264 @ 0x158035c60] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x158035c60] vt decoder cb: output image buffer is null
[h264 @ 0x158035c60] hardware accelerator failed to decode picture
[h264 @ 0x15803a540] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
Error while decoding stream #0:0: Unknown error occurred
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)
    Last message repeated 2 times
[h264 @ 0x15803a540] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x15803a540] vt decoder cb: output image buffer is null
[h264 @ 0x15803a540] hardware accelerator failed to decode picture
[h264 @ 0x15803ee20] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
Error while decoding stream #0:0: Unknown error occurred
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)
    Last message repeated 2 times
[h264 @ 0x15803ee20] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x15803ee20] vt decoder cb: output image buffer is null
[h264 @ 0x15803ee20] hardware accelerator failed to decode picture
[h264 @ 0x158043700] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
Error while decoding stream #0:0: Unknown error occurred
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)
    Last message repeated 2 times
[h264 @ 0x158043700] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x158043700] vt decoder cb: output image buffer is null
[h264 @ 0x158043700] hardware accelerator failed to decode picture
Error while decoding stream #0:0: Unknown error occurred
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 @ 0x158047fe0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
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)
    Last message repeated 1 times
[h264 @ 0x158047fe0] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x158047fe0] vt decoder cb: output image buffer is null
[h264 @ 0x158047fe0] hardware accelerator failed to decode picture
[h264 @ 0x1580237a0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
Error while decoding stream #0:0: Unknown error occurred
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)
    Last message repeated 1 times
[h264 @ 0x1580237a0] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x1580237a0] vt decoder cb: output image buffer is null
[h264 @ 0x1580237a0] hardware accelerator failed to decode picture
[h264 @ 0x1580282b0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
Error while decoding stream #0:0: Unknown error occurred
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)
    Last message repeated 2 times
[h264 @ 0x1580282b0] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x1580282b0] vt decoder cb: output image buffer is null
[h264 @ 0x1580282b0] hardware accelerator failed to decode picture
[h264 @ 0x15802cb40] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
Error while decoding stream #0:0: Unknown error occurred
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)
    Last message repeated 2 times
[h264 @ 0x15802cb40] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x15802cb40] vt decoder cb: output image buffer is null
[h264 @ 0x15802cb40] hardware accelerator failed to decode picture
Error while decoding stream #0:0: Unknown error occurred
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 @ 0x1580313d0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
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)
    Last message repeated 1 times
[h264 @ 0x1580313d0] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x1580313d0] vt decoder cb: output image buffer is null
[h264 @ 0x1580313d0] hardware accelerator failed to decode picture
[h264 @ 0x158035c60] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
Error while decoding stream #0:0: Unknown error occurred
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)
    Last message repeated 2 times
[h264 @ 0x158035c60] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x158035c60] vt decoder cb: output image buffer is null
[h264 @ 0x158035c60] hardware accelerator failed to decode picture
[h264 @ 0x15803a540] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
Error while decoding stream #0:0: Unknown error occurred
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)
    Last message repeated 2 times
[h264 @ 0x15803a540] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x15803a540] vt decoder cb: output image buffer is null
[h264 @ 0x15803a540] hardware accelerator failed to decode picture
[h264 @ 0x15803ee20] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
[h264 @ 0x15803ee20] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x15803ee20] vt decoder cb: output image buffer is null
[h264 @ 0x15803ee20] hardware accelerator failed to decode picture
Error while decoding stream #0:0: Unknown error occurred
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)
    Last message repeated 2 times
Error while decoding stream #0:0: Unknown error occurred
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 @ 0x158043700] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
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)
    Last message repeated 1 times
[h264 @ 0x158043700] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x158043700] vt decoder cb: output image buffer is null
[h264 @ 0x158043700] hardware accelerator failed to decode picture
Error while decoding stream #0:0: Unknown error occurred
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 @ 0x158047fe0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
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 @ 0x158047fe0] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x158047fe0] vt decoder cb: output image buffer is null
[h264 @ 0x158047fe0] hardware accelerator failed to decode picture
Error while decoding stream #0:0: Unknown error occurred
[h264 @ 0x1580237a0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
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)
    Last message repeated 2 times
[h264 @ 0x1580237a0] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x1580237a0] vt decoder cb: output image buffer is null
[h264 @ 0x1580237a0] hardware accelerator failed to decode picture
[h264 @ 0x1580282b0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
Error while decoding stream #0:0: Unknown error occurred
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)
    Last message repeated 2 times
[h264 @ 0x1580282b0] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x1580282b0] vt decoder cb: output image buffer is null
[h264 @ 0x1580282b0] hardware accelerator failed to decode picture
[h264 @ 0x15802cb40] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
Error while decoding stream #0:0: Unknown error occurred
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)
    Last message repeated 2 times
[h264 @ 0x15802cb40] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x15802cb40] vt decoder cb: output image buffer is null
[h264 @ 0x15802cb40] hardware accelerator failed to decode picture
[h264 @ 0x1580313d0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
Error while decoding stream #0:0: Unknown error occurred
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)
    Last message repeated 2 times
[h264 @ 0x1580313d0] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x1580313d0] vt decoder cb: output image buffer is null
[h264 @ 0x1580313d0] hardware accelerator failed to decode picture
Error while decoding stream #0:0: Unknown error occurred
[h264 @ 0x158035c60] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
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)
    Last message repeated 2 times
[h264 @ 0x158035c60] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x158035c60] vt decoder cb: output image buffer is null
[h264 @ 0x158035c60] hardware accelerator failed to decode picture
[h264 @ 0x15803a540] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
Error while decoding stream #0:0: Unknown error occurred
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)
    Last message repeated 2 times
[h264 @ 0x15803a540] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x15803a540] vt decoder cb: output image buffer is null
[h264 @ 0x15803a540] hardware accelerator failed to decode picture
[h264 @ 0x15803ee20] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
Error while decoding stream #0:0: Unknown error occurred
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)
    Last message repeated 2 times
[h264 @ 0x15803ee20] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x15803ee20] vt decoder cb: output image buffer is null
[h264 @ 0x15803ee20] hardware accelerator failed to decode picture
[h264 @ 0x158043700] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
Error while decoding stream #0:0: Unknown error occurred
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)
    Last message repeated 1 times
[h264 @ 0x158043700] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x158043700] vt decoder cb: output image buffer is null
[h264 @ 0x158043700] hardware accelerator failed to decode picture
[h264 @ 0x158047fe0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
Error while decoding stream #0:0: Unknown error occurred
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)
    Last message repeated 2 times
[h264 @ 0x158047fe0] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x158047fe0] vt decoder cb: output image buffer is null
[h264 @ 0x158047fe0] hardware accelerator failed to decode picture
[h264 @ 0x1580237a0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
Error while decoding stream #0:0: Unknown error occurred
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)
    Last message repeated 2 times
[h264 @ 0x1580237a0] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x1580237a0] vt decoder cb: output image buffer is null
[h264 @ 0x1580237a0] hardware accelerator failed to decode picture
[h264 @ 0x1580282b0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
Error while decoding stream #0:0: Unknown error occurred
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)
    Last message repeated 2 times
[h264 @ 0x1580282b0] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x1580282b0] vt decoder cb: output image buffer is null
[h264 @ 0x1580282b0] hardware accelerator failed to decode picture
[h264 @ 0x15802cb40] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
[h264 @ 0x15802cb40] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x15802cb40] vt decoder cb: output image buffer is null
[h264 @ 0x15802cb40] hardware accelerator failed to decode picture
Error while decoding stream #0:0: Unknown error occurred
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)
    Last message repeated 2 times
Error while decoding stream #0:0: Unknown error occurred
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 @ 0x1580313d0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
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)
    Last message repeated 1 times
[h264 @ 0x1580313d0] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x1580313d0] vt decoder cb: output image buffer is null
[h264 @ 0x1580313d0] hardware accelerator failed to decode picture
[h264 @ 0x158035c60] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
[h264 @ 0x158035c60] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x158035c60] vt decoder cb: output image buffer is null
[h264 @ 0x158035c60] hardware accelerator failed to decode picture
Error while decoding stream #0:0: Unknown error occurred
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)
    Last message repeated 2 times
Error while decoding stream #0:0: Unknown error occurred
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 @ 0x15803a540] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
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)
    Last message repeated 1 times
[h264 @ 0x15803a540] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x15803a540] vt decoder cb: output image buffer is null
[h264 @ 0x15803a540] hardware accelerator failed to decode picture
[h264 @ 0x15803ee20] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
[h264 @ 0x15803ee20] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x15803ee20] vt decoder cb: output image buffer is null
[h264 @ 0x15803ee20] hardware accelerator failed to decode picture
Error while decoding stream #0:0: Unknown error occurred
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)
    Last message repeated 1 times
Error while decoding stream #0:0: Unknown error occurred
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 @ 0x158043700] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
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)
    Last message repeated 1 times
[h264 @ 0x158043700] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x158043700] vt decoder cb: output image buffer is null
[h264 @ 0x158043700] hardware accelerator failed to decode picture
[h264 @ 0x158047fe0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
Error while decoding stream #0:0: Unknown error occurred
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)
    Last message repeated 2 times
[h264 @ 0x158047fe0] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x158047fe0] vt decoder cb: output image buffer is null
[h264 @ 0x158047fe0] hardware accelerator failed to decode picture
[h264 @ 0x1580237a0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
Error while decoding stream #0:0: Unknown error occurred
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)
    Last message repeated 2 times
[h264 @ 0x1580237a0] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x1580237a0] vt decoder cb: output image buffer is null
[h264 @ 0x1580237a0] hardware accelerator failed to decode picture
[h264 @ 0x1580282b0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
Error while decoding stream #0:0: Unknown error occurred
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)
    Last message repeated 2 times
[h264 @ 0x1580282b0] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x1580282b0] vt decoder cb: output image buffer is null
[h264 @ 0x1580282b0] hardware accelerator failed to decode picture
[h264 @ 0x15802cb40] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
Error while decoding stream #0:0: Unknown error occurred
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)
    Last message repeated 2 times
[h264 @ 0x15802cb40] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x15802cb40] vt decoder cb: output image buffer is null
[h264 @ 0x15802cb40] hardware accelerator failed to decode picture
Error while decoding stream #0:0: Unknown error occurred
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 @ 0x1580313d0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
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)
    Last message repeated 1 times
[h264 @ 0x1580313d0] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x1580313d0] vt decoder cb: output image buffer is null
[h264 @ 0x1580313d0] hardware accelerator failed to decode picture
Error while decoding stream #0:0: Unknown error occurred
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 @ 0x158035c60] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
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)
    Last message repeated 1 times
[h264 @ 0x158035c60] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x158035c60] vt decoder cb: output image buffer is null
[h264 @ 0x158035c60] hardware accelerator failed to decode picture
[h264 @ 0x15803a540] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
Error while decoding stream #0:0: Unknown error occurred
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)
    Last message repeated 1 times
[h264 @ 0x15803a540] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x15803a540] vt decoder cb: output image buffer is null
[h264 @ 0x15803a540] hardware accelerator failed to decode picture
Error while decoding stream #0:0: Unknown error occurred
[h264 @ 0x15803ee20] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
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)
    Last message repeated 2 times
[h264 @ 0x15803ee20] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x15803ee20] vt decoder cb: output image buffer is null
[h264 @ 0x15803ee20] hardware accelerator failed to decode picture
[h264 @ 0x158043700] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
Error while decoding stream #0:0: Unknown error occurred
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)
    Last message repeated 2 times
[h264 @ 0x158043700] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x158043700] vt decoder cb: output image buffer is null
[h264 @ 0x158043700] hardware accelerator failed to decode picture
[h264 @ 0x158047fe0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
Error while decoding stream #0:0: Unknown error occurred
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)
    Last message repeated 2 times
[h264 @ 0x158047fe0] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x158047fe0] vt decoder cb: output image buffer is null
[h264 @ 0x158047fe0] hardware accelerator failed to decode picture
[h264 @ 0x1580237a0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
Error while decoding stream #0:0: Unknown error occurred
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)
    Last message repeated 2 times
[h264 @ 0x1580237a0] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x1580237a0] vt decoder cb: output image buffer is null
[h264 @ 0x1580237a0] hardware accelerator failed to decode picture
[h264 @ 0x1580282b0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
Error while decoding stream #0:0: Unknown error occurred
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)
    Last message repeated 2 times
[h264 @ 0x1580282b0] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x1580282b0] vt decoder cb: output image buffer is null
[h264 @ 0x1580282b0] hardware accelerator failed to decode picture
Error while decoding stream #0:0: Unknown error occurred
[h264 @ 0x15802cb40] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
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)
    Last message repeated 2 times
[h264 @ 0x15802cb40] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x15802cb40] vt decoder cb: output image buffer is null
[h264 @ 0x15802cb40] hardware accelerator failed to decode picture
[h264 @ 0x1580313d0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
Error while decoding stream #0:0: Unknown error occurred
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)
    Last message repeated 2 times
[h264 @ 0x1580313d0] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x1580313d0] vt decoder cb: output image buffer is null
[h264 @ 0x1580313d0] hardware accelerator failed to decode picture
Error while decoding stream #0:0: Unknown error occurred
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 @ 0x158035c60] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
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 @ 0x158035c60] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x158035c60] vt decoder cb: output image buffer is null
[h264 @ 0x158035c60] hardware accelerator failed to decode picture
Error while decoding stream #0:0: Unknown error occurred
[h264 @ 0x15803a540] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
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)
    Last message repeated 2 times
[h264 @ 0x15803a540] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x15803a540] vt decoder cb: output image buffer is null
[h264 @ 0x15803a540] hardware accelerator failed to decode picture
Error while decoding stream #0:0: Unknown error occurred
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 @ 0x15803ee20] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
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)
    Last message repeated 1 times
[h264 @ 0x15803ee20] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x15803ee20] vt decoder cb: output image buffer is null
[h264 @ 0x15803ee20] hardware accelerator failed to decode picture
[h264 @ 0x158043700] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
Error while decoding stream #0:0: Unknown error occurred
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)
    Last message repeated 2 times
[h264 @ 0x158043700] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x158043700] vt decoder cb: output image buffer is null
[h264 @ 0x158043700] hardware accelerator failed to decode picture
[h264 @ 0x158047fe0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
Error while decoding stream #0:0: Unknown error occurred
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)
    Last message repeated 2 times
[h264 @ 0x158047fe0] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x158047fe0] vt decoder cb: output image buffer is null
[h264 @ 0x158047fe0] hardware accelerator failed to decode picture
Error while decoding stream #0:0: Unknown error occurred
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 @ 0x1580237a0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
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)
    Last message repeated 1 times
[h264 @ 0x1580237a0] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x1580237a0] vt decoder cb: output image buffer is null
[h264 @ 0x1580237a0] hardware accelerator failed to decode picture
Error while decoding stream #0:0: Unknown error occurred
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 @ 0x1580282b0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
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)
    Last message repeated 1 times
[h264 @ 0x1580282b0] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x1580282b0] vt decoder cb: output image buffer is null
[h264 @ 0x1580282b0] hardware accelerator failed to decode picture
Error while decoding stream #0:0: Unknown error occurred
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 @ 0x15802cb40] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
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)
    Last message repeated 1 times
[h264 @ 0x15802cb40] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x15802cb40] vt decoder cb: output image buffer is null
[h264 @ 0x15802cb40] hardware accelerator failed to decode picture
Error while decoding stream #0:0: Unknown error occurred
[h264 @ 0x1580313d0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
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)
    Last message repeated 1 times
[h264 @ 0x1580313d0] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x1580313d0] vt decoder cb: output image buffer is null
[h264 @ 0x1580313d0] hardware accelerator failed to decode picture
[h264 @ 0x158035c60] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
Error while decoding stream #0:0: Unknown error occurred
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)
    Last message repeated 2 times
[h264 @ 0x158035c60] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x158035c60] vt decoder cb: output image buffer is null
[h264 @ 0x158035c60] hardware accelerator failed to decode picture
Error while decoding stream #0:0: Unknown error occurred
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 @ 0x15803a540] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
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)
    Last message repeated 1 times
[h264 @ 0x15803a540] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x15803a540] vt decoder cb: output image buffer is null
[h264 @ 0x15803a540] hardware accelerator failed to decode picture
[h264 @ 0x15803ee20] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
Error while decoding stream #0:0: Unknown error occurred
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)
    Last message repeated 2 times
[h264 @ 0x15803ee20] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x15803ee20] vt decoder cb: output image buffer is null
[h264 @ 0x15803ee20] hardware accelerator failed to decode picture
Error while decoding stream #0:0: Unknown error occurred
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 @ 0x158043700] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
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)
    Last message repeated 1 times
[h264 @ 0x158043700] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x158043700] vt decoder cb: output image buffer is null
[h264 @ 0x158043700] hardware accelerator failed to decode picture
[h264 @ 0x158047fe0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
Error while decoding stream #0:0: Unknown error occurred
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)
    Last message repeated 2 times
[h264 @ 0x158047fe0] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x158047fe0] vt decoder cb: output image buffer is null
[h264 @ 0x158047fe0] hardware accelerator failed to decode picture
[h264 @ 0x1580237a0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
Error while decoding stream #0:0: Unknown error occurred
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)
    Last message repeated 2 times
[h264 @ 0x1580237a0] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x1580237a0] vt decoder cb: output image buffer is null
[h264 @ 0x1580237a0] hardware accelerator failed to decode picture
[h264 @ 0x1580282b0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
Error while decoding stream #0:0: Unknown error occurred
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)
    Last message repeated 2 times
[h264 @ 0x1580282b0] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x1580282b0] vt decoder cb: output image buffer is null
[h264 @ 0x1580282b0] hardware accelerator failed to decode picture
Error while decoding stream #0:0: Unknown error occurred
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 @ 0x15802cb40] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
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 @ 0x15802cb40] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x15802cb40] vt decoder cb: output image buffer is null
[h264 @ 0x15802cb40] hardware accelerator failed to decode picture
[h264 @ 0x1580313d0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
Error while decoding stream #0:0: Unknown error occurred
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)
    Last message repeated 2 times
[h264 @ 0x1580313d0] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x1580313d0] vt decoder cb: output image buffer is null
[h264 @ 0x1580313d0] hardware accelerator failed to decode picture
[h264 @ 0x158035c60] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
Error while decoding stream #0:0: Unknown error occurred
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)
    Last message repeated 2 times
[h264 @ 0x158035c60] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x158035c60] vt decoder cb: output image buffer is null
[h264 @ 0x158035c60] hardware accelerator failed to decode picture
Error while decoding stream #0:0: Unknown error occurred
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 @ 0x15803a540] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
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)
    Last message repeated 1 times
[h264 @ 0x15803a540] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x15803a540] vt decoder cb: output image buffer is null
[h264 @ 0x15803a540] hardware accelerator failed to decode picture
[h264 @ 0x15803ee20] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
Error while decoding stream #0:0: Unknown error occurred
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)
    Last message repeated 2 times
[h264 @ 0x15803ee20] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x15803ee20] vt decoder cb: output image buffer is null
[h264 @ 0x15803ee20] hardware accelerator failed to decode picture
Error while decoding stream #0:0: Unknown error occurred
[h264 @ 0x158043700] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
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)
    Last message repeated 2 times
[h264 @ 0x158043700] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x158043700] vt decoder cb: output image buffer is null
[h264 @ 0x158043700] hardware accelerator failed to decode picture
Error while decoding stream #0:0: Unknown error occurred
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 @ 0x158047fe0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
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)
    Last message repeated 1 times
[h264 @ 0x158047fe0] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x158047fe0] vt decoder cb: output image buffer is null
[h264 @ 0x158047fe0] hardware accelerator failed to decode picture
[h264 @ 0x1580237a0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
Error while decoding stream #0:0: Unknown error occurred
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)
    Last message repeated 2 times
[h264 @ 0x1580237a0] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x1580237a0] vt decoder cb: output image buffer is null
[h264 @ 0x1580237a0] hardware accelerator failed to decode picture
[h264 @ 0x1580282b0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
Error while decoding stream #0:0: Unknown error occurred
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)
    Last message repeated 1 times
[h264 @ 0x1580282b0] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x1580282b0] vt decoder cb: output image buffer is null
[h264 @ 0x1580282b0] hardware accelerator failed to decode picture
[h264 @ 0x15802cb40] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
Error while decoding stream #0:0: Unknown error occurred
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)
    Last message repeated 2 times
[h264 @ 0x15802cb40] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x15802cb40] vt decoder cb: output image buffer is null
[h264 @ 0x15802cb40] hardware accelerator failed to decode picture
[h264 @ 0x1580313d0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
Error while decoding stream #0:0: Unknown error occurred
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)
    Last message repeated 2 times
[h264 @ 0x1580313d0] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x1580313d0] vt decoder cb: output image buffer is null
[h264 @ 0x1580313d0] hardware accelerator failed to decode picture
Error while decoding stream #0:0: Unknown error occurred
[h264 @ 0x158035c60] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
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)
    Last message repeated 2 times
[h264 @ 0x158035c60] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x158035c60] vt decoder cb: output image buffer is null
[h264 @ 0x158035c60] hardware accelerator failed to decode picture
Error while decoding stream #0:0: Unknown error occurred
[h264 @ 0x15803a540] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
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)
    Last message repeated 2 times
[h264 @ 0x15803a540] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x15803a540] vt decoder cb: output image buffer is null
[h264 @ 0x15803a540] hardware accelerator failed to decode picture
[h264 @ 0x15803ee20] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
Error while decoding stream #0:0: Unknown error occurred
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)
    Last message repeated 2 times
[h264 @ 0x15803ee20] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x15803ee20] vt decoder cb: output image buffer is null
[h264 @ 0x15803ee20] hardware accelerator failed to decode picture
Error while decoding stream #0:0: Unknown error occurred
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 @ 0x158043700] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
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)
    Last message repeated 1 times
[h264 @ 0x158043700] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x158043700] vt decoder cb: output image buffer is null
[h264 @ 0x158043700] hardware accelerator failed to decode picture
Error while decoding stream #0:0: Unknown error occurred
[h264 @ 0x158047fe0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
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)
    Last message repeated 2 times
[h264 @ 0x158047fe0] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x158047fe0] vt decoder cb: output image buffer is null
[h264 @ 0x158047fe0] hardware accelerator failed to decode picture
[h264 @ 0x1580237a0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
Error while decoding stream #0:0: Unknown error occurred
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)
    Last message repeated 1 times
[h264 @ 0x1580237a0] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x1580237a0] vt decoder cb: output image buffer is null
[h264 @ 0x1580237a0] hardware accelerator failed to decode picture
[h264 @ 0x1580282b0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
Error while decoding stream #0:0: Unknown error occurred
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)
    Last message repeated 2 times
[h264 @ 0x1580282b0] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x1580282b0] vt decoder cb: output image buffer is null
[h264 @ 0x1580282b0] hardware accelerator failed to decode picture
[h264 @ 0x15802cb40] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
Error while decoding stream #0:0: Unknown error occurred
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)
    Last message repeated 2 times
[h264 @ 0x15802cb40] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x15802cb40] vt decoder cb: output image buffer is null
[h264 @ 0x15802cb40] hardware accelerator failed to decode picture
[h264 @ 0x1580313d0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
Error while decoding stream #0:0: Unknown error occurred
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)
    Last message repeated 2 times
[h264 @ 0x1580313d0] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x1580313d0] vt decoder cb: output image buffer is null
[h264 @ 0x1580313d0] hardware accelerator failed to decode picture
Error while decoding stream #0:0: Unknown error occurred
[h264 @ 0x158035c60] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
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)
    Last message repeated 2 times
[h264 @ 0x158035c60] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x158035c60] vt decoder cb: output image buffer is null
[h264 @ 0x158035c60] hardware accelerator failed to decode picture
Error while decoding stream #0:0: Unknown error occurred
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 @ 0x15803a540] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
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)
    Last message repeated 1 times
[h264 @ 0x15803a540] VideoToolbox decoder needs reconfig, restarting..
[h264 @ 0x15803a540] vt decoder cb: output image buffer is null
[h264 @ 0x15803a540] hardware accelerator failed to decode picture
Error while decoding stream #0:0: Unknown error occurred
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)
Error while decoding stream #0:0: Unknown error occurred
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)
Error while decoding stream #0:0: Unknown error occurred
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)
Error while decoding stream #0:0: Unknown error occurred
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)
Error while decoding stream #0:0: Unknown error occurred
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)
Error while decoding stream #0:0: Unknown error occurred
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)
Error while decoding stream #0:0: Unknown error occurred
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)
Error while decoding stream #0:0: Unknown error occurred
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)
    Last message repeated 1 times
[graph 0 input from stream 0:0 @ 0x156e1f7b0] Setting 'video_size' to value '1280x720'
[graph 0 input from stream 0:0 @ 0x156e1f7b0] Setting 'pix_fmt' to value '0'
[graph 0 input from stream 0:0 @ 0x156e1f7b0] Setting 'time_base' to value '1/12800'
[graph 0 input from stream 0:0 @ 0x156e1f7b0] Setting 'pixel_aspect' to value '1/1'
[graph 0 input from stream 0:0 @ 0x156e1f7b0] Setting 'frame_rate' to value '25/1'
[graph 0 input from stream 0:0 @ 0x156e1f7b0] w:1280 h:720 pixfmt:yuv420p tb:1/12800 fr:25/1 sar:1/1
[AVFilterGraph @ 0x1580585d0] query_formats: 3 queried, 2 merged, 0 already done, 0 delayed
[out_0_0 @ 0x15805a540] EOF on sink link out_0_0:default.
Output #0, null, to 'pipe:':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf59.2.101
  Stream #0:0(und), 0, 1/25: Video: wrapped_avframe, 1 reference frame, yuv420p(left), 1280x720 (0x0) [SAR 1:1 DAR 16:9], 0/1, q=2-31, 200 kb/s, 25 fps, 25 tbn (default)
    Metadata:
      creation_time   : 1970-01-01T00:00:00.000000Z
      handler_name    : VideoHandler
      vendor_id       : [0][0][0][0]
      encoder         : Lavc59.1.101 wrapped_avframe
  Stream #0:1(und), 0, 1/48000: Audio: pcm_s16le, 48000 Hz, 5.1, s16, 4608 kb/s (default)
    Metadata:
      creation_time   : 1970-01-01T00:00:00.000000Z
      handler_name    : SoundHandler
      vendor_id       : [0][0][0][0]
      encoder         : Lavc59.1.101 pcm_s16le
cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:1] (this is harmless if it occurs once at the start per stream)
[out_0_1 @ 0x156f16fe0] EOF on sink link out_0_1:default.
No more output streams to write to, finishing.
frame=    0 fps=0.0 q=0.0 Lsize=N/A time=00:00:05.31 bitrate=N/A speed=5.39x
video:0kB audio:2988kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Input file #0 (/Users/xia/Downloads/SampleVideo_1280x720_1mb.mp4):
  Input stream #0:0 (video): 132 packets read (795933 bytes); 0 frames decoded;
  Input stream #0:1 (audio): 249 packets read (255526 bytes); 249 frames decoded (254976 samples);
  Total: 381 packets (1051459 bytes) demuxed
Output file #0 (pipe:):
  Output stream #0:0 (video): 0 frames encoded; 0 packets muxed (0 bytes);
  Output stream #0:1 (audio): 249 frames encoded (254976 samples); 249 packets muxed (3059712 bytes);
  Total: 249 packets (3059712 bytes) muxed
249 frames successfully decoded, 132 decoding errors
[AVIOContext @ 0x156e119f0] Statistics: 1092685 bytes read, 2 seeks

comment:5 by Peter Xia, 2 years ago

Keywords: videotoolbox added

comment:6 by hoodar, 2 years ago

Cc: hoodar added

comment:7 by Alex Agranovsky, 2 years ago

I have the same problem, manifesting in the same way, but on iOS. I know that the same exact code (both ours and ffmpeg) was working prior to iOS 15 upgrade.

I've tested on MacOS as well and seeing the same problem as OP: decoder works on Intel Mac (MacOS 12.3), and fails on M1 (12.3 as well). I've tested with 5.0.1, but not seeing changes in the relevant area, I expect it to fail on HEAD as well

comment:8 by Alex Agranovsky, 2 years ago

Same problem also described in #9713

comment:9 by Carl Eugen Hoyos, 21 months ago

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