Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
[twitter] Support live streams #10806
Comments
|
It's common that a standalone m3u8 file does not work. Could you share where you get this m3u8 link? |
|
Seems Twitter uses exotic encryption to prevent downloading. Things are not clear until the next live show. About the video on Bloomberg: apparently they have re-encoded the video. |
|
Is it on Twitter too? I didn't follow US presidential election. |
|
@yan12125 I extracted m3u8 address from https://mobile.twitter.com/i/live/778347749217406976 on Oct 26, 2016. Bit rate of the video is 3.5 m/s,but bit rate is 2.4 M/s in that video that I downloaded from http://www.bloomberg.com/politics/videos/2016-09-27/the-complete-first-2016-presidential-debate |
|
http://www.uspresidentialelectionnews.com/2016-debate-schedule/2016-presidential-debate-schedule/ YEAH same ADDRESS https://mobile.twitter.com/i/live/778347749217406976 bloomberg share live source with twitter. ON Wednesday, October 19, 2016, THE HOST IS Chris Wallace !!! |
|
@yan12125 I hope this may help |
|
ffmpeg and mpv can't handle this m3u8, either, so I call it "exotic". Does hlsplayer.net work for finished debates? I paste https://hlslive-llc.med1.m.lv.twimg.com/ls01/twitter/2016/09/27/TWITTER_VIDEO_bloomberg_debate_1_20160927/3500K/3500_slide_twv1.m3u8 to it and nothing happens after clicking "Play". |
|
NO. It worked only when the debate was on LIve |
|
Got it. So we can only wait. |
|
@yan12125 hey, Vice presidential debate is on live.
|
|
I was sleeping then lol |
|
@yan12125 @remitamine Sunday, October 9, 2016 live streaming: https://mobile.twitter.com/i/live/778347749217406976 |
|
There's a live stream going on right now: https://twitter.com/i/live/783724492577054720 I copied the HTML source code from the page: https://gist.github.com/montanaflynn/61db8f0560388ed2bd9e8755bf669925 |
|
Chasing others' live streams is impractical due to time zone difference. Is there a way for ordinary Twitter users to create live streams? |
|
Unfortunately I don't think so. I copied the source code for the HTML page, is there anything else that would be helpful? |
|
If you know the use how to use debuggers, a dump of HLS key requests would be useful. |
|
Noticed this issue when trying to watch the NFL game: https://twitter.com/i/live/768633364911788032 When you press play the page will make a request to "https://twitter.com/i/live_video_stream/status/786690271966670848?client=web" which will have a json respondse that includes a url that looks like this "https://t.lv.twimg.com/live_video_stream/authorized_status/786690271966670848/LIVE_PUBLIC/CuriomDUMAAiisH?url=https://hlslive-llcg5.med2.m.lv.twimg.com/ls01/twitter/2016/10/14/TWITTER_VIDEO_cbs_broncos_at_chargers_20161014/master_wired_web_twv1.m3u8&ctx=7_786690271966670848:blahblahblahverylongbase64&evt=38143199" When the player requests this url it will set a Authorization cookie which is needed to grab the key.
I think this should be enough information to make this work. It seems some programs insert ads so maybe those could be ignored somehow? |
|
So Twitter now supports live for anyone https://twitter.com/twitter/status/809035848138178562 and https://blog.twitter.com/2016/go-live-on-twitter. Now we'll have more test streams. |

Please follow the guide below
xinto all the boxes [ ] relevant to your issue (like that [x])Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2016.09.27. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.Before submitting an issue make sure you have:
What is the purpose of your issue?
The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue
If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add
-vflag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):