CubieBoard Forum

Cubieboard itself => Tips, Tricks and Guides => Topic started by: classdroogies on October 12, 2013, 07:00:30 pm

Title: Cubian Video Kiosk with Mplayer on CB2
Post by: classdroogies on October 12, 2013, 07:00:30 pm
Hi,
A tutorial for create a basic video kiosk on CB2 with mplayer, for fun  :)

I use Cubian up to date with the last kernel :
https://github.com/cubieplayer/Cubian/wiki/Wiki-Index (https://github.com/cubieplayer/Cubian/wiki/Wiki-Index)

Install and run cubian-update :
Code: [Select]
sudo apt-get update
sudo apt-get install cubian-update
sudo cubian-update
sudo reboot

Packages installation :
Code: [Select]
sudo apt-get upgrade
sudo apt-get install xserver-xorg-core xinit xserver-xorg-video-sunximali slim alsa-utils mplayer2 gcc make pkg-config libvdpau1 libvdpau-dev

Add sunxi_cedar_mod in /etc/modules for activate cedar.

Install libvdpau-sunxi library for mplayer :
Code: [Select]
git clone https://github.com/linux-sunxi/libvdpau-sunxi.git
Code: [Select]
cd libvdpau-sunxi
make
sudo make install

Add environment variable VDPAU_DRIVER=sunxi in /etc/environment.

Add udev rules for change the permission on /dev/disp and /dev/cedar_dev in /lib/udev/rules.d/90-sunxi-disp-permission.rules :
Code: [Select]
KERNEL=="disp", MODE="0777", GROUP="video"
KERNEL=="cedar_dev", MODE="0777", GROUP="video"

Add your user to the video and audio groups :
Code: [Select]
sudo usermod -G sudo,video,audio cubie
Login auto with slim :
Code: [Select]
login_cmd exec /bin/sh - ~/.xinitrc
default_user cubie
auto_login yes

