Opened 6 years ago

Last modified 6 years ago

#7371 new defect

Videotoolbox Decoding Error

Reported by: ponpon Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords: videotoolbox
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Thank you for good programs.

A slice error happen when using -hwaccel videotoolbox.
Isn't Constrained Baseline supported in Videotoolbox?

ffmpeg -threads 1 -hwaccel videotoolbox -i test.mp4 -f null -
ffmpeg version N-91646-g78d4b6bd43 Copyright (c) 2000-2018 the FFmpeg developers
  built with clang version 5.0.2 (tags/RELEASE_502/final)
  configuration: --prefix=/sw --cc=clang-mp-5.0 --cxx=clang++-mp-5.0 --disable-shared --enable-static --enable-gpl --enable-version3 --enable-nonfree --enable-pthreads --optflags=-Ofast --extra-cflags='-I/sw/include -I/opt/local/include ' --extra-ldflags=' -L/sw/lib -L/opt/local/lib -fopenmp' --extra-ldsoflags='-L/sw/lib -L/opt/local/lib -static--target-os=darwin' --arch=x86_64 --cpu=kabylake --enable-avresample --enable-libfdk-aac --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libxvid --enable-libfreetype --enable-gcrypt --enable-gmp --enable-openssl --enable-librtmp --enable-libass --enable-fontconfig --enable-libfribidi --enable-libbluray --enable-libdc1394 --enable-libmodplug --enable-lzma --enable-libx264 --enable-libx265 --enable-libzimg --enable-libvidstab --enable-libsoxr --enable-libsmbclient --enable-libcdio --enable-libtesseract --enable-opengl --enable-opencl --pkg-config-flags=' --libs --static'
  libavutil      56. 19.100 / 56. 19.100
  libavcodec     58. 23.100 / 58. 23.100
  libavformat    58. 17.103 / 58. 17.103
  libavdevice    58.  4.101 / 58.  4.101
  libavfilter     7. 26.100 /  7. 26.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  2.100 /  5.  2.100
  libswresample   3.  2.100 /  3.  2.100
  libpostproc    55.  2.100 / 55.  2.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf58.17.101
  Duration: 00:00:00.56, start: 0.000000, bitrate: 97 kb/s
    Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 426x240, 18 kb/s, 24 fps, 24 tbr, 12288 tbn, 48 tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 22050 Hz, stereo, fltp, 59 kb/s (default)
    Metadata:
      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
Error creating Videotoolbox decoder.
videotoolbox hwaccel requested for input stream #0:0, but cannot be initialized.
[h264 @ 0x7f92a3818e00] decode_slice_header error
[h264 @ 0x7f92a3818e00] no frame!
Error while decoding stream #0:0: Invalid data found when processing input
Error creating Videotoolbox decoder.
videotoolbox hwaccel requested for input stream #0:0, but cannot be initialized.
[h264 @ 0x7f92a3818e00] decode_slice_header error
[h264 @ 0x7f92a3818e00] no frame!
Error while decoding stream #0:0: Invalid data found when processing input
Error creating Videotoolbox decoder.
videotoolbox hwaccel requested for input stream #0:0, but cannot be initialized.
[h264 @ 0x7f92a3818e00] decode_slice_header error
[h264 @ 0x7f92a3818e00] no frame!
Error while decoding stream #0:0: Invalid data found when processing input
Error creating Videotoolbox decoder.
videotoolbox hwaccel requested for input stream #0:0, but cannot be initialized.
[h264 @ 0x7f92a3818e00] decode_slice_header error
[h264 @ 0x7f92a3818e00] no frame!
Error while decoding stream #0:0: Invalid data found when processing input
Error creating Videotoolbox decoder.
videotoolbox hwaccel requested for input stream #0:0, but cannot be initialized.
[h264 @ 0x7f92a3818e00] decode_slice_header error
[h264 @ 0x7f92a3818e00] no frame!
Error while decoding stream #0:0: Invalid data found when processing input
Error creating Videotoolbox decoder.
videotoolbox hwaccel requested for input stream #0:0, but cannot be initialized.
[h264 @ 0x7f92a3818e00] decode_slice_header error
[h264 @ 0x7f92a3818e00] no frame!
Error while decoding stream #0:0: Invalid data found when processing input
Error creating Videotoolbox decoder.
videotoolbox hwaccel requested for input stream #0:0, but cannot be initialized.
[h264 @ 0x7f92a3818e00] decode_slice_header error
[h264 @ 0x7f92a3818e00] no frame!
Error while decoding stream #0:0: Invalid data found when processing input
Error creating Videotoolbox decoder.
videotoolbox hwaccel requested for input stream #0:0, but cannot be initialized.
[h264 @ 0x7f92a3818e00] decode_slice_header error
[h264 @ 0x7f92a3818e00] no frame!
Error while decoding stream #0:0: Invalid data found when processing input
Error creating Videotoolbox decoder.
videotoolbox hwaccel requested for input stream #0:0, but cannot be initialized.
[h264 @ 0x7f92a3818e00] decode_slice_header error
[h264 @ 0x7f92a3818e00] no frame!
Error while decoding stream #0:0: Invalid data found when processing input
Error creating Videotoolbox decoder.
videotoolbox hwaccel requested for input stream #0:0, but cannot be initialized.
[h264 @ 0x7f92a3818e00] decode_slice_header error
[h264 @ 0x7f92a3818e00] no frame!
Error while decoding stream #0:0: Invalid data found when processing input
Error creating Videotoolbox decoder.
videotoolbox hwaccel requested for input stream #0:0, but cannot be initialized.
[h264 @ 0x7f92a3818e00] decode_slice_header error
[h264 @ 0x7f92a3818e00] no frame!
Error while decoding stream #0:0: Invalid data found when processing input
Error creating Videotoolbox decoder.
videotoolbox hwaccel requested for input stream #0:0, but cannot be initialized.
[h264 @ 0x7f92a3818e00] decode_slice_header error
[h264 @ 0x7f92a3818e00] no frame!
Error while decoding stream #0:0: Invalid data found when processing input
Output #0, null, to 'pipe:':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf58.17.103
    Stream #0:0(und): Video: wrapped_avframe, yuv420p, 426x240, q=2-31, 200 kb/s, 24 fps, 24 tbn, 24 tbc (default)
    Metadata:
      handler_name    : VideoHandler
      encoder         : Lavc58.23.100 wrapped_avframe
    Stream #0:1(und): Audio: pcm_s16le, 22050 Hz, stereo, s16, 705 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
      encoder         : Lavc58.23.100 pcm_s16le
frame=    0 fps=0.0 q=0.0 Lsize=N/A time=00:00:00.51 bitrate=N/A speed=11.9x    
video:0kB audio:44kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown

Attachments (1)

test.mp4 (6.7 KB ) - added by ponpon 6 years ago.

Download all attachments as: .zip

Change History (2)

by ponpon, 6 years ago

Attachment: test.mp4 added

comment:1 by Carl Eugen Hoyos, 6 years ago

Keywords: videotoolbox added
Note: See TracTickets for help on using tickets.