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

Missing support for Facebook live stream #17098

Open
ravkr opened this issue Jul 29, 2018 · 4 comments
Open

Missing support for Facebook live stream #17098

ravkr opened this issue Jul 29, 2018 · 4 comments

Comments

@ravkr
Copy link

@ravkr ravkr commented Jul 29, 2018

  • I've verified and I assure that I'm running youtube-dl 2018.07.29

What is the purpose of your issue?

  • Feature request (request for a new functionality)

Description

Currently youtube-dl doesn't support downloading live streams on Facebook.
It only downloads .mpd file and nothing more.
there is line with URL of that file: [debug] Invoking downloader on u'......', if I put it as input of ffmpeg like here:

ffmpeg -i 'https://video-waw1-1.xx.fbcdn.net/hvideo-ftw1/v/rQEjLOU4aJyavnjiCkExh/live-dash/dash-abr3/300160820720224.mpd?_nc_rl=AfBwOdAKm4i-NmXo&oh=d14993643d37bbaf767fd5155eac6f65&oe=5B5FCE97' video.mkv

then the video is streamed to a file, and after the live stream finishes, ffmpeg spams HTTP error 410 Gone to the console.


Full log

$ youtube-dl -v https://www.facebook.com/groups/magicsquad1/permalink/1327449161081228/ --username PRIVATE --password PRIVATE
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'https://www.facebook.com/groups/magicsquad1/permalink/1327449161081228/', u'--username', u'PRIVATE', u'--password', u'PRIVATE']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.07.29
[debug] Python version 2.7.15 (CPython) - Linux-4.17.0-kali1-amd64-x86_64-with-Kali-kali-rolling-kali-rolling
[debug] exe versions: ffmpeg 4.0.2-1, ffprobe 4.0.2-1
[debug] Proxy map: {}
[facebook] Downloading login page
[facebook] Logging in
[facebook] 1327449161081228: Downloading webpage
WARNING: unable to extract thumbnail URL; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Invoking downloader on u'https://video-waw1-1.xx.fbcdn.net/hvideo-ftw1/v/rQEjLOU4aJyavnjiCkExh/live-dash/dash-abr3/300160820720224.mpd?_nc_rl=AfBwOdAKm4i-NmXo&oh=d14993643d37bbaf767fd5155eac6f65&oe=5B5FCE97'
[download] Destination: Facebook video #1327449161081228-1327449161081228.mpd
[download] 100% of 6.05KiB in 00:00

Downloaded .mpd file

https://gist.github.com/ravkr/4c7957719d04999e0adf98dbf5414d7d

@ohhai
Copy link

@ohhai ohhai commented Feb 17, 2019

Still missing for 2019.02.08

@bamtan
Copy link

@bamtan bamtan commented Mar 7, 2019

@davr
Copy link

@davr davr commented Mar 31, 2020

Is support for MPD livestreams planned? It seems like we already support non livestream MPDs so there shouldn't be a ton of work for this. Anyone have any tips on ripping facebook MPD livestreams? (especially since so many live streams are happening nowadays)

@frozenpandaman
Copy link

@frozenpandaman frozenpandaman commented Jun 4, 2020

+1 on support for this!

@ytdl-org ytdl-org deleted a comment from bamtan Jun 4, 2020
@ytdl-org ytdl-org locked and limited conversation to collaborators Jun 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

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