Firmware: A-410 [01 Apr. 2014] | A-400 [12 Mar. 2014] | C-300 [13 Feb. 2014] | A-300 [24 Feb. 2014] | C-200 [11 July 2013] | A-200/A-210 [11 July 2013] | Popbox V8 [3 Dec 2013]

Just got your NMT | WIKI has the answers | Search the forum | Forum Rules/Policy | Firmware & Official NMT News | Popcornhour manuals



User(s) browsing this thread: 1 Guest(s)
Post Reply 
[200] Airplay server for C200 and A100
02-12-2011, 05:36 PM
Post: #106
RE: Airplay server for C200 and A100
Hi,

Not sure if i'm missing something. Photos work great, however sending video to the A110 does not seem to work. iPhone 3GS 4.2.1 (8C148a) indicates that it's sending video to the A110, however the A110 does nothing... Still shows main menu, no black screen or other indication of loading/buffering data.

Is there something else I need to do to get this working for me?

Cheers for letting this out in to the wild, it's because of people like you that we have such great tools. Much respect, thanks for this great piece...
Find all posts by this user
Add Thank You Quote this message in a reply
02-12-2011, 05:45 PM
Post: #107
RE: Airplay server for C200 and A100
Is the video from Itunes store? That won't play. Only videos you have synced yourself will play.

Try a different video file. Try rebooting (iPhone and A110).

If that fails get a log file and post it here. Telnet in and:

Code:
cd /share/Apps/Airplay-nmt/
killall airplay-a100
./airplay-a100-v > log
Find all posts by this user
Add Thank You Quote this message in a reply
02-17-2011, 01:21 AM
Post: #108
RE: Airplay server for C200 and A100
Hi ! First of all : thanks for this great work !!

I just installed your app on my A110 and it works perfectly both from iTunes PC/Mac and iPhone. I'm now able to stream video content from my portable devices ... ET CA C'EST ENORME Big Grin

