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

play stream on livestreamer

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

Koze 02-08-2016 08:13 AM

play stream on livestreamer


 
Hello again,

Can someone let me know what do I need to change in following code in order to play stream on livestreamer?

Code:

http://spi-live.ercdn.net/spi/smil:fashionboxhd_0.smil/chunklist_b1600000.m3u8|User-Agent=Mozilla%2f5.0+(iPad%3b+CPU+OS+6_0+like+Mac+OS+X)+AppleWebKit%2f536.26+(KHTML%2c+?like+Gecko)+Version%2f6.0+Mobile%2f10A5355d+Safari%2f8536.25
Thank you,

Koze

troller12 02-09-2016 01:43 PM

Re: play stream on livestreamer


 
Hi,

just decode URL if necessary.Use any MIME tools for that.For LS you need to use http-header paramter to add the User-Agent xy.
Code:

livestreamer --http-header "User-Agent=Mozilla/5.0+(iPad;+CPU+OS+6_0+like+Mac+OS+X)+AppleWebKit/536.26+(KHTML,+?like+Gecko)+Version/6.0+Mobile/10A5355d+Safari/8536.25" "hls://http://spi-live.ercdn.net/spi/smil:fashionboxhd_0.smil/chunklist_b1600000.m3u8" best
greetz

Koze 02-14-2016 11:42 AM

Re: play stream on livestreamer


 
thank you


All times are GMT -6. The time now is 10:22 PM.