Page 1 of 1

livestreams howto for udp/rtp

PostPosted: Sun Jan 15, 2012 5:43 pm
by hanslinux
In Vlc I use am url like this udp://@233.81.233.41:11080 or rtp://@233.81.235.41:11234.

Is it possibel to use this in serviio as a live stream, because now I see a unknown protocol error in the log file?

Re: livestreams howto for udp/rtp

PostPosted: Sun Jan 15, 2012 5:45 pm
by Cerberus

Re: livestreams howto for udp/rtp

PostPosted: Sun Jan 15, 2012 6:06 pm
by hanslinux
In the log file I get the following error :
2012-01-15 19:01:28,514 WARN [ResourceTransportRequestHandler] Error while processing resource, sending back 404 error. Message: Cannot retrieve online media item URL: unknown protocol: rtp

I'm using vlc for testing, which gives the following error:
VLC is unable to open the MRL 'http://192.168.1.10:8895/resource/1000000000030001/MEDIA_ITEM/AVC_TS_HP_HD_MPEG1_L2_ISO$0'. Check the log for details.

The next live stream is working ok:
rtsp://media2.lsops.net/live/bbcworld1_en_high.sdp


Howto solve this?

Re: livestreams howto for udp/rtp

PostPosted: Sun Jan 15, 2012 6:32 pm
by zip
can you enable detailed log and post it here?

Re: livestreams howto for udp/rtp

PostPosted: Mon Jan 16, 2012 12:52 am
by jhb50


Both of those hang ffmpeg -i and vlc, with or without the @, so they will not play in Serviio

Re: livestreams howto for udp/rtp

PostPosted: Mon Jan 16, 2012 8:22 am
by hanslinux
In my case vlc does NOT hang when using those urls. I don't know about ffmpeg -i, because I am not at home.
Those urls are only possible in my providers network and not free available on the internet, maybe that is the reason why you think they will hang.

Tonight I'll try to post a detailed log.

jhb50 wrote:

Both of those hang ffmpeg -i and vlc, with or without the @, so they will not play in Serviio

Re: livestreams howto for udp/rtp

PostPosted: Mon Jan 16, 2012 8:47 pm
by hanslinux
Here is the debug log. I've zipped the log directory.

I've try to look at the live stream at 21:38.

I hope this is sufficient for solving the problem.

Re: livestreams howto for udp/rtp

PostPosted: Mon Jan 16, 2012 9:01 pm
by hanslinux
Addtionally here is the output of ffmpeg -i

Re: livestreams howto for udp/rtp

PostPosted: Tue Jan 17, 2012 10:14 am
by zip
Ok, Serviio itself doesn't handle UDP delivery (only http), the other protocols must go through FFmpeg. Therefore you have to add mpegts container matcher to the online transcoding of your profile (or the generic one).

Re: livestreams howto for udp/rtp

PostPosted: Thu Jan 19, 2012 9:51 am
by hanslinux
I've used an util called udxpy which translates multicasts to unicasts , give an url like this http://1.2.3.4:5555/udp/6.7.8.9:8888 as live stream and it works.

zip wrote:Ok, Serviio itself doesn't handle UDP delivery (only http), the other protocols must go through FFmpeg. Therefore you have to add mpegts container matcher to the online transcoding of your profile (or the generic one).

Re: livestreams howto for udp/rtp

PostPosted: Fri Feb 10, 2012 8:13 pm
by eafpunto
Hi,

I have the same issue with a http/udp link.

http://89.212.74.135:1234/udp/239.1.1.166:5000

For zip, "Therefore you have to add mpegts container matcher to the online transcoding of your profile (or the generic one).", how to do it?

Thx. in advance

Re: livestreams howto for udp/rtp

PostPosted: Sat Feb 18, 2012 10:29 pm
by eafpunto
hanslinux wrote:I've used an util called udxpy which translates multicasts to unicasts , give an url like this http://1.2.3.4:5555/udp/6.7.8.9:8888 as live stream and it works.

zip wrote:Ok, Serviio itself doesn't handle UDP delivery (only http), the other protocols must go through FFmpeg. Therefore you have to add mpegts container matcher to the online transcoding of your profile (or the generic one).


Hi,
I have downloaded the udxpy tool and would like some advice howto use it. I want to stream "http://89.212.74.135:1234/udp/239.1.1.166:5000" to my TV using serviio.

Thank you in advance

Re: livestreams howto for udp/rtp

PostPosted: Fri Mar 30, 2012 11:18 am
by sarsonuk
Hi,
Can anyone help me to get this link to work in serviio, I think the extra . is stopping it from working as it works fine in Quicktime,

rtsp://live187.la3.edge.filmon.com/live ... low.stream

Thanks

Re: livestreams howto for udp/rtp

PostPosted: Fri Mar 30, 2012 12:23 pm
by zip
it should work, what errors are you getting? (in the log)