[FFmpeg-trac] #4371(avcodec:new): ffmpeg vda hardware decoder not working

FFmpeg trac at avcodec.org
Tue Mar 17 19:21:57 CET 2015


#4371: ffmpeg vda hardware decoder not working
------------------------------------+-------------------------------------
             Reporter:  hahaha1234  |                     Type:  defect
               Status:  new         |                 Priority:  important
            Component:  avcodec     |                  Version:  2.6
             Keywords:  vda         |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+-------------------------------------
 Summary of the bug:
 ffmpeg vda hardware decoder is not working.

 the goal I want to achieve is using the vda hardware decoder to decode a
 mp4 file into a yuv file.

 How to reproduce:
 {{{
 % ./ffmpeg -vcodec h264_vda -i
 ~/Downloads/big_buck_bunny_720p_surround.avi out.yuv
 ffmpeg version 2.6.1 Copyright (c) 2000-2015 the FFmpeg developers
   built with Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM
 3.5svn)
   configuration:
   libavutil      54. 20.100 / 54. 20.100
   libavcodec     56. 26.100 / 56. 26.100
   libavformat    56. 25.101 / 56. 25.101
   libavdevice    56.  4.100 / 56.  4.100
   libavfilter     5. 11.102 /  5. 11.102
   libswscale      3.  1.101 /  3.  1.101
   libswresample   1.  1.100 /  1.  1.100
 [10:20:50.169] vtDecompressionDuctCreate signalled err=-8973 (err) (Could
 not select and open decoder instance) at
 /SourceCache/CoreMedia_frameworks/CoreMedia-1562.107/Sources/VideoToolbox/VTDecompressionSession.c
 line 1181
 [h264_vda @ 0x7f9feb034600] Failed to init VDA decoder: -12473.
 [avi @ 0x7f9feb00da00] Failed to open codec in av_find_stream_info
 }}}

  the following command won't work either. it won't generate any error, but
 only software decoder will be used even I explicitly requested vda_h264
 decoder.

 {{{
 % ./ffmpeg -hwaccel vda -i ~/Downloads/big_buck_bunny_720p_surround.avi
 -c:v rawvideo -pix_fmt yuv420p out.yuv
 }}}

 the testing video can be downloaded from here:

 http://mirrorblender.top-
 ix.org/peach/bigbuckbunny_movies/big_buck_bunny_720p_surround.avi

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


More information about the FFmpeg-trac mailing list