[FFmpeg-trac] #7210(avcodec:new): avcodec decoder error: existing hardware acceleration cannot be reused

FFmpeg trac at avcodec.org
Thu May 17 14:46:26 EEST 2018


#7210: avcodec decoder error: existing hardware acceleration cannot be reused
--------------------------------+-----------------------------------
             Reporter:  styxxx  |                    Owner:
                 Type:  defect  |                   Status:  new
             Priority:  normal  |                Component:  avcodec
              Version:  3.4     |               Resolution:
             Keywords:  vdpau   |               Blocked By:
             Blocking:          |  Reproduced by developer:  0
Analyzed by developer:  0       |
--------------------------------+-----------------------------------

Comment (by jkqxz):

 That seems to all be fine with ffmpeg:

 {{{
 [AVHWDeviceContext @ 0x55be5154dc20] Successfully created a VDPAU device
 (G3DVL VDPAU Driver Shared Library version 1.0) on X11 display :0
 }}}
 {{{
 [h264 @ 0x55be51601a80] Reinit context to 1280x720, pix_fmt: vdpau
 }}}

 I suspect it's failing the level check when run in vlc?  The file is
 marked as level 5.1, but your hardware only declares support up to 4.1.
 The AV_HWACCEL_FLAG_IGNORE_LEVEL flag is set by default in libavcodec with
 ffmpeg (since the speed element doesn't matter for non-realtime use, and
 the dimensions are checked separately), but vlc might be overriding it.

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


More information about the FFmpeg-trac mailing list