Create video folder :
Code: [Select]
mkdir ~/video
Download Sintel's trailer for a test :
Code: [Select]
wget http://ftp.nluug.nl/ftp/graphics/blender/apricot/trailer/sintel_trailer-1080p.mp4 -O ~/video/sintel_trailer-1080p.mp4
Create ~/.xinitrc to launch mplayer :
Code: [Select]
mplayer -fs -ao alsa:device=hw=1.0 -vo vdpau -vc ffmpeg12vdpau,ffh264vdpau -loop 0 /home/cubie/video/*.mp4
Reboot and  8)
Title: Re: Cubian Video Kiosk with Mplayer on CB2
Post by: patwood on October 12, 2013, 09:18:46 pm
This is really great.  I've tried to get mplayer working on linaro, but when I try running it with

Code: [Select]
mplayer -fs -ao alsa:device=hw=0.0 -vo vdpau -vc ffmpeg12vdpau,ffh264vdpau sintel_trailer-1080p.mp4

I get the following message:

  Error opening/initializing the selected video_out (-vo) device.
...
  Video: no video

Then it goes on to play the audio, but no video.  Did you ever see this?
Title: Re: Cubian Video Kiosk with Mplayer on CB2
Post by: classdroogies on October 13, 2013, 03:18:15 am
Hi patwood,

I see this message with mplayer on debian. If I list the outputs videos :
Code: [Select]
mplayer -vo help
vdpau output doesn't exist, because mplayer is not build with.

mplayer2 support vdpau by default try it.

Title: Re: Cubian Video Kiosk with Mplayer on CB2
Post by: Bangonkali on October 13, 2013, 04:32:20 pm
Very nice tutorial. But it's strange that I can play Video and no Audio. Any notes I may have missed in this? I'm using Gnome install GUI over my Cubian.
Title: Re: Cubian Video Kiosk with Mplayer on CB2
Post by: patwood on October 13, 2013, 08:39:55 pm
Very nice tutorial. But it's strange that I can play Video and no Audio. Any notes I may have missed in this? I'm using Gnome install GUI over my Cubian.

cat /proc/asound/cards

Modify the alsa:device setting to use your HDMI alsa card.
Title: Re: Cubian Video Kiosk with Mplayer on CB2
Post by: cubieplayer on October 16, 2013, 10:45:42 pm
very nice tutorial
Title: Re: Cubian Video Kiosk with Mplayer on CB2
Post by: Bangonkali on October 17, 2013, 01:08:05 pm
Very nice tutorial. But it's strange that I can play Video and no Audio. Any notes I may have missed in this? I'm using Gnome install GUI over my Cubian.

cat /proc/asound/cards

Modify the alsa:device setting to use your HDMI alsa card.

Thanks Patwood! Somehow I got it to work (http://www.youtube.com/watch?v=AV9oJlleMlM).
Title: Re: Cubian Video Kiosk with Mplayer on CB2
Post by: tman on November 26, 2013, 11:15:51 am
Hi patwood,

I see this message with mplayer on debian. If I list the outputs videos :
Code: [Select]
mplayer -vo help
vdpau output doesn't exist, because mplayer is not build with.

mplayer2 support vdpau by default try it.

I get the same error (audio, but no video), I am running mplayer 2 (2.0-554-gf63dbad-1+b1 on debian):

Code: [Select]
Available video output drivers:
        vdpau   VDPAU with X11
        xv      X11/Xv
        gl_nosw OpenGL no software rendering
        x11     X11 ( XImage/Shm )
        xover   General X11 driver for overlay capable video output drivers
        sdl     SDL YUV/RGB/BGR renderer (SDL v1.1.7+ only!)
        gl      OpenGL
        gl_sdl  OpenGL with SDL
        dga     DGA ( Direct Graphic Access V2.0 )
        fbdev   Framebuffer Device
        fbdev2  Framebuffer Device
        aa      AAlib
        caca    libcaca
        v4l2    V4L2 MPEG Video Decoder Output
        dfbmga  DirectFB / Matrox G200/G400/G450/G550
        null    Null video output
        directfb        Direct Framebuffer Device
        mpegpes MPEG-PES to DVB card
        yuv4mpeg        yuv4mpeg output for mjpegtools
        png     PNG file
        jpeg    JPEG file
        gif89a  animated GIF output
        tga     Targa output
        pnm     PPM/PGM/PGMYUV file
        md5sum  md5sum of each frame

I allowed all the steps in the OP, but couldn't get it to work  :(

Also, I think I'm unable to load the cedar module:
Code: [Select]
lsmod | grep cedaryields nothing (after modprobe) and /dev/cedar_dev doesn't exist.                   
Title: Re: Cubian Video Kiosk with Mplayer on CB2
Post by: GeorgeIoak on November 26, 2013, 06:43:45 pm
Could you perhaps make a SD or NAND image of your setup so we can test it easily?
Title: Re: Cubian Video Kiosk with Mplayer on CB2
Post by: patwood on November 27, 2013, 12:23:55 am
Also, I think I'm unable to load the cedar module:
Code: [Select]
lsmod | grep cedaryields nothing (after modprobe) and /dev/cedar_dev doesn't exist.                   

Do you get an error from modprobe?  What does "uname -a" say?  What does "find /lib/modules | grep cedar" say?  What does "grep cedar /lib/modules/*/modules.builtin" say?  What does "dmesg | grep cedar" say (after the modprobe)?
Title: Re: Cubian Video Kiosk with Mplayer on CB2
Post by: tman on November 27, 2013, 12:46:44 pm
Quote from: patwood
Do you get an error from modprobe?
Code: [Select]
cubie@Cubian:~$ modprobe --first-time sunxi_cedar_mod
ERROR: could not insert 'sunxi_cedar_mod': Module already in kernel

Quote from: patwood
What does "uname -a" say?
Code: [Select]
cubie@Cubian:~$ uname -a
Linux Cubian 3.4.67+ #4 SMP PREEMPT Wed Nov 6 08:31:09 CST 2013 armv7l GNU/Linux

Quote from: patwood
What does "find /lib/modules | grep cedar" say?
Code: [Select]
cubie@Cubian:~$ find /lib/modules | grep cedar
/lib/modules/3.4.43+/kernel/drivers/media/video/sunxi/sunxi_cedar_mod.ko

Quote from: patwood
What does "dmesg | grep cedar" say (after the modprobe)?
Nothing. It appears the cedar module is already compiled in the kernel. I am using the updated Cubian distro.

Relevant devices:
Code: [Select]
cubie@Cubian:~$ ls /dev/disp /dev/cedar_dev
ls: cannot access /dev/cedar_dev: No such file or directory
/dev/disp

