Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

periscope: add support for live streams #7501

Closed
Vrihub opened this issue Nov 14, 2015 · 5 comments
Closed

periscope: add support for live streams #7501

Vrihub opened this issue Nov 14, 2015 · 5 comments

Comments

@Vrihub
Copy link
Contributor

@Vrihub Vrihub commented Nov 14, 2015

If possible, it would be nice to download live periscope streams, beside replays.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Nov 14, 2015

@bonacker
Copy link

@bonacker bonacker commented Nov 14, 2015

I noticed this also. I don't have a Periscope stream to post at the moment, but this is what happens.

The live stream downloads to a file, but if you try to play the file in mPlayer or VLC, it won't play. When the stream has ended, the finished file will play perfectly.

Is there a way to pipe the downloading stream to a player rather than to a file?

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Nov 14, 2015

@bonacker use -o - option and pipe to whatever play you use.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Nov 14, 2015

Live streams are downloaded just fine. Tested with lives from here.

@dstftw dstftw closed this Nov 14, 2015
@Vrihub
Copy link
Contributor Author

@Vrihub Vrihub commented Nov 14, 2015

Thanks all for the info. For the benefit of other users who might face the same issue: the cause was not lack of support by youtube-dl, but an old version of ffmpeg.
After updating ffmpeg to version 2.8.x, live streams are now downloaded just fine.
While the periscope live stream is ongoing you can't play the partial downloaded file (I think this is a limitation of the mp4 format), but when the stream ends (or if you quit ffmpeg pressing "q") you will get a fully functional file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.