Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Architectures & Platforms Gentoo on ARM
  • Search

VLC on Raspberry Pi 2 with Hardware Acceleration

Gentoo on all things ARM. Both 32 bit and 64 bit.
Tell about your hardware and CHOST.
Problems with crossdev targeting ARM hardware go here too.
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
Author
Message
dinominant
Tux's lil' helper
Tux's lil' helper
Posts: 102
Joined: Fri Oct 27, 2006 6:24 pm
Contact:
Contact dinominant
Website

VLC on Raspberry Pi 2 with Hardware Acceleration

  • Quote

Post by dinominant » Fri Aug 07, 2015 5:27 am

I've got a working KDE with sound and VLC installed on my raspberry pi 2, but I don't have hardware acceleration yet. I've installed VLC with these use flags:

Code: Select all

rpi2 ~ # emerge -pv vlc

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ~] media-video/vlc-2.2.1:0/5-8::gentoo  USE="X a52 alsa avcodec avformat cdda cddb dbus directfb dts dvbpsi dvd encode faad fdk ffmpeg flac gcrypt jpeg kde libass libcaca libnotify libsamplerate live lua matroska modplug mp3 mpeg ncurses neon ogg omxil opengl opus png qt4 rdp rtsp samba sdl sdl-image shout speex svg swscale taglib theora truetype twolame udev v4l vcdx vnc vorbis wma-fixed x265 xcb xml xv zeroconf -aalib (-altivec) -atmo (-audioqueue) -bidi (-bluray) (-chromaprint) -dc1394 -debug (-directx) (-dvb) (-dxva2) (-fluidsynth) -fontconfig -gme -gnome -gnutls -growl -httpd (-ieee1394) -jack -kate -libav (-libtar) -libtiger -linsys (-lirc) (-macosx-dialog-provider) (-macosx-eyetv) (-macosx-qtkit) (-macosx-quartztext) (-media-library) (-mtp) (-musepack) (-opencv) -optimisememory -postproc (-projectm) -pulseaudio -qt5 -run-as-root (-schroedinger) -sftp (-sid) -skins {-test} -tremor (-upnp) (-vaapi) (-vdpau) -vlm (-vpx) (-x264) (-zvbi)" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB
I have also changed the video output in vlc to "OpenMAX IL video output" but it still seems the video is being decoded by the cpu.

How do I enable accelerated video?
Top
Leio
Developer
Developer
User avatar
Posts: 494
Joined: Thu Feb 27, 2003 3:41 pm
Location: Estonia

  • Quote

Post by Leio » Fri Aug 28, 2015 5:03 am

At least in the 2.1 series you would have to pass --enable-rpi-omxil - USE=omxil probably passes --enable-omxil, but rpi stack isn't generic enough (i.e there's no good X GL integration unless playing with the new VC4 mesa drivers, so everything needs their own rpi specific initialization sequence) - it seems to be the case with OMX as well, which seems logical as there are many RPi specifics in the gstreamer stack for this as well (with which I'm more intimately familiar). Probably related to dispmanx usage and the likes. So you'll need to find or make an ebuild that passes that instead or as well (not sure how it wants it). Maybe the arm overlay or some other overlay out there already has something like this. Additionally stuff like this ought to enter main tree as well imho - maybe I can help with that in the future, but currently my RPis are far away from me.
I found this by running "ebuild <ebuild file> prepare" on vlc and then going to the prepared location in my PORTAGE_TMPDIR and running ./configure --help |less to see the options easily. The specific needs and dependencies can probably be found by reading configure.ac source file, which might require some autotools knowledge.
GNOME team lead; GStreamer; MIPS/ARM64
Top
Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “Gentoo on ARM”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy