Archive for August, 2010

28 Aug 2010

Gstreamer Multicast Client – Returning Console, running on boot(example on mini 2440, FriendlyArm)

No Comments Embedded Linux

Instal the gstreamer main components:

:~$ apt-get install gstreamer0.10-plugins-base gstreamer0.10-plugins-good  gstreamer0.10-plugins-ugly gstreamer0.10-tools gstreamer0.10-alsa

Create the Script, and set it to the ip of the VLC UDP multicast server.

:~$ vim /etc/init.d/gst.sh

#!/bin/sh
killall gst-launch-0.10
gst-launch-0.10 udpsrc port=1234 multicast-group=239.255.12.42 ! decodebin ! audioconvert ! alsasink

To run it on boot, simply do:

:~$ update-rc.d gst.sh defaults

28 Aug 2010

Vlc Multicast Client – Returning Console, running on boot(example on mini 2440, FriendlyArm)

No Comments Embedded Linux

Install VlC

:~$ apt-get install vlc

Create the Script, and set it to the ip of the VLC UDP multicast server and “–rc-fake-tty” returns it to the prompt after running the command.

:~$ vim /etc/init.d/vlc.sh

#!/bin/sh

killall vlc
vlc -vvv --daemon udp:@239.255.12.42 --rc-fake-tty

To run it on boot, simply do:

:~$ update-rc.d vlc.sh defaults


WP SlimStat