-
Posts
1 -
Joined
-
Last visited
Reputation Activity
-
Adrian Cuzman got a reaction from Nixes in Moonlight Embedded on Orange Pi
I managed to compile moonlight on an OrangePi PC (but it's has 1G ram) and the good news is that it works out of the box with VDPAU acceleration, it works well even 1080 with 60fps. Also, had to compile ffmpeg and used the vdpau driver provided by apt-get, so no need to compile from source. Another idea is to compile ffmpeg by subcomponents, like libavutil, but I don't know if it can be done easy... anyway, I've attached my version of compiled ffmpeg on OrangePI PC.
The dependencies needed by moonlight on OrangePi besides the ones from the github wiki, these are specific to OrangePi:
sudo apt-get install vdpau-driver-all
sudo apt-get install libvdpau-dev
-- compile ffmpeg (version x.y.z - latest available from releases)
sudo apt-get install pkg-config
wget http://ffmpeg.org/releases/ffmpeg-x.y.z.tar.bz2
tar xjvf ffmpeg-x.y.z.tar.bz2
cd ffmpeg-x.y.z
./configure --enable-shared
make
sudo make install
--- end
--also missing dependencies for moonlight
sudo apt-get install libegl1-mesa-dev
sudo apt-get install libmali-sunxi-dev
sudo apt-get install libenet-dev
.. and finally, the moonlight source has a small bug, even if VA acceleration is not available, the code is used and you get a link error, I've added a fix with this in my fork, nothing complicated just added the missing #ifdefs: https://github.com/adriancuzman/moonlight-embedded
The compiled ffmpeg version: https://wetransfer.com/downloads/a9d1eb073ded6448552773a7d9767ee120170726095854/c95368541c802e6e94437504f28527ab20170726095854/e5d737
-
Adrian Cuzman got a reaction from Igor in Moonlight Embedded on Orange Pi
I managed to compile moonlight on an OrangePi PC (but it's has 1G ram) and the good news is that it works out of the box with VDPAU acceleration, it works well even 1080 with 60fps. Also, had to compile ffmpeg and used the vdpau driver provided by apt-get, so no need to compile from source. Another idea is to compile ffmpeg by subcomponents, like libavutil, but I don't know if it can be done easy... anyway, I've attached my version of compiled ffmpeg on OrangePI PC.
The dependencies needed by moonlight on OrangePi besides the ones from the github wiki, these are specific to OrangePi:
sudo apt-get install vdpau-driver-all
sudo apt-get install libvdpau-dev
-- compile ffmpeg (version x.y.z - latest available from releases)
sudo apt-get install pkg-config
wget http://ffmpeg.org/releases/ffmpeg-x.y.z.tar.bz2
tar xjvf ffmpeg-x.y.z.tar.bz2
cd ffmpeg-x.y.z
./configure --enable-shared
make
sudo make install
--- end
--also missing dependencies for moonlight
sudo apt-get install libegl1-mesa-dev
sudo apt-get install libmali-sunxi-dev
sudo apt-get install libenet-dev
.. and finally, the moonlight source has a small bug, even if VA acceleration is not available, the code is used and you get a link error, I've added a fix with this in my fork, nothing complicated just added the missing #ifdefs: https://github.com/adriancuzman/moonlight-embedded
The compiled ffmpeg version: https://wetransfer.com/downloads/a9d1eb073ded6448552773a7d9767ee120170726095854/c95368541c802e6e94437504f28527ab20170726095854/e5d737