libvdpau seems to be installed correctly:
Code: [Select]
cubie@Cubian:~$ find /usr/lib/arm-linux-gnueabihf/vdpau/
/usr/lib/arm-linux-gnueabihf/vdpau/
/usr/lib/arm-linux-gnueabihf/vdpau/libvdpau_sunxi.so.1
/usr/lib/arm-linux-gnueabihf/vdpau/libvdpau_trace.so.1
/usr/lib/arm-linux-gnueabihf/vdpau/libvdpau_trace.so.1.0.0
Title: Re: Cubian Video Kiosk with Mplayer on CB2
Post by: patwood on November 27, 2013, 02:42:13 pm
Quote from: patwood
Do you get an error from modprobe?
Code: [Select]
cubie@Cubian:~$ modprobe --first-time sunxi_cedar_mod
ERROR: could not insert 'sunxi_cedar_mod': Module already in kernel

Quote from: patwood
What does "uname -a" say?
Code: [Select]
cubie@Cubian:~$ uname -a
Linux Cubian 3.4.67+ #4 SMP PREEMPT Wed Nov 6 08:31:09 CST 2013 armv7l GNU/Linux

Quote from: patwood
What does "find /lib/modules | grep cedar" say?
Code: [Select]
cubie@Cubian:~$ find /lib/modules | grep cedar
/lib/modules/3.4.43+/kernel/drivers/media/video/sunxi/sunxi_cedar_mod.ko

Quote from: patwood
What does "dmesg | grep cedar" say (after the modprobe)?
Nothing. It appears the cedar module is already compiled in the kernel. I am using the updated Cubian distro.

Relevant devices:
Code: [Select]
cubie@Cubian:~$ ls /dev/disp /dev/cedar_dev
ls: cannot access /dev/cedar_dev: No such file or directory
/dev/disp

libvdpau seems to be installed correctly:
Code: [Select]
cubie@Cubian:~$ find /usr/lib/arm-linux-gnueabihf/vdpau/
/usr/lib/arm-linux-gnueabihf/vdpau/
/usr/lib/arm-linux-gnueabihf/vdpau/libvdpau_sunxi.so.1
/usr/lib/arm-linux-gnueabihf/vdpau/libvdpau_trace.so.1
/usr/lib/arm-linux-gnueabihf/vdpau/libvdpau_trace.so.1.0.0

Okay, first, if there's a .ko file, that means the module probably isn't baked into the kernel; it could be loaded at startup via /etc/modules. Also, if the module is built in, you will get something from "grep cedar /lib/modules/*/modules.builtin"; if it's not, you'll see entries in modules.order.

Second, even if the module's built-in, you should see something like this from dmesg:

Code: [Select]
[    2.430857] [cedar dev]: install start!!!
[    2.438009] [cedar dev]: install end!!!

So the question is why isn't it initializing.  If the module is listed in /etc/modules, comment that out and try modprobe again from a command line.  If you have a serial port, see if any errors pop up there.

Oh, and what's your kernel command line look like (cat /proc/cmdline)?  You're not setting sunxi_ve_mem_reserve=0 to save memory, are you?
Title: Re: Cubian Video Kiosk with Mplayer on CB2
Post by: tman on November 27, 2013, 04:09:32 pm
Oh, and what's your kernel command line look like (cat /proc/cmdline)?  You're not setting sunxi_ve_mem_reserve=0 to save memory, are you?

I might have...  ::)

I added the memory save parameters without thinking of the consequences. You're right about the cedar module, it's being loaded according to /etc/modules. It works perfectly now, thanks!
Title: Re: Cubian Video Kiosk with Mplayer on CB2
Post by: patwood on November 27, 2013, 04:21:17 pm
Oh, and what's your kernel command line look like (cat /proc/cmdline)?  You're not setting sunxi_ve_mem_reserve=0 to save memory, are you?

I might have...  ::)

I added the memory save parameters without thinking of the consequences. You're right about the cedar module, it's being loaded according to /etc/modules. It works perfectly now, thanks!

Well, the reason I asked is because I did the same thing a while back!  The cedar module should probably generate some log message if the memory isn't available.
Title: Re: Cubian Video Kiosk with Mplayer on CB2
Post by: GeorgeIoak on December 01, 2013, 04:22:46 pm
I got some time to try this out and I'm not getting it to work. I'm trying this on a CB1 and using the latest Cubian release. What's odd at this point is that when I try to debug what is going on I can no longer issue a sudo command. It comes back and says
Quote
cubie is not in the sudoers file
. I can ssh in with cubie/cubie but can't do any sudo commands.

