[19. June 2013] Soundcloud® available now | [7. June 2013] Youporn available now | [11 Jan. 2013] Customize your A-400 Home Screen

Firmware: A-400 [13 May 2013] | C-300 [30 Nov. 2012] | A-300 [30 Nov. 2012] | C-200 RC1 [13 June 2013] | A-200/A-210 RC1 [13 June 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: 2 Guest(s)
Thread Closed 
UDP multicast
08-19-2008, 12:40 PM (This post was last modified: 08-19-2008 06:27 PM by JJ.)
Post: #1
UDP multicast
Hi

I'm looking for a solution to have many LCD screens PCH in a large area all connected via LAN. (to long for HDMI cables)

I need to send video over the network as UDP multicast

All screens will then show the same content in sync

My idea are to modify the start uo script to launch mono to recieve the multicast eg like 224.1.1.1:1234

For testing it's easy to use VLC and ask it to stream out as UDP 224.1.1.1:1234

but here is the problem how to force mono to listen to a multicast?

This works for http but are not god for many units in sync
./mono -single http://192.168.1.105:1234 -dram 1

I tried like (no luck)
./mono -single udp://224.1.1.1:1234 -dram 1

on the EM8621 SDK I have this to work for UDP multicast
./play_hwdemux_multicast -f VESA_1280x1024x75 -task 0_m2t -afreq 44100 -multicast 224.1.1.1:1234 -c mpeg

Any hint to mono?

or can any of the sample in the EM8634 SDK do this??

Wiljan
Find all posts by this user
08-19-2008, 02:56 PM
Post: #2
RE: UDP multicast
I am successfully receiving multicast IPTV with my pch... but not using mono.... I use an application called "udpxy" running on the PCH, that receives the UDP multicast stream and converts it to http streaming..... on the PCH I then connect to localhost on a specific port. and voila... multicast IPTV shows up!

udpxy source you have to download yourself from sourceforge, and compile for the PCH.

Search the forum for "udpxy"

Regards // OwL
Find all posts by this user
08-19-2008, 08:25 PM (This post was last modified: 08-19-2008 08:29 PM by JJ.)
Post: #3
RE: UDP multicast
Hi
"udpxy" looks as a good workaround if it's not posible to have mono to recieve UDP multicast directly

I have downloaded the "udpxy" for PCH and put it on my harddrive

on a PC with ip 192.168.1.105 I do run VLC I do play a mpg file as UPD stream for 192.168.1.106
(i know this is unicast but I expect it should work as well)

on the PCH I do run ./udpxy -p 1234

then I do run

./mono -single http://192.168.1.106:1234 -dram 1 (no luck)

also

/bin # ./mono -single http://127.0.0.1:1234 -dram 1 (no luck)
mono.c: 1405 ...
Starting mono with command >> [./mono] [-single] [http://127.0.0.1:1234] [-dram]
[1]

mono.c: 2142 ... ===> repeat mode: 0
mono.c: 2191 ... ===> subtitle: 0
apply_tvmode >> 2
Cannot insert picture inside surface 7
mono.c: 2438 ... open_path: [http://127.0.0.1:1234]
unknown type!
mono.c: 2987 ... MONO cleanup done and exit...
/bin #


Any sugestion for the parameter for udpxy when it runs on the PCH ip 192.168.1.106 ?

What happens when udpxy does not recieve any input will this kill the http stream which will force mono to exit?

Wiljan
Find all posts by this user
08-20-2008, 10:29 AM (This post was last modified: 08-20-2008 10:30 AM by OwL.)
Post: #4
RE: UDP multicast
I run udpxy like this on the pch:
udpxy -p 81 -B 262144 -H 8

and then use this link (modified for your setup):
a href="http://localhost:81/udp/192.168.1.105:1234" vod

so.. if you invoke mono directly, you should use:
./mono -single http://localhost:81/udp/192.168.1.105:1234 -dram 1

Regards // OwL

(08-19-2008 08:25 PM)JJ Wrote:  Hi
"udpxy" looks as a good workaround if it's not posible to have mono to recieve UDP multicast directly

I have downloaded the "udpxy" for PCH and put it on my harddrive

on a PC with ip 192.168.1.105 I do run VLC I do play a mpg file as UPD stream for 192.168.1.106
(i know this is unicast but I expect it should work as well)

on the PCH I do run ./udpxy -p 1234

then I do run

./mono -single http://192.168.1.106:1234 -dram 1 (no luck)

also

/bin # ./mono -single http://127.0.0.1:1234 -dram 1 (no luck)
mono.c: 1405 ...
Starting mono with command >> [./mono] [-single] [http://127.0.0.1:1234] [-dram]
[1]

mono.c: 2142 ... ===> repeat mode: 0
mono.c: 2191 ... ===> subtitle: 0
apply_tvmode >> 2
Cannot insert picture inside surface 7
mono.c: 2438 ... open_path: [http://127.0.0.1:1234]
unknown type!
mono.c: 2987 ... MONO cleanup done and exit...
/bin #


Any sugestion for the parameter for udpxy when it runs on the PCH ip 192.168.1.106 ?

What happens when udpxy does not recieve any input will this kill the http stream which will force mono to exit?

Wiljan
Find all posts by this user
08-20-2008, 03:03 PM
Post: #5
RE: UDP multicast
Hi

By some reason the unicast did not work so I tried multicast (what I actually want)

./udpxy -p 81 -B 262144 -H 8

./mono -single http://localhost:81/udp/224.1.1.1:1234 -dram 1

at VLC I do select file and stream UDP at 224.1.1.1. port 1234

This works perfect :-)

Now I need to make some change in startup script so it automatic always start and I also have to try on more unit at the same time to see how the sync are

Thank you for you help

Wiljan
Find all posts by this user
Thread Closed 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
Information How to play UDP multicast TS stream video? wanxs 2 5,723 01-21-2010 01:50 AM
Last Post: wanxs
Smile UDP transmissions possible? koenti 3 2,150 11-27-2008 01:35 PM
Last Post: OwL

Forum Jump: