[FFmpeg-trac] #5595(undetermined:new): videotoolbox and vda fail to initialize for h264

FFmpeg trac at avcodec.org
Sun May 29 12:40:35 CEST 2016


#5595: videotoolbox and vda fail to initialize for h264
-------------------------------------+-------------------------------------
             Reporter:  ponpon       |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 thank you for the excellent programs.
 videotoolbox fails to initialize for not only mpeg2, mpeg4 but also h264.
 vda fails to initialize for h264.
 can't encode with videotoolbox.


 How to reproduce:
 {{{
 ffmpeg -y -hwaccel videotoolbox -threads 1 -i  test.mp4  -f null -
 ffmpeg version N-80117-gdac030d Copyright (c) 2000-2016 the FFmpeg
 developers
   built with clang version 3.7.1 (tags/RELEASE_371/final)
   configuration: --prefix=/sw --cc=clang --cxx=clang++
   libavutil      55. 24.100 / 55. 24.100
   libavcodec     57. 43.100 / 57. 43.100
   libavformat    57. 37.101 / 57. 37.101
   libavdevice    57.  0.101 / 57.  0.101
   libavfilter     6. 46.100 /  6. 46.100
   libswscale      4.  1.100 /  4.  1.100
   libswresample   2.  0.101 /  2.  0.101
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test.mp4':
   Metadata:
     major_brand     : isom
     minor_version   : 512
     compatible_brands: isomiso2avc1mp41
     encoder         : Lavf57.37.101
   Duration: 00:00:10.01, start: 0.000000, bitrate: 214 kb/s
     Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv),
 176x144 [SAR 128:117 DAR 1408:1053], 212 kb/s, 29.97 fps, 29.97 tbr, 30k
 tbn (default)
     Metadata:
       handler_name    : VideoHandler
 [null @ 0x7fdb21018000] Using AVStream.codec to pass codec parameters to
 muxers is deprecated, use AVStream.codecpar instead.
 Output #0, null, to 'pipe:':
   Metadata:
     major_brand     : isom
     minor_version   : 512
     compatible_brands: isomiso2avc1mp41
     encoder         : Lavf57.37.101
     Stream #0:0(und): Video: wrapped_avframe, yuv420p, 176x144 [SAR
 128:117 DAR 1408:1053], q=2-31, 200 kb/s, 29.97 fps, 29.97 tbn (default)
     Metadata:
       handler_name    : VideoHandler
       encoder         : Lavc57.43.100 wrapped_avframe
 Stream mapping:
   Stream #0:0 -> #0:0 (h264 (native) -> wrapped_avframe (native))
 Press [q] to stop, [?] for help
 Error creating Videotoolbox decoder.
 videotoolbox hwaccel requested for input stream #0:0, but cannot be
 initialized.
 [h264 @ 0x7fdb21017a00] decode_slice_header error
 Error creating Videotoolbox decoder.
 videotoolbox hwaccel requested for input stream #0:0, but cannot be
 initialized.
 [h264 @ 0x7fdb21017a00] decode_slice_header error
 [h264 @ 0x7fdb21017a00] 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 @ 0x7fdb21017a00] decode_slice_header error
 Error creating Videotoolbox decoder.
 videotoolbox hwaccel requested for input stream #0:0, but cannot be
 initialized.
 [h264 @ 0x7fdb21017a00] decode_slice_header error
 [h264 @ 0x7fdb21017a00] 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 @ 0x7fdb21017a00] decode_slice_header error
 Error creating Videotoolbox decoder.
 videotoolbox hwaccel requested for input stream #0:0, but cannot be
 initialized.
 [h264 @ 0x7fdb21017a00] decode_slice_header error
 [h264 @ 0x7fdb21017a00] no frame!
 Error while decoding stream #0:0: Invalid data found when processing input
 frame=    0 fps=0.0 q=0.0 Lsize=N/A time=00:00:00.00 bitrate=N/A speed=
 0x
 video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: unknown
 Output file is empty, nothing was encoded (check -ss / -t / -frames
 parameters if used)
 Conversion failed!
 }}}
 {{{
 ffmpeg -y -hwaccel vda -threads 1 -i  test.mp4  -f null -
 ffmpeg version N-80117-gdac030d Copyright (c) 2000-2016 the FFmpeg
 developers
   built with clang version 3.7.1 (tags/RELEASE_371/final)
   configuration: --prefix=/sw --cc=clang --cxx=clang++
   libavutil      55. 24.100 / 55. 24.100
   libavcodec     57. 43.100 / 57. 43.100
   libavformat    57. 37.101 / 57. 37.101
   libavdevice    57.  0.101 / 57.  0.101
   libavfilter     6. 46.100 /  6. 46.100
   libswscale      4.  1.100 /  4.  1.100
   libswresample   2.  0.101 /  2.  0.101
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test.mp4':
   Metadata:
     major_brand     : isom
     minor_version   : 512
     compatible_brands: isomiso2avc1mp41
     encoder         : Lavf57.37.101
   Duration: 00:00:10.01, start: 0.000000, bitrate: 214 kb/s
     Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv),
 176x144 [SAR 128:117 DAR 1408:1053], 212 kb/s, 29.97 fps, 29.97 tbr, 30k
 tbn (default)
     Metadata:
       handler_name    : VideoHandler
 [null @ 0x7ffed381d600] Using AVStream.codec to pass codec parameters to
 muxers is deprecated, use AVStream.codecpar instead.
 Output #0, null, to 'pipe:':
   Metadata:
     major_brand     : isom
     minor_version   : 512
     compatible_brands: isomiso2avc1mp41
     encoder         : Lavf57.37.101
     Stream #0:0(und): Video: wrapped_avframe, yuv420p, 176x144 [SAR
 128:117 DAR 1408:1053], q=2-31, 200 kb/s, 29.97 fps, 29.97 tbn (default)
     Metadata:
       handler_name    : VideoHandler
       encoder         : Lavc57.43.100 wrapped_avframe
 Stream mapping:
   Stream #0:0 -> #0:0 (h264 (native) -> wrapped_avframe (native))
 Press [q] to stop, [?] for help
 [h264 @ 0x7ffed381d000] Cannot initialize VDA -12473
 Error creating VDA decoder.
 vda hwaccel requested for input stream #0:0, but cannot be initialized.
 [h264 @ 0x7ffed381d000] decode_slice_header error
 [h264 @ 0x7ffed381d000] Cannot initialize VDA -12473
 Error creating VDA decoder.
 vda hwaccel requested for input stream #0:0, but cannot be initialized.
 [h264 @ 0x7ffed381d000] decode_slice_header error
 [h264 @ 0x7ffed381d000] no frame!
 Error while decoding stream #0:0: Invalid data found when processing input
 [h264 @ 0x7ffed381d000] Cannot initialize VDA -12473
 ...
 [h264 @ 0x7ffed381d000] Cannot initialize VDA -12473
 Error creating VDA decoder.
 vda hwaccel requested for input stream #0:0, but cannot be initialized.
 [h264 @ 0x7ffed381d000] decode_slice_header error
 [h264 @ 0x7ffed381d000] Cannot initialize VDA -12473
 Error creating VDA decoder.
 vda hwaccel requested for input stream #0:0, but cannot be initialized.
 [h264 @ 0x7ffed381d000] decode_slice_header error
 [h264 @ 0x7ffed381d000] no frame!
 Error while decoding stream #0:0: Invalid data found when processing input
 frame=    0 fps=0.0 q=0.0 Lsize=N/A time=00:00:00.00 bitrate=N/A speed=
 0x
 video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: unknown
 Output file is empty, nothing was encoded (check -ss / -t / -frames
 parameters if used)
 Conversion failed!
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/5595>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list