For reference here's some info:

Code: [Select]
cubie@Cubian:~$ sudo nano /etc/modules
[sudo] password for cubie:
cubie is not in the sudoers file.  This incident will be reported.

cubie@Cubian:~$ modprobe --first-time sunxi_cedar_mod
ERROR: could not insert 'sunxi_cedar_mod': Module already in kernel

cubie@Cubian:~$ uname -a
Linux Cubian 3.4.67+ #18 PREEMPT Wed Nov 6 08:26:36 CST 2013 armv7l GNU/Linux

cubie@Cubian:~$ find /lib/modules | grep cedar

cubie@Cubian:~$ ls /dev/disp /dev/cedar_dev
/dev/cedar_dev  /dev/disp

cubie@Cubian:~$ find /usr/lib/arm-linux-gnueabihf/vdpau/
/usr/lib/arm-linux-gnueabihf/vdpau/
/usr/lib/arm-linux-gnueabihf/vdpau/libvdpau_trace.so.1
/usr/lib/arm-linux-gnueabihf/vdpau/libvdpau_trace.so.1.0.0
/usr/lib/arm-linux-gnueabihf/vdpau/libvdpau_sunxi.so.1

cubie@Cubian:~$ lsmod | grep cedar

cubie@Cubian:~$ dmesg | grep cedar
[    3.555148] [cedar dev]: install start!!!
[    3.561979] [cedar dev]: install end!!!

cubie@Cubian:~$ cat /proc/cmdline
console=tty0 console=ttyS0,115200 hdmi.audio=EDID:0 disp.screen0_output_mode=EDID:1280x800p60 root=/dev/mmcblk0p1 rootwait panic=10 consoleblank=0
cubie@Cubian:~$

I do get the login menu on the HDMI monitor but it doesn't let me log in with cubie/cubie. Perhaps this has something to do with the slim modification?
Title: Re: Cubian Video Kiosk with Mplayer on CB2
Post by: classdroogies on December 01, 2013, 05:09:53 pm
I got some time to try this out and I'm not getting it to work. I'm trying this on a CB1 and using the latest Cubian release. What's odd at this point is that when I try to debug what is going on I can no longer issue a sudo command. It comes back and says
Quote
cubie is not in the sudoers file
. I can ssh in with cubie/cubie but can't do any sudo commands.


Hi,

You must add user cubie in sudo group with root user.

I've modified my tutorial....


Add your user to the video and audio groups :
Code: [Select]
sudo usermod -G sudo,video,audio cubie
Title: Re: Cubian Video Kiosk with Mplayer on CB2
Post by: GeorgeIoak on December 01, 2013, 06:52:20 pm
But since I've already rebooted I'm not able to issue any sudo commands. Do you happen to know a way in?

I took the SD Card out and on another system issued
Code: [Select]
sudo visudo -f /media/cubieboard/etc/sudoers
and added
Code: [Select]
cubie   ALL=(ALL:ALL) ALL
Probably not the safest thing to do but I just wanted to get the system up so I could do some testing.

For those new to slim the file you need to change is
Code: [Select]
sudo nano /etc/slim.conf
and don't forget to remove the # in front of default user and auto_login

Next up is to try and trim things to speed up the boot. Any helpful advice would be appreciated.

 
Title: Re: Cubian Video Kiosk with Mplayer on CB2
Post by: patwood on December 01, 2013, 10:44:53 pm
Next up is to try and trim things to speed up the boot. Any helpful advice would be appreciated.

I know that for ubuntu/lubuntu, the boot sequence waits a long time for the network to come up before bailing and continuing booting without it.  I was able to speed up the boot time when no network was connected from over 2 minutes to a few seconds by removing this.
Title: Re: Cubian Video Kiosk with Mplayer on CB2
Post by: GeorgeIoak on December 02, 2013, 12:10:39 am
I have seen that and plan on the final version not loading and checking the network connection. I see a fair amount of kernel messages so turning those off will help. I haven't messed with this stuff in over 6 months and even then I wasn't a programmer!

If "we're" crating a kiosk type platform my goal is make a super fast boot with a system that doesn't look like it's booting a computer.
Title: Re: Cubian Video Kiosk with Mplayer on CB2
Post by: classdroogies on December 02, 2013, 01:37:19 am
But since I've already rebooted I'm not able to issue any sudo commands. Do you happen to know a way in?

