UDP stream playback ? How ? reposted as ignored
#1
This must be possible ......

I'm generating UDP DVB (mpeg 2) video on a linux box like this :
process1) tzap -r -c /etc/channels.conf "BBC ONE"
process2) cat /dev/dvb/adapter0/dvr0 |socat -b1024 - "UDP4-DATAGRAM:224.0.0.1:5000,broadcast"

Then from any other linux machine on the LAN I can use :

"mplayer -cache 2048 "udp://:5000"

And bingo, I have a nice stream of mpeg 2 video in 1k Byte chunks ... all fine and dandy.

But after hours of poking at XBMC (11) I can't seem to find a cryptic rune to enter into XBMC "Add Videos" menu to do this.

Am I just missing something or is the UDP functionality missing/ not working ? Sure it worked on my old xbox:

I tried

udp://:5000
udp://0.0.0.0:5000

Am I missing something or can I not do this ? Thanks, Jon


Update : This is a SIMPLE question, is the syntax i'm using wrong OR is the functionality missing OR is the functionality broken ! Somebody must know ?

Reply
#2
Outside of add-ons, XBMC doesn't really understand a raw streaming address as a source (I think the LiveStream add-on lets you just enter a URL from the XBMC GUI). What you need to do is just take any 'ol text editor and throw in the URL and save it as something.strm

Open that STRM file up in XBMC and it should work.
Reply
#3
Thanks for the reply :-)

I've created a .strm file, that seems to work (why does the front end not have a UDP option - ho hum)

Bad news is it doesn't work (at least for UK DVB-T mpeg TS ) ?

13:25:51 T:6793760 NOTICE: DVDPlayer: Opening: udp://:5000
13:25:51 T:6793760 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
13:25:51 T:3076520816 NOTICE: Creating InputStream
13:25:51 T:3076520816 NOTICE: Creating Demuxer
13:26:21 T:3076520816 ERROR: OpenDemuxStream - Error creating demuxer
13:26:21 T:3076520816 NOTICE: CDVDPlayer::OnExit()
13:26:21 T:3076520816 NOTICE: CDVDPlayer::OnExit() deleting input stream
13:26:21 T:6793760 ERROR: Playlist Player: skipping unplayable item: 0, path [udp://:5000]

I filed it as a bug report.

Thanks,
Jon


Reply

Logout Mark Read Team Forum Stats Members Help
UDP stream playback ? How ? reposted as ignored0