Please help - online video with login credentials in the url

Internet TV, Radio, Podcasts
grafcable
Posts: 11
Joined: Fri Feb 26, 2010 6:36 pm

Please help - online video with login credentials in the url

Post by grafcable »

Recently my online video provider implemented a security measure where I need to supply login credentials in the video url. Ok, no problems there, but the url returns an mms url instead of http with a temporary session id. For example the url http://www.bestrussiantv.com/tv_request ... e=-1&pid=2 will return mms://38.117.74.178/ch1?sid=BDA2A9014DBB3224903ABBE4A7 when processed. The problem is the sid is temporary and will get invalidated after a while. Is it possible to fix this problem?
Thank you
BTW It works with Tversity without this problme but I don't like Tversity because it doesn't playing ISO files and when it streaming TV it stopping very often
Eugene
Posts: 2940
Joined: Tue Nov 17, 2009 8:05 pm

Re: Please help - online video with login credentials in the url

Post by Eugene »

grafcable wrote:Recently my online video provider implemented a security measure where I need to supply login credentials in the video url. Ok, no problems there, but the url returns an mms url instead of http with a temporary session id. For example the url http://www.bestrussiantv.com/tv_request ... e=-1&pid=2 will return mms://38.117.74.178/ch1?sid=BDA2A9014DBB3224903ABBE4A7 when processed. The problem is the sid is temporary and will get invalidated after a while. Is it possible to fix this problem?
Thank you
BTW It works with Tversity without this problme but I don't like Tversity because it doesn't playing ISO files and when it streaming TV it stopping very often
VLC does not work with the original link ?
grafcable
Posts: 11
Joined: Fri Feb 26, 2010 6:36 pm

Re: Please help - online video with login credentials in the url

Post by grafcable »

It works until sid changed. After that I need to change all links again. In Tversity it works permanently even sid has been changed.
I don't know why but VLC doesn't use HTTP and transfer the link to MMS.
This is the log of test of transcoding:

