Jump to content

Recommended Posts

Posted

How do I get a desktop running on this (legacy)? It only outputs a shell on the video out

 

Additionally, is the hw video decoder enabled?

 

Armbian_5.30_Orangepizero_Ubuntu_xenial_default_3.4.113

Posted

Thanks.

 

Desktop works but HW video decoding doesn't, I just get a black window - the same video works on my OpiPC.

Does VDPAU support TV out/CVBS?

 

Using: Armbian_5.35_Orangepizero_Debian_jessie_default_3.4.113_desktop

Posted

Cedrus hw enc/dec do not work for me (OPiZero). It would be useful in a new armbian release: i.e. hw mjpeg/h264 acceleration in ffmpeg.

Posted

I updated to head and recompiled and still have a black screen.

 

Do I need to edit the kernel config? CONFIG_CMA_SIZE_MBYTES is set to 16

 

edit: appears not, this is from dmesg
 

 cma: CMA: reserved 128 MiB at 58000000

Kernal Command Line: ... cma=96M

 

Posted

I tested on A20 and I only need to add extraargs=cma=96M to /boot/armbianEnv.txt and the video playing was back.

Posted
On 25/11/2017 at 7:31 PM, Magnets said:

 

Did you have any success?

 

No, I don't. I've upgrade my pi zero to Armbian 5.35 (Jessie, default kernel, vdpau installed) but ffmpeg still not accelerated.

libcedrus1:armhf 1.0.1~armbian5.35+1 armhf Low-level acces to video enginge ofr Allwinner sunxi SoCs

libvdpau-sunxi1:armhf 0.5.1~armbian5.35+1 armhf VDPAU implementation for sunxi SoCs

libvdpau1:armhf 1.1.1-10~armbian5.35+1 armhf Video Decode and Presentation API for Unix (libraries)


I'll try next month with a fresh Strech install... I need an updated version of ffmpeg and motion (damn transcode!).

Posted

ffmpeg "-hwaccels" output:

 

Spoiler

francesco@orangepizero:~$ ffmpeg -hwaccels
ffmpeg version 2.8.13 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 4.9.2 (Debian 4.9.2-10)
  configuration: --prefix=/usr --extra-cflags='-g -O2 -fstack-protector-strong -Wformat -Werror=format-security ' --extra-ldflags='-Wl,-z,relro' --enable-shared --enable-libmp3lame --enable-gpl --enable-nonfree --enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid --enable-postproc --enable-x11grab --enable-libgsm --enable-libtheora --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-libspeex --enable-nonfree --disable-stripping --enable-libvpx --enable-libschroedinger --disable-encoder=libschroedinger --enable-version3 --enable-libopenjpeg --enable-librtmp --enable-avfilter --enable-libfreetype --enable-libvo-aacenc --disable-decoder=amrnb --enable-libvo-amrwbenc --enable-libaacplus --libdir=/usr/lib/arm-linux-gnueabihf --disable-vda --enable-libbluray --enable-libcdio --enable-gnutls --enable-frei0r --enable-openssl --enable-libass --enable-libopus --enable-fontconfig --enable-libpulse --disable-mips32r2 --disable-mipsdspr1 --disable-mipsdspr2 --enable-libvidstab --enable-libzvbi --enable-avresample --disable-htmlpages --disable-podpages --enable-libutvideo --enable-libfdk-aac --enable-libx265 --enable-libbs2b --enable-libilbc --enable-libkvazaar --enable-libopenh264 --enable-libiec61883 --enable-libdc1394 --disable-altivec --shlibdir=/usr/lib/arm-linux-gnueabihf
  libavutil      54. 31.100 / 54. 31.100
  libavcodec     56. 60.100 / 56. 60.100
  libavformat    56. 40.101 / 56. 40.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 40.101 /  5. 40.101
  libavresample   2.  1.  0 /  2.  1.  0
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.101 /  1.  2.101
  libpostproc    53.  3.100 / 53.  3.100
Hardware acceleration methods:
vdpau

Posted
1 hour ago, zador.blood.stained said:

Stock FFmpeg is not supposed to be accelerated. There are 3rd party FFmpeg sources that have limited Cedrus acceleration support, but we don't build and package them.

 

Isn't cedrus acceleration (vdpau) mainlined in ffmpeg? Only in 2.8.x or also in 3.x?
Standard ffmpeg gained vdpau acceleration in 2009...

Posted
8 minutes ago, Moklev said:

Isn't cedrus acceleration (vdpau) mainlined in ffmpeg?

vdpau - possibly, don't know exactly (I mean it was added a long time ago, no idea in which version exactly). Cedrus - no.

libvdpau-sunxi implements only small and limited subset of VDPAU features, so it works with mplayer/mpv for video decoding but I don't remember if anybody made it work with FFmpeg (except for patched FFmpeg sources that bypass VDPAU and use /dev/cedar_dev directly)

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines