View previous topic :: View next topic |
Author |
Message |
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5910
|
Posted: Thu May 29, 2008 3:49 am Post subject: playing streams with username and password |
|
|
I got some channels that needs an input of username and password inorder to be played, tried with mplayer, vlc and xine but no luck
how can I play these streams? _________________ Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein |
|
Back to top |
|
|
BradN Advocate
Joined: 19 Apr 2002 Posts: 2391 Location: Wisconsin (USA)
|
|
Back to top |
|
|
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5910
|
Posted: Fri Jun 20, 2008 7:08 pm Post subject: |
|
|
not working, vlc, mplayer and kaffeine report "no known plugin"
anything else that can help me? _________________ Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein |
|
Back to top |
|
|
BradN Advocate
Joined: 19 Apr 2002 Posts: 2391 Location: Wisconsin (USA)
|
Posted: Sat Jun 21, 2008 1:10 am Post subject: |
|
|
One thing I can think of is running mplayer from a console window - it may give additional debugging information there that may help diagnosing what's going on. As far as I know, username and password are passed directly in the URL as I described, so there should be no reason it wouldn't work like that.
Sometimes a stream will initially return a file that specifies a new URL to follow to - I've found that many linux media players don't handle this properly and just fail. If this is the case, try using wget (described below) to download this first file, open it in a text editor, grab out the new URL, and try that.
Another possibility is that the stream server is set up to only serve the media stream to, eg, windows media player or other "known" media programs (via the http user agent), so you could as a debugging measure, use wget and specify it to send windows media player's user agent (and you should be able to for sure use this to specify the username and password). If you decide to use this method as a permanent solution, you can sometimes start playing a partially downloaded file (so it's a bit stream-ish), but ymmv. wget will only work for http style streams (not mms or any other weird things). The -U option of wget is used to set the user agent, such as: Code: | wget -U "My Media Program User Agent" http://user:pass@someserver.com/media.asx |
If you feel like sending me a link & username/pass, I could attempt to get it to work on my end, but I don't know if you'd want to give out that info or not.
Good luck |
|
Back to top |
|
|
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5910
|
Posted: Sat Jun 21, 2008 4:12 am Post subject: |
|
|
but the question is, how much should I download when I try to play a live stream? _________________ Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein |
|
Back to top |
|
|
BradN Advocate
Joined: 19 Apr 2002 Posts: 2391 Location: Wisconsin (USA)
|
Posted: Sun Jun 22, 2008 1:49 am Post subject: |
|
|
Hmm, I'm not sure exactly what you're asking? |
|
Back to top |
|
|
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5910
|
Posted: Sun Jun 22, 2008 5:12 am Post subject: |
|
|
what should I put under "my favorite player"? the path? _________________ Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein |
|
Back to top |
|
|
BradN Advocate
Joined: 19 Apr 2002 Posts: 2391 Location: Wisconsin (USA)
|
Posted: Thu Jun 26, 2008 2:45 pm Post subject: |
|
|
If you mean for wget, it's whatever user agent say, windows media player uses (I don't know it offhand). Otherwise I don't know what you mean. |
|
Back to top |
|
|
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5910
|
Posted: Thu Jun 26, 2008 4:48 pm Post subject: |
|
|
BradN wrote: | If you mean for wget, it's whatever user agent say, windows media player uses (I don't know it offhand). Otherwise I don't know what you mean. |
tried that, not working... _________________ Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein |
|
Back to top |
|
|
|