C:\Program Files (x86)\Wild Media Server>"C:\Program Files (x86)\Wild Media Serv
er\wmsmpeg.exe" "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" -Idummy --language
=en --sout-ffmpeg-strict-rc --sout=#transcode{vcodec=mp2v,vb=8000,fps=24,width=7
20,height=576,scale=1,aspect=16:9,acodec=mpga,ab=192,channels=2,samplerate=48000
}:duplicate{dst=std{access=file,mux=mpeg1,dst="C:\Users\Graf\AppData\Local\WILDM
E~1\WMS\Temp\Test_7b380b2b64acc98b166fc94c72801f28.mpg"}} "http://www.bestrussia
ntv.com/player/stream.ashx?sid=xxxxxxxxxxx&idName=channel&idProgram=1&tz=180"
[02b76cfc] dummy interface: VLC media player - version 1.0.5 Goldeneye - (c) 199
6-2010 the VideoLAN team
[02b76cfc] dummy interface:
Warning: if you can't access the GUI anymore, open a command-line window, go to
the directory where you installed VLC and run "vlc -I qt"

[02b76cfc] dummy interface: using the dummy interface module...
[02b6fac4] mux_ps mux: Open
[02b6dab4] ts demux error: cannot peek
[02b6fac4] mux_ps mux: Close
[02b6fb9c] mux_ps mux: Open
[02b68bbc] access_mms access: selecting stream[0x1] audio (49 kb/s)
[02b68bbc] access_mms access: selecting stream[0x2] video (1378 kb/s)
[02b68bbc] access_mms access: connection successful

And this is not working link:

C:\Program Files (x86)\Wild Media Server>"C:\Program Files (x86)\Wild Media Serv
er\wmsmpeg.exe" "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" -Idummy --language
=en --sout-ffmpeg-strict-rc --sout=#transcode{vcodec=mp2v,vb=8000,fps=24,width=7
20,height=576,scale=1,aspect=16:9,acodec=mpga,ab=192,channels=2,samplerate=48000
}:duplicate{dst=std{access=file,mux=mpeg1,dst="C:\Users\Graf\AppData\Local\WILDM
E~1\WMS\Temp\Test_38daf9f0a6ccd2adfe5d474299f05d61.mpg"}} "http://www.bestrussia
ntv.com/player/stream.ashx?sid=xxxxxxxxxxx&idName=channel&idProgram=5&tz=-480"
[02adeb2c] dummy interface: VLC media player - version 1.0.5 Goldeneye - (c) 199
6-2010 the VideoLAN team
[02adeb2c] dummy interface:
Warning: if you can't access the GUI anymore, open a command-line window, go to
the directory where you installed VLC and run "vlc -I qt"

[02adeb2c] dummy interface: using the dummy interface module...
[02af0cf4] mux_ps mux: Open
[02aeece4] ts demux error: cannot peek
[02af0cf4] mux_ps mux: Close
[02af0dcc] mux_ps mux: Open
warning: first frame is no keyframe
[02af0dcc] mux_ps mux: Close
Eugene
Posts: 2940
Joined: Tue Nov 17, 2009 8:05 pm

Re: Please help - online video with login credentials in the url

Post by Eugene »

grafcable wrote:It works until sid changed. After that I need to change all links again. In Tversity it works permanently even sid has been changed.
I don't know why but VLC doesn't use HTTP and transfer the link to MMS.
This is the log of test of transcoding:

C:\Program Files (x86)\Wild Media Server>"C:\Program Files (x86)\Wild Media Serv
er\wmsmpeg.exe" "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" -Idummy --language
=en --sout-ffmpeg-strict-rc --sout=#transcode{vcodec=mp2v,vb=8000,fps=24,width=7
20,height=576,scale=1,aspect=16:9,acodec=mpga,ab=192,channels=2,samplerate=48000
}:duplicate{dst=std{access=file,mux=mpeg1,dst="C:\Users\Graf\AppData\Local\WILDM
E~1\WMS\Temp\Test_7b380b2b64acc98b166fc94c72801f28.mpg"}} "http://www.bestrussia
ntv.com/player/stream.ashx?sid=xxxxxxxxxxx&idName=channel&idProgram=1&tz=180"
[02b76cfc] dummy interface: VLC media player - version 1.0.5 Goldeneye - (c) 199
6-2010 the VideoLAN team
[02b76cfc] dummy interface:
Warning: if you can't access the GUI anymore, open a command-line window, go to
the directory where you installed VLC and run "vlc -I qt"

[02b76cfc] dummy interface: using the dummy interface module...
[02b6fac4] mux_ps mux: Open
[02b6dab4] ts demux error: cannot peek
[02b6fac4] mux_ps mux: Close
[02b6fb9c] mux_ps mux: Open
[02b68bbc] access_mms access: selecting stream[0x1] audio (49 kb/s)
[02b68bbc] access_mms access: selecting stream[0x2] video (1378 kb/s)
[02b68bbc] access_mms access: connection successful

And this is not working link:

C:\Program Files (x86)\Wild Media Server>"C:\Program Files (x86)\Wild Media Serv
er\wmsmpeg.exe" "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" -Idummy --language
=en --sout-ffmpeg-strict-rc --sout=#transcode{vcodec=mp2v,vb=8000,fps=24,width=7
20,height=576,scale=1,aspect=16:9,acodec=mpga,ab=192,channels=2,samplerate=48000
}:duplicate{dst=std{access=file,mux=mpeg1,dst="C:\Users\Graf\AppData\Local\WILDM
E~1\WMS\Temp\Test_38daf9f0a6ccd2adfe5d474299f05d61.mpg"}} "http://www.bestrussia
ntv.com/player/stream.ashx?sid=xxxxxxxxxxx&idName=channel&idProgram=5&tz=-480"
[02adeb2c] dummy interface: VLC media player - version 1.0.5 Goldeneye - (c) 199
6-2010 the VideoLAN team
[02adeb2c] dummy interface:
Warning: if you can't access the GUI anymore, open a command-line window, go to
the directory where you installed VLC and run "vlc -I qt"

[02adeb2c] dummy interface: using the dummy interface module...
[02af0cf4] mux_ps mux: Open
[02aeece4] ts demux error: cannot peek
[02af0cf4] mux_ps mux: Close
[02af0dcc] mux_ps mux: Open
warning: first frame is no keyframe
[02af0dcc] mux_ps mux: Close
Probably need to use primary source of links without sid
grafcable
Posts: 11
Joined: Fri Feb 26, 2010 6:36 pm

Re: Please help - online video with login credentials in the url

Post by grafcable »

That what I'm using. Site has direct link to all channels and it in http. But as I said VLC is converting it to mms
Eugene
Posts: 2940
Joined: Tue Nov 17, 2009 8:05 pm

Re: Please help - online video with login credentials in the url

Post by Eugene »

grafcable wrote:That what I'm using. Site has direct link to all channels and it in http. But as I said VLC is converting it to mms
http://www.bestrussiantv.com/player/stream.ashx?sid=xxxxxxxxxxx&idName=channel&idProgram=1&tz=180"
grafcable
Posts: 11
Joined: Fri Feb 26, 2010 6:36 pm

Re: Please help - online video with login credentials in the url

Post by grafcable »

Eugene wrote: Probably need to use primary source of links without sid
They have only direct links with sid
Eugene
Posts: 2940
Joined: Tue Nov 17, 2009 8:05 pm

Re: Please help - online video with login credentials in the url

Post by Eugene »

Eugene wrote:
grafcable wrote:That what I'm using. Site has direct link to all channels and it in http. But as I said VLC is converting it to mms
http://www.bestrussiantv.com/player/stream.ashx?sid=xxxxxxxxxxx&idName=channel&idProgram=1&tz=180"
By http-address is a reference to mms, it is usual practice, when not working, try to open in VLC.
grafcable
Posts: 11
Joined: Fri Feb 26, 2010 6:36 pm

Re: Please help - online video with login credentials in the url

Post by grafcable »

But how it works with Tversity? I use the same links
Eugene
Posts: 2940
Joined: Tue Nov 17, 2009 8:05 pm

Re: Please help - online video with login credentials in the url

Post by Eugene »

grafcable wrote:But how it works with Tversity? I use the same links
No problem, use Tversity.
Post Reply