Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   Video stream recording (http://stream-recorder.com/forum/forumdisplay.php?f=4)
-   -  

How to watch BBC World News from Giniko on VLC

(http://stream-recorder.com/forum/showthread.php?t=23334)

surya987 08-01-2017 07:27 AM

Re: How to watch BBC World News from Giniko on VLC


 
i dont understand what you guys are trying to do.. but you can set useragent in VLc..

this is for GuI

Code:

:http-user-agent="Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36"
in cmd line try

Code:

--http-user-agent="Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36"

try this in more options in vlc


And this SS is packet captured from VLC....




j_cool 08-01-2017 08:31 AM

Re: How to watch BBC World News from Giniko on VLC


 
This is my command line argument:

Code:

vlc.exe --http-user-agent="Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36" http://nimlive1.giniko.com/bbcworldnews/bbcworld/playlist.m3u8?wmsAuthSign=c2VydmVyX3RpbWU9OC8xLzIwMTcgMjowMTozMSBQTSZoYXNoX3ZhbHVlPTFUcytZR3ZIVG9RWG15K0srMlNYMUE9PSZ2YWxpZG1pbnV0ZXM9MTQ0MA==

and error message:

Code:

Your input can't be opened:
VLC is unable to open the MRL 'http://nimlive1.giniko.com/bbcworldnews/bbcworld/playlist.m3u8?wmsAuthSign=c2VydmVyX3RpbWU9OC8xLzIwMTcgMjowMTozMSBQTSZoYXNoX3ZhbHVlPTFUcytZR3ZIVG9RWG15K0srMlNYMUE9PSZ2YWxpZG1pbnV0ZXM9MTQ0MA=='. Check the log for details.


Strangely, I cannot find log file anywhere.

c:\dir *.log /s

shows all log files on PC, none from VLC.




media menu, open network stream, more options defaults to:

:network-caching=1000

When I change that to:

:http-user-agent=Mozilla/5.0

I can play Giniko, but that setting appears to be temporary, lasting for one run only.

Next time I open VLC I find :network-caching=1000 again.

If I knew how to make setting :http-user-agent=Mozilla/5.0 as permanent, it would solve my problem.



I tried vlcrc, I save setting, but when I run VLC I don't see any effect.

# User Agent (string)

http-user-agent=Mozilla/5.0



That image that you posted shows exactly what I would like to see in urlsnooper, can you get it like that constantly or is it for one run only ?

What VLC version are you running?

Mine is: vlc-2.2.7-20170728-0528-win64

surya987 08-01-2017 08:57 AM

Re: How to watch BBC World News from Giniko on VLC


 
sorry you cant set it globally....its for single use only...

using 2.2.4 VLC

j_cool 08-01-2017 04:23 PM

Re: How to watch BBC World News from Giniko on VLC


 
Here is solution:

https://trac.videolan.org/vlc/ticket/6244


Working command line argument:

set url=http://nimlive1.giniko.com/bbcworldnews/bbcworld/playlist.m3u8?wmsAuthSign=c2VydmVyX3RpbWU9OC8xLzIw MTcgOToyNToxMyBQTSZoYXNoX3ZhbHVlPTJUSjUzenlPNkRyRW tJMFovU1F4TVE9PSZ2YWxpZG1pbnV0ZXM9MTQ0MA==

vlc.exe %url% :http-user-agent=Mozilla/5.0


urlsnooper does not show any user agent, Giniko stream plays, user agent passed "as a per input option".


Logging can be set in this way, reading log file didn't help.

--extraintf=http:logger --verbose=2 --file-logging --logfile=c:\vlc-log.txt


Whenever possible use ffplay.exe. VLC is CPU resources hog.

Yelloworanges 08-01-2017 05:54 PM

Re: How to watch BBC World News from Giniko on VLC


 
So, it does work directly with vlc? I must have missed something.

j_cool 08-01-2017 06:00 PM

Re: How to watch BBC World News from Giniko on VLC


 
If you understand all about VLC log file error messages..

it gives a lot of information, but not a clue that server wants user agent. Shows 403 in a sea of errors.


All times are GMT -6. The time now is 06:21 PM.