I took the SD Card out and on another system issued
Code: [Select]
sudo visudo -f /media/cubieboard/etc/sudoers
and added
Code: [Select]
cubie   ALL=(ALL:ALL) ALL
Probably not the safest thing to do but I just wanted to get the system up so I could do some testing.


Have you enable root user ?

https://github.com/cubieplayer/Cubian/wiki/Get-started-with-Cubian

You must have this line in sudoers :

Code: [Select]
%sudo ALL=(ALL) ALL
And with root user :

Code: [Select]
usermod -G sudo,video,audio cubie
Title: Re: Cubian Video Kiosk with Mplayer on CB2
Post by: alexvf on December 20, 2013, 09:12:06 am
Very nice tutorial. But it's strange that I can play Video and no Audio. Any notes I may have missed in this? I'm using Gnome install GUI over my Cubian.

cat /proc/asound/cards

Modify the alsa:device setting to use your HDMI alsa card.

I think that
Code: [Select]
-ao alsa:device=default is the safer bet according to what aplay -L reports

EDIT: Actually, this is only true if you have your HDMI alsa card as default device for pulseaudio. You can find out with
Code: [Select]
pacmd list-sinksDefault is marked * and you can set it as default modifying these two lines in /etc/pulse/default.pa:

Code: [Select]
load-module module-stream-restore restore_device=false
set-default-sink 1 # or the sink index wou want
Title: Re: Cubian Video Kiosk with Mplayer on CB2
Post by: alexvf on January 09, 2014, 08:31:56 am
Hi all,

I've been testing mplayer functionality for a small project where i want to use it in slave mode and i found two issues:

* It crashes when using ffh264vdpau decoder to play an HD video and trying to modify aspect ratio.
* It doesn't seem capable of showing subtitles (nor osd) over the video.

Can anyone here confirm the same behaviour, so i can discard any issue related to my environment?
I haven't found instructions on how to compile mplayer myself to investigate further the issues. Has anyone done it?

Thanks,

PD: I start mplayer with this command:
Code: [Select]
mplayer -vo vdpau -vc ffmpeg12vdpau,ffh264vdpau,ffodivxvdpau,-ffwmv3vdpau,-ffvc1vdpau, -slave -input nodefault-bindings -noconfig all /mnt/medios/Godzilla_2014_Trailer_1_5.1-1080p-HDTN.mp4
Title: Re: Cubian Video Kiosk with Mplayer on CB2
Post by: 5P9i0s8y19Z on January 09, 2014, 09:30:32 am
* It doesn't seem capable of showing subtitles (nor osd) over the video.

I think they are working on the 'osd' issue

https://github.com/linux-sunxi/libvdpau-sunxi/tree/osd
Title: Re: Cubian Video Kiosk with Mplayer on CB2
Post by: botond on January 11, 2014, 02:33:33 pm
Hi,
A tutorial for create a basic video kiosk on CB2 with mplayer, for fun  :)
...

Reboot and  8)

Nice tutorial!
mplayer can play back fullHD videos even from an SMB share. Thank you!
Title: Re: Cubian Video Kiosk with Mplayer on CB2
Post by: maruprez on February 11, 2014, 10:54:16 am
Hi,

Very nice tutorial !! Thank You.

I'm trying to use mplayer2 / cedar with Cubietruck.

I' ve followed all steps.  but i'm getting the following error

Code: [Select]
[vdpau] Error when calling vdp_presentation_queue_target_create_x11: A catch-all error, used when no other error code applies.
FATAL: Cannot initialize video driver.

Any help will be appreciate !!

Thank You

Maruprez


SOLVED !!!.

It was a /dev/disp permissions issue.

It works!

Maruprez
Title: Re: Cubian Video Kiosk with Mplayer on CB2
Post by: filly86 on March 31, 2014, 03:04:04 pm
Is it possible to pause, move forward and backward the video?
Title: Re: Cubian Video Kiosk with Mplayer on CB2
Post by: Tar on April 02, 2014, 01:28:27 pm
@filly:
Try the spacebar and "man mplayer" for a comprehensive list of keystrokes for the control of mplayer: 8)
Code: [Select]
      keyboard control
              LEFT and RIGHT
                   Seek backward/forward 10 seconds.
              UP and DOWN
                   Seek forward/backward 1 minute.
              PGUP and PGDWN
                   Seek forward/backward 10 minutes.
              [ and ]
                   Decrease/increase current playback speed by 10%.
              { and }
                   Halve/double current playback speed.
              BACKSPACE
                   Reset playback speed to normal.
              < and >
                   Go backward/forward in the playlist.
              ENTER
                   Go forward in the playlist, even over the end.
              HOME and END
                   next/previous playtree entry in the parent list
              INS and DEL (ASX playlist only)
                   next/previous alternative source.
              p / SPACE
                   Pause (pressing again unpauses).
              .
                   Step forward.  Pressing once will pause movie, every  consecutive  press  will  play  one
                   frame and then go into pause mode again (any other key unpauses).
              q / ESC
                   Stop playing and quit.
              U
                   Stop playing (and quit if -idle is not used).
              + and -

My actual problem is more severey - as well mplayer as vlc crashes, when i stop the video and try to resume. Only a reboot saves the system! My UART Cable is still on its way, so the chances to debug are small for me now. Up to now, i did not find anything about this. Is this a known issue?

Regards,

Tar
Title: Re: Cubian Video Kiosk with Mplayer on CB2
Post by: null on April 03, 2014, 11:05:50 am
mplayer as vlc crashes, when i stop the video and try to resume
pause and resume ?
or stop and run again with resume from previous position ?
Title: Re: Cubian Video Kiosk with Mplayer on CB2
Post by: Tar on April 05, 2014, 07:25:27 am
Resume is the problem.

If i just shutdown vlc or mplayer and later restart it, no problem.

Pause works but on resume, the kernel crashes immediatly. If i am lucky, i may use sysrq to shutdown the system, sometimes hard reset is the only way. i am afraid of my NAND...
Title: Re: Cubian Video Kiosk with Mplayer on CB2
Post by: null on April 18, 2014, 04:09:10 pm
Try Arch or Gentoo.
binary distributions(Cubian & others) - can cause unpredictable errors.
Title: Re: Cubian Video Kiosk with Mplayer on CB2
Post by: Tar on April 23, 2014, 03:08:18 pm
well null,

i work with about 500+ Debian and Redhat systems, that don`t show "unpredictable" errors... here, we have two independent players, that of course somehow use the same libraries, but show the same behaviour. I doubt, recompiling would solve the issue.

any other suggestion?
Title: Re: Cubian Video Kiosk with Mplayer on CB2
Post by: null on April 28, 2014, 01:01:30 pm
i work with 2000+ Windows 7/8, and what ?!
Read http://linux-sunxi.org, everything is there .
Title: Re: Cubian Video Kiosk with Mplayer on CB2
Post by: alexvf on May 07, 2014, 06:25:56 am
Resume is the problem.

If i just shutdown vlc or mplayer and later restart it, no problem.

Pause works but on resume, the kernel crashes immediatly. If i am lucky, i may use sysrq to shutdown the system, sometimes hard reset is the only way. i am afraid of my NAND...

Try updating the kernel:
https://github.com/linux-sunxi/linux-sunxi/issues/168
Title: Re: Cubian Video Kiosk with Mplayer on CB2
Post by: joselalupa on November 05, 2014, 11:11:00 am
i am trying to run cb2 in kiosk mode but haven't have any luck, i am running cubieez and i try to run my own app but no luck, i edit .xinitrc but it does not run at boot, another issue is my app always ask for password, any help with this?
Title: Re: Cubian Video Kiosk with Mplayer on CB2
Post by: ryba84 on January 31, 2015, 03:28:59 pm
Hello. I've problem with libvdpau. mpv plays video thru vdpau backend but video is slowet then it should be. Can anyone had similar issue?

EDIT:
Ok. mpv failing back to software decoding with this error in terminal:
Code: [Select]
[ffmpeg/video] h264: decode_slice_header error
[ffmpeg/video] h264: no frame!
Error while decoding frame!
Error using hardware decoding, falling back to software decoding.
Title: Re: Cubian Video Kiosk with Mplayer on CB2
Post by: Hugh Mungus on December 08, 2016, 03:43:45 am
while trying to make libvdpau-sunxi, the following happened:

cc -MD -MP -MQ device.o -fpic -fvisibility=hidden -Wall -O3 -I/usr/include/pixman-1   -c device.c -o device.o
device.c:23:27: fatal error: cedrus/cedrus.h: No such file or directory
compilation terminated.
make: *** [device.o] Error 1

Now what do I do?