FAQ  •  Register  •  Login

Complex mms:// stream

<<

ottawaguy

Serviio newbie

Posts: 7

Joined: Thu Jul 07, 2011 6:12 pm

Post Wed Jan 18, 2012 9:58 pm

Complex mms:// stream

Hi ,
I have been trying to play mms:// stream. Most of the mms:// streams look ok. However if the mms:// has special character I am having issue with it. For instance my mms:// looks like following

'mms://tor-strm02.jumptv.com/usaTv?WMThinning=0&amp&Customer_ID=XXXX&amp;Product_ID=XXXX&amp&WMContentBitrate=XX&amp;WMCache=16&amp;Asset_ID=1086&amp&Stream_ID=15520&amp;User_Token=41ff85855264b9575'

I try putting "\" prior to all special character, however it servioo block it.

Any idea would be appreciate.
Ottawa
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Thu Jan 19, 2012 9:26 am

Re: Complex mms:// stream

Do you try with "mmsh"
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Thu Jan 19, 2012 11:53 am

Re: Complex mms:// stream

you have to be able to get correct information about the stream doing

  Code:
ffmpeg -i "mmsh://xxxxxxxx"


Once you get that working add the URL to Serviio. I don't see any illegal characters in the URL.
<<

ottawaguy

Serviio newbie

Posts: 7

Joined: Thu Jul 07, 2011 6:12 pm

Post Thu Jan 19, 2012 11:12 pm

Re: Complex mms:// stream

Hi Zip,
Thanks for the quick response. I think serviio is passing the mmsh:// string to ffmpeg without the double quote. Here is what I did, I added my mmsh string to serviio "online sources". Select the mmsh:// source using my DLNA enable TV. And check for ffmpeg process information in Linux to check the cmd line passed to ffmpeg. I got the following

6000:~/tmp$ ps -ef | grep ffm
root 3620 2091 86 17:50 pts/1 00:01:42 ffmpeg -i mmsh://tor-strm03.jumptv.com/channelsbd ... Token=XXXX -y -threads 1 -async 1 -vcodec mpeg2video -sameq -r 25 -g 15 -copyts -acodec ac3 -ab 384k -ac 2 -map 0:2 -map 0:0 -sn -f vob pipe:
-dv6000:~/tmp$


As you can see serviio is not passing the mmsh string with double quote. I was expecting
ffmpeg -i "mmsh://tor-strm03.jumptv.com/channelsbd?WMThinning=0&Customer_ID=XXXX&Product_ID=XXXX&Asset_ID=XXXX&Stream_ID=XXXX&User_Token=XXXX" -y -threads 1 -async 1 -vcodec mpeg2video -sameq -r 25 -g 15 -copyts -acodec ac3 -ab 384k -ac 2 -map 0:2 -map 0:0 -sn -f vob pipe:


On a linux system I could enquire about mmsh string using double quote only.
ffmpeg -i "mmsh://tor-strm03.jumptv.com/channelsbd?WMThinning=0&Customer_ID=XXXX&Product_ID=XXXX&Asset_ID=XXXX&Stream_ID=XXXX&User_Token=XXXX"
libavformat 53. 2. 0 / 53. 2. 0
libavdevice 53. 0. 0 / 53. 0. 0
libavfilter 2. 4. 0 / 2. 4. 0
libswscale 2. 0. 0 / 2. 0. 0
libpostproc 52. 0. 0 / 52. 0. 0
[asf @ 0x953ba20] max_analyze_duration reached
[asf @ 0x953ba20] Estimating duration from bitrate, this may be inaccurate

Seems stream 2 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 25.00 (25/1)
Input #0, asf, from 'mmsh://tor-strm03.jumptv.com/channelsbd?WMThinning=0&Customer_ID=XXXX&Product_ID=XXXX&Asset_ID=XXXX&Stream_ID=XXXX&User_Token=XXXX':
Metadata:
title : Channel S
copyright : JumpTV Inc
WMFSDKVersion : 10.00.00.3997
WMFSDKNeeded : 0.0.0.0000
IsVBR : 0
Duration: N/A, start: 0.000000, bitrate: 550 kb/s
Stream #0.0(eng): Audio: wmav2, 44100 Hz, 2 channels, s16, 48 kb/s
Stream #0.1(eng): Audio: wmav2, 22050 Hz, 2 channels, s16, 20 kb/s
Stream #0.2(eng): Video: wmv3 (Main), yuv420p, 384x288, 402 kb/s, 25 tbr, 1k tbn, 1k tbc
Stream #0.3(eng): Video: wmv3 (Main), yuv420p, 384x288, 80 kb/s, 1k tbr, 1k tbn, 1k tbc



That is being said, I try putting "\" before every special character in serviio "online content. This seems to fail for me, since serviio rejects the mmsh string and complains this is not a valid source.

Please advice the alternative.
Thanks
Ottawa.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Thu Jan 19, 2012 11:15 pm

Re: Complex mms:// stream

it puts quotes around it, it's just not in the log.

Return to General discussion

Who is online

Users browsing this forum: No registered users and 29 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.