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

2019-01-27 Thread FFmpeg
#7210: avcodec decoder error: existing hardware acceleration cannot be reused
-+-
 Reporter:  styxxx   |Owner:
 Type:  defect   |   Status:  new
 Priority:  normal   |Component:  avcodec
  Version:  unspecified  |   Resolution:
 Keywords:  vdpau|   Blocked By:
  videolan   |  Reproduced by developer:  0
 Blocking:   |
Analyzed by developer:  0|
-+-
Changes (by cehoyos):

 * keywords:  vdpau => vdpau videolan
 * version:  3.4 => unspecified


--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


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

2018-05-17 Thread FFmpeg
#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: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


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

2018-05-16 Thread FFmpeg
#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 styxxx):

 Thanks for all your replies!
 I attached the requested output (no error message there?) and uploaded a
 file:

 [https://styxxx.de/temp/ffmpeg/Ticket_7210_-
 
_avcodec_decoder_error_existing_hardware_acceleration_cannot_be_reused__sample.mkv]
 (First ~5M of one of the videos)

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


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

2018-05-16 Thread FFmpeg
#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 cehoyos):

 Replying to [comment:7 jkqxz]:
 > Replying to [comment:5 cehoyos]:
 > > Is there an encoder that is able to encode to baseline or extended
 profile?
 >
 > Any constrained baseline stream can be marked as baseline or extended,
 and any non-CABAC main stream can be marked as extended - it's not
 required that it uses the rarely-implemented features.

 > (Mislabelled streams of this form should be decodable with
 `-hwaccel_flags +allow_profile_mismatch`.)
 I guess this should be the default then.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


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

2018-05-16 Thread FFmpeg
#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):

 Replying to [comment:5 cehoyos]:
 > Is there an encoder that is able to encode to baseline or extended
 profile?

 Any constrained baseline stream can be marked as baseline or extended, and
 any non-CABAC main stream can be marked as extended - it's not required
 that it uses the rarely-implemented features.  (Mislabelled streams of
 this form should be decodable with `-hwaccel_flags
 +allow_profile_mismatch`.)

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


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

2018-05-16 Thread FFmpeg
#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 cehoyos):

 Replying to [comment:1 styxxx]:
 > I cannot upload my sample file to your ftp server (I can't connect at
 all):

 Please use a file host of your choice.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


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

2018-05-16 Thread FFmpeg
#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 cehoyos):

 Is there an encoder that is able to encode to baseline or extended
 profile?

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


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

2018-05-16 Thread FFmpeg
#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):

 Can you provide the log from ffmpeg?

 {{{
 ffmpeg -v debug -hwaccel vdpau -i your_file -f null -
 }}}

 Given that it stops just after querying the capabilities, I suspect that
 your file is not supported (or can't be determined to be supported) by the
 hardware - e.g. maybe it's H.264 baseline or extended profile.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


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

2018-05-16 Thread FFmpeg
#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 cehoyos):

 Does vlc compilation work with current FFmpeg git head?

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


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

2018-05-15 Thread FFmpeg
#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   |
+---
Changes (by styxxx):

 * version:  unspecified => 3.4


--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


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

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

Comment (by styxxx):

 Installed libavcodec:
 {{{
 ii  libavcodec56:amd64
 10:2.8.6-dmo2  amd64Library to encode
 decode multimedia streams - runtime files
 ii  libavcodec57:amd64
 10:3.4.1-dmo3  amd64Library to encode
 decode multimedia streams - runtime files
 ii  libavcodec57:i386
 10:3.4.1-dmo3  i386 Library to encode
 decode multimedia streams - runtime files
 }}}
 AFAIK libavcodec57:amd64 is used by vlc.

 Hardware:
 {{{
 $ lspci -vnn | grep VGA -A 12
 00:01.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc.
 [AMD/ATI] Wrestler [Radeon HD 6320] [1002:9806] (prog-if 00 [VGA
 controller])
 Subsystem: Hewlett-Packard Company Wrestler [Radeon HD 6320]
 [103c:3577]
 Flags: bus master, fast devsel, latency 0, IRQ 29
 Memory at e000 (32-bit, prefetchable) [size=256M]
 I/O ports at 4000 [size=256]
 Memory at f040 (32-bit, non-prefetchable) [size=256K]
 [virtual] Expansion ROM at 000c [disabled] [size=128K]
 Capabilities: 
 Kernel driver in use: radeon
 Kernel modules: radeon

 00:01.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI]
 Wrestler HDMI Audio [1002:1314]
 Subsystem: Hewlett-Packard Company Wrestler HDMI Audio [103c:3577]
 }}}

 I cannot upload my sample file to your ftp server (I can't connect at
 all):
 {{{
 ftp: connect to address 2a01:e0d:1:3:58bf:fa77:f00d:face: Connection timed
 out
 Trying 88.191.250.119...
 ftp: connect: Connection timed out
 }}}
 Is it down?

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


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

2018-05-15 Thread FFmpeg
#7210: avcodec decoder error: existing hardware acceleration cannot be reused
-+---
 Reporter:  styxxx   | Type:  defect
   Status:  new  | Priority:  normal
Component:  avcodec  |  Version:  unspecified
 Keywords:  vdpau|   Blocked By:
 Blocking:   |  Reproduced by developer:  0
Analyzed by developer:  0|
-+---
 Hello,

 I encountered an issue while using vlc + vdpau and reported a bug there.
 The vlc team thinks it's a failure within libavcodec.
 The report can be found here: [https://trac.videolan.org/vlc/ticket/20477]

 As seen in the bug report there using the hardware acceleration fails for
 some unknown reason:


 {{{
 vdp_decoder_query_capabilities(1, 8, -, -, -, -, -)
 -> 0, 1, 41, 9216, 2048, 1152
 [7fd478c106a0] avcodec decoder error: existing hardware acceleration
 cannot be reused
 vdp_video_surface_destroy(6)
 -> 0
 }}}

 I'll upload a sample file on your ftp server including this bug report's
 ID in its filename.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac