-
Notifications
You must be signed in to change notification settings - Fork 10.2k
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
Support live streams in MPEG DASH #10787
Comments
m4s are supported. The real cause is that live DASH streams are not supported yet. Would you like to share where you got this mpd link? UPDATE: Sorry I didn't see there are already some examples in the original post. |
as a work around, you can use the m3u8 url: |
+1 This would be very nice! |
Any plans to implement this soon? |
Supporting this requires lots of changes. I don't think it can be done in a short time. See #9109 for the first step. Third party solutions like mp4client of gpac can be used as of now. |
Thanks for the suggestion! |
Long time w/o trying it, but I think https://github.com/streamlink/streamlink also support YT Live streams. Check -o examples for recording the stream. |
Apparently DASH isn't supported on streamlink as well. I'm able to watch Youtube livestream atm using mpv + youtube-dl, however it's capped @30fps. I've tried using MP4Client + youtube-dl but it doesn't seem to work (though I'm not sure if I'm using this correctly):
|
Audio and Video need to be downloaded together, most likely by somehow using 2 fragment contexts within DashSegementsFD (FragmentsFD would likely have to be changed as well for this to work), but first, DashSegmentsFD needs to be fed both at the same time. Other than that, it's possible to hack around the other issues (not exactly pretty, but it works). |
About stream.mpd, here is one example: https://vidalytics.com/video/0TdguiZ2jRVjKEXR This player is used on some websites and requests a stream.mpd. Currently, if I use the request url, ytdl can download but it results in separated video and audio streams. I have to do an extra step to merge them in one container (mkv). Could ytdl auto merge streams at the end of downloading ? If I rename the URL replacing .mpd by .m3u8, it works if ffmpeg is installed. It would be nice we wouldn’t have to do this extra renaming step and ytdl did automatically. |
@freMea wrote:
First of all, your referenced MPEG-DASH manifest (MPD):
is a static (VOD), NOT a dynamic one (i.e. Live stream), which is the subject of this issue 😠 ; so, it's totally out of context here... 👎 If you Your MPD is kinda special in that it offers three different video codecs (VP9, h264=avc1, hevc=hvc1) between its video streams, additionally all streams are being throttled server-side 😞 ...
Provided you're using a fairly recent build of FFmpeg, it'll have no issues merging vp9/hevc into the MP4 container (although I consider myself vp9/hevc inside MP4 as a sort of a "Chimera" 😉 ) ... If you prefer a traditional MP4 file with h264+aac, then the following cmd worked for me:
If you're more fond of the Matroska container, then to create an .mkv file with hevc+aac, issue:
In conclusion, there's nothing wrong with Regards |
Any update on this? Is anyone working on adding this? |
Please follow the guide below
x
into all the boxes [ ] relevant to your issue (like that [x])Make sure you are using the latest version: run
youtube-dl --version
and 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
-v
flag 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 ```):If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):
Description of your issue, suggested solution and other information
Explanation of your issue in arbitrary form goes here. Please make sure the description is worded well enough to be understood. Provide as much context and examples as possible.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
Seems like youtube-dl does not support m4s container for MPEG DASH streams.
Sample manifest.mpd from http://tvcom-live1.service.cdn.cra.cz/tvcom/fotbal-cfl62/manifest.mpd:
The text was updated successfully, but these errors were encountered: