«

»

Aug 29 2013

Raspberry Pi Home Server – rPlay – Make the audio AirPlay and video without Apple TV


Warning : This article has been automatically translated by Google Translate




Since a few days the company VMLite offers a beta version of its software rPlay. The test is so hot ! :-)

airplay1

At home we have several Apple devices : iMac, iPad, etc. But not Apple TV. So if you want to send the device screen on the TV, Ben can't ! The protocol used by Apple, the AirPlay Mirroring, being reserved for their Apple TV to broadcast on TV.

Since a few days, il est maintenant possible d’en profiter sur le Raspberry Pi grâce à rPlay de chez VMLite. Still in beta, You can get it on simple mail to Info@vmlite.com. You will then receive the link, How to install and a key to activate rPlay. Because Yes, and this is what bothers me, need a key ! It smells good like the tool that it will have to pay on a platform Open Source.

In all cases to install it it is pretty simple :

  1. Update the system
    apt-get update && apt-get -y upgrade
  2. Install the dependencies
    apt - get install –y libao-dev avahi-utils libavahi-compat-libdnssd-dev libva-dev youtube-dl
  3. Update youtube-dl
    YouTube-dl - update
  4. Download rPlay (a good 6 MB)
    wget -O rplay-1.0.1-armhf.deb http://www.vmlite.com/rplay/rplay-1.0.1-armhf.deb
  5. Start the installation
    dpkg-I rplay - 1.0.1 - armhf.deb

    You have a nice warning message.

    [ ok ] Starting rplay:.
    root@raspberrypi:~# ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.front
    *** WARNING *** The program 'rplay' uses the Apple Bonjour compatibility layer of Avahi.
    *** WARNING *** Please fix your application to use the native API of Avahi!
    *** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=rplay>

    No need to worry, it comes from the implementation of rPlay. Nothing serious. The app must be in memory

    root@raspberrypi:~# ps -ef | grep rplay
    root 4737 1 0 19:22 pts/0 00:00:00 /usr/bin/rplay
    root 4789 3301 0 19:29 pts/0 00:00:00 grep rplay
    root@raspberrypi:~#

  6. You must then activate your copy. For this, go to the page :
     http://<IP of your Raspberry>:7100/Admin

    Attention, Safari seems to cause problems, go through another browser
    The login and the password are the same : Admin
    WindowAt the bottom of page you can enter your license received by email.

  7. A last adjustment : the memory allocation. Ideally it's half for the CPU for the GPU.
  8. If you have not yet connected your Raspberry Pi on TV now is the time.
  9. On your device, for me an iPad, you double - tap on the button, go completely to the left and you can activate the AirPlay
    image
  10. And launch your favorite application
    WP_20130829_001A nice The Block Heads on TV !

There is a little lag time but anything dramatic unless you play a kind of races for example game.

Another thing, VLC did not appear. If the screen freezes. As soon as one leaves VLC screen unlocks.

If there are small side concern performance, It is a very promising app. Remains to know the tariff policy that could tip the balance of the good side and the bad.

[EDIT 30/08/2013] VMlite provides with a Raspberry Model B 512 MB, performance is much better.
For release, It will not Open Source but be sold “at a cheap price”. They have as a project to integrate it into a device. Which in my opinion means that they will release their Google/Apple TV soon !

12 comments

Skip to comment form

  1. Cédric

    Nice as a solution. After that depends on what you want to send on the TV. A Raspberry with OpenElec, and it has an Airplay case to send the video and music. And there the solution is free.

    1. Chris

      Hello. I thought that XBMC was that of audio airplay. Thanks for the info

  2. Guillaume

    Hello, I discovered your site this weekend super your articles !

    Otherwise I had access to the beta of rplay also I have test and frankly for a beta is really great. I turn with Moebius + rplay and jsuis gusto to see dev one small in any case really cool a little nice management interface and especially not lots of latency even in mirroring. Addition using the screen mode with fill or then just the by the jack in a command line so really top. Better than the Apple TV at this level that offers no other than HDMI audio output.

    1. Chris

      Thank you :-)
      I just hope that the beta does not have an expiration date ….

      1. Guillaume

        Great chance are it is hacked or publish open source of the small malignant will do I think. Otherwise the worse if it is 10 euros it's going for what is !

  3. Hist

    Hello,

    I send a mail to the company :)

    I would like to know how to start it at the start of the raspberry ?

    Thank you super Fisher :)

    1. Hist

      He started only equally for me ^^

      However he told me that it is not compatible with my itunes :/

      1. Chris

        For the launch at startup if necessary future : http://www.pihomeserver.fr/2013/05/27/raspberry-pi-home-server-lancer-un-programme-automatiquement-au-demarrage/

        For iTunes compatibility I have not tested with the latest version. Apple is capable of have blocked it.

  4. vincentime2000

    Hello !

    Then, This is, I have a problem at the level of the installation of dependencies. I understand that the raspberry gene are already installed programs but I do not see how to solve the problem without removing the programs in question …
    Here is my display :

    pi@raspberrypi ~ $ sudo apt-get install -y libao-dev avahi-utils libavahi-compat-libdnssd-dev libva-dev youtube-dl
    Lecture des listes de paquets... Fait
    Construction de l'arbre des d?pendances
    Lecture des informations d'?tat... Fait
    avahi-utils est d?j? la plus r?cente version disponible.
    libao-dev est d?j? la plus r?cente version disponible.
    libavahi-compat-libdnssd-dev est d?j? la plus r?cente version disponible.
    libva-dev est d?j? la plus r?cente version disponible.
    youtube-dl est d?j? la plus r?cente version disponible.
    0 mis ? jour, 0 nouvellement install?s, 0 ? enlever et 0 non mis ? jour.
    5 partiellement install?s ou enlev?s.
    Apr?s cette op?ration, 0 o d'espace disque suppl?mentaires seront utilis?s.
    Param?trage de avahi-daemon (0.6.31-2) ...
    [ ok ] Reloading system message bus config...done.
    insserv: warning: script 'inadyn' missing LSB tags and overrides
    insserv: There is a loop between service minidlna and inadyn if stopped
    insserv: loop involving service inadyn at depth 2
    insserv: loop involving service minidlna at depth 1
    insserv: Stopping inadyn depends on minidlna and therefore on system facility `$all' which can not be true!
    insserv: exiting now without changing boot order!
    update-rc.d: error: insserv rejected the script header
    dpkg: erreur de traitement de avahi-daemon (--configure)?:
    le sous-processus script post-installation install? a retourn? une erreur de sortie d'?tat 1
    dpkg: des probl?mes de d?pendances emp?chent la configuration de avahi-utils?:
    avahi-utils d?pend de avahi-daemon?; cependant?:
    Le paquet avahi-daemon n'est pas encore configur?.

    dpkg: erreur de traitement de avahi-utils (--configure)?:
    probl?mes de d?pendances - laiss? non configur?
    Param?trage de isc-dhcp-server (4.2.2.dfsg.1-5+deb70u6) ...
    insserv: warning: script 'inadyn' missing LSB tags and overrides
    insserv: There is a loop between service minidlna and inadyn if stopped
    insserv: loop involving service inadyn at depth 2
    insserv: loop involving service minidlna at depth 1
    insserv: Stopping inadyn depends on minidlna and therefore on system facility `$all' which can not be true!
    insserv: exiting now without changing boot order!
    update-rc.d: error: insserv rejected the script header
    dpkg: erreur de traitement de isc-dhcp-server (--configure)?:
    le sous-processus script post-installation install? a retourn? une erreur de sortie d'?tat 1
    dpkg: des probl?mes de d?pendances emp?chent la configuration de libnss-mdns?:
    libnss-mdns d?pend de avahi-daemon (>= 0.6.16-1)?; cependant?:
    Le paquet avahi-daemon n'est pas encore configur?.

    dpkg: erreur de traitement de libnss-mdns (--configure)?:
    probl?mes de d?pendances - laiss? non configur?
    dpkg: des probl?mes de d?pendances emp?chent la configuration de rplay?:
    rplay d?pend de avahi-utils?; cependant?:
    Le paquet avahi-utils n'est pas encore configur?.

    dpkg: erreur de traitement de rplay (--configure)?:
    probl?mes de d?pendances - laiss? non configur?
    Des erreurs ont ?t? rencontr?es pendant l'ex?cution?:
    avahi-daemon
    avahi-utils
    isc-dhcp-server
    libnss-mdns
    rplay
    E: Sub-process /usr/bin/dpkg returned an error code (1)

    Thank you for your help :)

    1. Chris

      Can you try to repair dependencies ?
      sudo dpkg --configure -a
      sudo apt-get clean
      sudo apt-get update

      1. vincentime2000

        Thanks for your reply but good, I do not broke the head more than that, I just started again at zero.
        That said, I keep verrrrry carefully your answer because - I think it would have worked !

  5. Max

    Hi all,
    For me the installation was as a letter in the mail!
    But there is a problem: When I run a video, There is no sound. While when I listen to music by applying music sound works… (iPhone 5 S)
    Would someone have a solution?
    Thanks in advance
    PS: YouTube does not work, normal?

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>