Thread: Periscope
View Single Post
  #2  
Old 09-19-2015, 12:04 AM
biezom biezom is offline
Senior Member
 
Join Date: Sep 2014
Posts: 1,025
biezom is on a distinguished road
Default

Re: Periscope


Quote:
Originally Posted by jkg View Post
Anyone know an easy way to capture a stream from Periscope?

Using something simple like livestreamer would be preferred.

I've done it before, but it doesn't seem to work right now or something might have changed. The syntax I've used before was:
livestreamer url best -o filename.ts

Right now when I try that, it doesn't work. It figures when I actually need it, that it doesn't work anymore. I get this message:
unable to open URL: https://api.periscope.tv/api/v2/getAccessPublic (400 Client Error: Bad Request)

If there's an easy way to do it with ffmpeg or any other simple tools that'd also be fine. Thanks a lot, I appreciate any help.

Edit: Nevermind, it seems to work fine on some Periscope URLs, and not on others. I'm not sure what the problem is. Here's an example of one that gives the above error message:
https://www.periscope.tv/w/1OyKAPjXWNgxb

hi
need 3 cookies

CloudFront-Key-Pair-Id
CloudFront-Policy
CloudFront-Signature


you can use livestreamer with m3u8 and cookies


Code:
livestreamer   --http-header "Cookie=CloudFront-Key-Pair-Id=.........;  CloudFront-Policy=...........;  CloudFront-Signature=......." "hls://M3U8-LINK" best -o video.ts
Reply With Quote