I was wondering if it could be possible to decline your app to act as an Airplay Speaker ?
I explain : we're now enabled to stream video content from iTunes which detect our popcorns as Video renderers, but we can't (or I just don't figure out how to) stream only-audio content...

Thanks again
Find all posts by this user
Add Thank You Quote this message in a reply
02-17-2011, 08:11 PM
Post: #109
RE: Airplay server for C200 and A100
See post #102.

Media Player: Popcorn Hour C-200 (with Samsung SpinPoint HM500JI, Lite-On iHOS104-37 and Alpha WMP-ND02 WLAN-Module)
TV: Grundig Vivance 32 LXW 82-6710 REF
Receiver: Topfield 5000 PVRt (with 160 GB HD)
Sound: LG FB162-DOU
NAS: Netgear ReadyNAS NVX RNDX400E
Find all posts by this user
Add Thank You Quote this message in a reply
02-18-2011, 12:15 AM (This post was last modified: 02-18-2011 12:42 AM by mannchou.)
Post: #110
RE: Airplay server for C200 and A100
(02-11-2011 01:26 PM)popcornmix Wrote:  Audio will never work. It is a different (encrypted) protocol.

Damn it :/

I looked for infos about Bonjour services used by Apple and found that their audio streaming is achieved through _raop._tcp.

Several apps have been developped to use original Airport Express or fake stations using these specs:
PHP Code:
Service Name:    YourMACaddress@yourSpeakerName
Service Type
:    _raop._tcp.
Port Number:    5000

Text Record
:<br>
txtvers=1\001ch=2\001cn=0,1\001ek=1\001et=0,1\001sv=false\001da=true\001sr=44100\001ss=16\001pw=false\001vn=65537\001tp=TCP,UDP\001vs=102.2\001am=AirPort4,107\001fv=75200.14\001sf=0x4 

I tried to change the description of your service in daemon.sh :
PHP Code:
$BONJOURPATH/$BONJOURSERVER -"$MY_MAC_ADR@$NMTVERSION-t _raop._tcp. -p 5000 -x txtvers=1`echo -ne "\x1"`ch=2`echo -ne "\x1"`cn=0,1`echo -ne "\x1"`ek=1`echo -ne "\x1"`et=0,1`echo -ne "\x1"`sv=false`echo -ne "\x1"`da=true`echo -ne "\x1"`sr=44100`echo -ne "\x1"`ss=16`echo -ne "\x1"`pw=false`echo -ne "\x1"`vn=65537`echo -ne "\x1"`tp=TCP,UDP`echo -ne "\x1"`vs=102.2`echo -ne "\x1"`am=AirPort4,107`echo -ne "\x1"`fv=75200.14`echo -ne "\x1"`sf=0x4 -v 1 

and used Airfoil on my Mac :
[Image: capturedacran2011-02-18000502.png]


The popcorn is well recognized as a remote speaker (model Airport).
And here is the debug window showing the app RTSP request :
[Image: capturedacran2011-02-18000839.png]


The same company has released an audio receiver, Airfoil Speaker, which declares this service :
[Image: capturedacran2011-02-18003010.png]

The virtual speaker isn't recognized by iTunes.

A small tweak on iPhone add a raop service to the device :
[Image: capturedacran2011-02-18003405.png]

This one is usable through both iTunes and Airfoil.

Why couldn't we develop such tweak ?
Note : the encryption key used by iTunes and Airport Express has been cracked and released here
Find all posts by this user
Add Thank You Quote this message in a reply
02-18-2011, 11:07 AM
Post: #111
RE: Airplay server for C200 and A100
Hi

Just a thanks for the hard work in making this a reality.

I have installed the Airplay-NMT on my popcorn hour A110 and streamed a load of video content from my iPad through it from iTunes to movies and all worked great.

The only downfall was the lack of audio. I know reading through the thread that audio has not being incorporated and may never be (I hop not) but was wondering if anyone was working on it or had an alternative solution - like through another speaker or something as once the videos are streaming through the A110 all audio disappears even on the iPad?

Thanks again
Find all posts by this user
Add Thank You Quote this message in a reply
02-18-2011, 06:08 PM (This post was last modified: 02-18-2011 06:14 PM by popcornmix.)
Post: #112
RE: Airplay server for C200 and A100
(02-18-2011 12:15 AM)mannchou Wrote:  
(02-11-2011 01:26 PM)popcornmix Wrote:  Audio will never work. It is a different (encrypted) protocol.
Note : the encryption key used by iTunes and Airport Express has been cracked and released here

I believe AirTunes encryption has been solved. But decryption hasn't. The two are not equivalent.

The reason Apple encrypts audio is to stop this being used as a mechanism to strip DRM from audio files sold through iTunes.

So they want to make it hard to pretend to be a sink for the data (e.g. AirTunes speaker).
They don't care about pretending to be a source for the data (e.g. iDevice).

All the software written that cracks AirTunes acts as a data source. I've seen nothing that acts as a sink. (One exception: cydia has an AirTunes speaker app for iDevices, but that is just an ARM binary pulled off an ATV2 and copied to iDevice).





(02-18-2011 11:07 AM)blingzing Wrote:  Hi

The only downfall was the lack of audio. I know reading through the thread that audio has not being incorporated and may never be (I hop not) but was wondering if anyone was working on it or had an alternative solution - like through another speaker or something as once the videos are streaming through the A110 all audio disappears even on the iPad?

I'm not quite sure what you are saying. Are you saying you get no audio whilst playing a video file?
Audio should be fine as part of a video file (e.g. mp4).
The audio not working being discussed is straight audio files (e.g. mp3).
Find all posts by this user
Add Thank You Quote this message in a reply
02-19-2011, 11:15 PM
Post: #113
RE: Airplay server for C200 and A100
(02-11-2011 01:26 PM)popcornmix Wrote:  You cannot play videos purchased in iTunes (encrypted). You should be able to play videos you have imported yourself into iTunes.

I downloaded a free music video from iTunes and it played great over the NMT (very cool!). Maybe it played because it was free?

What I'd like to see is the exact opposite app. An app that will play from my C-200 over the internet or wifi to my iPhone. I don't want to transcode and store all these videos on my iPhone.
Find all posts by this user
Add Thank You Quote this message in a reply
02-20-2011, 01:35 PM
Post: #114
RE: Airplay server for C200 and A100
(02-19-2011 11:15 PM)kjcrowley Wrote:  What I'd like to see is the exact opposite app. An app that will play from my C-200 over the internet or wifi to my iPhone. I don't want to transcode and store all these videos on my iPhone.

AirVideo is the standard for this. You will need to have a PC/Mac running which does real time transcoding.
Find all posts by this user
Add Thank You Quote this message in a reply
02-20-2011, 04:48 PM
Post: #115
RE: Airplay server for C200 and A100
Hi all, just installed AirPlay and it seems to play videos correctly. Only problem is I don't have sound with the video's. Any ideas how to solve this? (I have an A-110).

Thanks!
Nieko
Find all posts by this user
Add Thank You Quote this message in a reply
02-20-2011, 04:52 PM
Post: #116
RE: Airplay server for C200 and A100
(02-20-2011 04:48 PM)nieko Wrote:  Hi all, just installed AirPlay and it seems to play videos correctly. Only problem is I don't have sound with the video's. Any ideas how to solve this? (I have an A-110).

Can you copy the video to to a110 manually and see if it plays with audio?
Find all posts by this user
Add Thank You Quote this message in a reply
02-20-2011, 07:09 PM
Post: #117
RE: Airplay server for C200 and A100
(02-20-2011 01:35 PM)popcornmix Wrote:  
(02-19-2011 11:15 PM)kjcrowley Wrote:  What I'd like to see is the exact opposite app. An app that will play from my C-200 over the internet or wifi to my iPhone. I don't want to transcode and store all these videos on my iPhone.

AirVideo is the standard for this. You will need to have a PC/Mac running which does real time transcoding.

Yes, I have that and it works OK. But I'd like to be able to watch these videos on the iPhone without the computer on - from what I understand, the C-200 uses much less power. I supposes I could use a Slingbox, but I bought the C-200 over the Slingbox assuming it could do more. Not being able to stream video over the internet is a real bummer.
Find all posts by this user
Add Thank You Quote this message in a reply
02-21-2011, 05:34 PM
Post: #118
RE: Airplay server for C200 and A100
(02-18-2011 06:08 PM)popcornmix Wrote:  
(02-18-2011 12:15 AM)mannchou Wrote:  
(02-11-2011 01:26 PM)popcornmix Wrote:  Audio will never work. It is a different (encrypted) protocol.
Note : the encryption key used by iTunes and Airport Express has been cracked and released here

I believe AirTunes encryption has been solved. But decryption hasn't. The two are not equivalent.

The reason Apple encrypts audio is to stop this being used as a mechanism to strip DRM from audio files sold through iTunes.

So they want to make it hard to pretend to be a sink for the data (e.g. AirTunes speaker).
They don't care about pretending to be a source for the data (e.g. iDevice).

All the software written that cracks AirTunes acts as a data source. I've seen nothing that acts as a sink. (One exception: cydia has an AirTunes speaker app for iDevices, but that is just an ARM binary pulled off an ATV2 and copied to iDevice).





(02-18-2011 11:07 AM)blingzing Wrote:  Hi

The only downfall was the lack of audio. I know reading through the thread that audio has not being incorporated and may never be (I hop not) but was wondering if anyone was working on it or had an alternative solution - like through another speaker or something as once the videos are streaming through the A110 all audio disappears even on the iPad?

I'm not quite sure what you are saying. Are you saying you get no audio whilst playing a video file?
Audio should be fine as part of a video file (e.g. mp4).
The audio not working being discussed is straight audio files (e.g. mp3).


Ahhh, thanks for the putting me straight. So the audio should be working then, unfortunately i am not getting any audio coming out from various video files (and they that all play on the popcorn hour normally) not even youtube videos have sound.

Any advice?
Find all posts by this user
Add Thank You Quote this message in a reply
02-21-2011, 05:42 PM
Post: #119
RE: Airplay server for C200 and A100
(02-21-2011 05:34 PM)blingzing Wrote:  Ahhh, thanks for the putting me straight. So the audio should be working then, unfortunately i am not getting any audio coming out from various video files (and they that all play on the popcorn hour normally) not even youtube videos have sound.

Any advice?

All my software does is negotiate a URL to play, then tells popcorn to play, say, "http://192.168.1.10:1234/filename.mp4"

There's nothing I do differently for audio and video.

When it's playing without audio, does volume (from popcorn remote) or mute have any effect. Does info button show an audio stream with a non-zero bitrate?
Find all posts by this user
Add Thank You Quote this message in a reply
02-21-2011, 06:18 PM (This post was last modified: 02-21-2011 06:26 PM by nieko.)
Post: #120
RE: Airplay server for C200 and A100
(02-20-2011 04:52 PM)popcornmix Wrote:  
(02-20-2011 04:48 PM)nieko Wrote:  Hi all, just installed AirPlay and it seems to play videos correctly. Only problem is I don't have sound with the video's. Any ideas how to solve this? (I have an A-110).

Can you copy the video to to a110 manually and see if it plays with audio?


Hi, thanks for your reply! I tried AirPlay with the youtube native iPhone app. It played on my popcorn but without sound. I will try to test it as you suggest as well.

Nieko

(02-21-2011 06:18 PM)nieko Wrote:  
(02-20-2011 04:52 PM)popcornmix Wrote:  
(02-20-2011 04:48 PM)nieko Wrote:  Hi all, just installed AirPlay and it seems to play videos correctly. Only problem is I don't have sound with the video's. Any ideas how to solve this? (I have an A-110).

Can you copy the video to to a110 manually and see if it plays with audio?
Find all posts by this user
Add Thank You Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  [200/300] Logitech Media Server (formerly SlimServer, SqueezeCenter, Squeezebox Server) v7.7.3 vaidyasr 71 21,499 04-07-2014 04:53 AM
Last Post: got_rice76
  [200] Airplay with A-210 fischgourmet 5 1,807 12-09-2013 03:55 PM
Last Post: uvv
  [100/200/300/400] Firefly Media Server for Roku SoundBridge and iTunes vaidyasr 28 11,397 11-20-2013 11:28 PM
Last Post: sebpinski
  [200] [util] openvpn - C200/A200 - via ipkg xray 24 10,444 10-06-2013 01:32 PM
Last Post: Typh
  [200] Airplay since ios 6.1.2 Mbkrmatt 2 1,329 08-26-2013 06:23 AM
Last Post: Bert684
  [200] Auto_Mount v0.4 - Script to Mount USB Drive with the Label - C200/A200 vaidyasr 130 49,726 07-25-2013 05:22 AM
Last Post: baboon
  [200/300/400] Squeezebox Server v7.6.1 - Updated 21st Sep vaidyasr 134 47,450 06-30-2013 10:36 AM
Last Post: Marlowe
  Is there a FTP CLIENT i can install on my C200? parpagnas 0 895 05-19-2013 12:45 PM
Last Post: parpagnas
  [100/200/300/400] How to install remote syslog server on NMT A-200 jwalczak 0 1,159 05-10-2013 05:00 PM
Last Post: jwalczak
  [400] how to convert scripts from c200 (html+php) to a400 (javascript or bash or ???) ? dmhwsm 0 1,463 02-10-2013 05:39 PM
Last Post: dmhwsm

Forum Jump: