linux-sunxi / libvdpau-sunxi

Experimental VDPAU for Allwinner sunxi SoCs (obsolete, see https://linux-sunxi.org/Sunxi-Cedrus)
https://linux-sunxi.org/Cedrus
166 stars 80 forks source link

FFmpeg vdpau decoding #55

Open topilski opened 7 years ago

topilski commented 7 years ago

Hi, i have Orange Pi One device, last build from ffmpeg (build from snapshot sources), and i'am trying to convert big buck bunnny video. i use next command line: DISPLAY=:0 /usr/bin/ffmpeg -hwaccel vdpau -i b.mov out.mp4 -v debug

but receive the error: Error retrieving the data from VDPAU surface, may be you can help me why it can happen?

img

rellla commented 7 years ago

Hi, is this issue solved already? I'm not sure how libvdpau-sunxi is used by ffmpeg conversion. Is the error maybe because of missing get_bits_ycbcr functionality?

topilski commented 7 years ago

Hi @rellla, i forked from your sources and remark 1 line ( https://github.com/fastogt/libvdpau-sunxi/commit/e0059f882449eecbd1d039799621d3214e09e50b ), after that vdpau decoding worked. Yes this issue is missing get_bits_ycbcr functionality.

topilski commented 7 years ago

Depend issues: https://github.com/linux-sunxi/libvdpau-sunxi/issues/57

nulijiabei commented 5 years ago

@topilski How do you achieve ffmpeg hardware decoding Help me

Moorviper commented 5 years ago

THIS IS A BUG TRACKING SYSTEM / NOT A SUPPORT PLATFORM

topilski commented 5 years ago

@nulijiabei here my fork https://github.com/fastogt/libvdpau-sunxi

nulijiabei commented 5 years ago

@topilski I also encountered the same problem https://github.com/fastogt/libvdpau-sunxi How to do !!!

nulijiabei commented 5 years ago

image

mittorn commented 5 years ago

@nulijiabei it does not support retrieving decoded pixels back mplayer's vdpau implementation does need this and works ok

nulijiabei commented 5 years ago

@mittorn @topilski Thank you

Waiting for Miracles ...