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.
VR180 format support? #16647
VR180 format support? #16647
Comments
|
I was just about to post about this issue myself. YouTube in Chrome is showing these VR180 videos as having a max resolution of (from my experience) anywhere between 480p up to 1080p60, only viewable in the flat cropped format in the browser. However, when these same videos are viewed using a YouTube VR app (such as on PS4 in PSVR or Steam), the full VR version is viewable, at much higher resolutions. For proof, I've taken a photo of the "Stats for Nerds" for a VR180 video being played in PSVR on PS4 Pro below (excuse the quality, as I had to take a picture of my TV screen with a phone). Note the 3840x2160@60 resolution and vp9 (315) video codec stream. The video above is found here: https://www.youtube.com/watch?v=mhHABPA10qM -- video ID matches that shown in the image posted above -- mhHABPA10qM -- but is only viewable flat at up to 1080p60 in Chrome. Youtube-dl (updated to 2018.06.04) only shows available streams for the video up to 1080p60. Stream #315 (3840x2160@60) is not listed, although it definitely exists (along with other hidden streams). Downloading, e.g. stream #303 above gives only the 1080p flat cropped video as shown in YouTube for Chrome. |
|
Hey, just noticed this issue today as well. Have you had any luck figuring out how to download the full stereo version? Thanks! |
|
https://vr.google.com/vr180/ |
|
@guygodin I haven't found a method yet, no. I update youtube-dl every week or so, but nothing as of yet (2018.08.04 latest update). @FlamelightX You're right! The embedded video on that website does show all the stereoscopic quality stream choices, up to 2880s! I wonder what needs to be passed in the code to show those available streams... |
|
this patch will make it possible to get those formats. diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py
index 117a57911..6f95407ea 100644
--- a/youtube_dl/extractor/youtube.py
+++ b/youtube_dl/extractor/youtube.py
@@ -1584,6 +1584,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
'eurl': '',
'gl': 'US',
'hl': 'en',
+ 'c': 'WEB_EMBEDDED_PLAYER',
}
if el:
query['el'] = el
@@ -1600,8 +1601,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
add_dash_mpd(get_video_info)
if view_count is None:
view_count = extract_view_count(get_video_info)
- if not video_info:
- video_info = get_video_info
+ video_info = get_video_info
if 'token' in get_video_info:
# Different get_video_info requests may report different results, e.g.
# some may report video unavailability, but some may serve it without |
|
I just updated to patch 2018.08.22. I don't see any changes to the available video list of a VR180 video compared to prior to the patch. Is there an argument I need to pass on the command line to find the VR180 format streams? |
|
I would've closed the issue if it's already fixed, I didn't commit the patch upstream as I don't think it's a proper solution to be integrated, the formats extracted from the webpage and the ones from the embed page should be combined not overridden, I did post the patch here in case that someone wants to use it or create a proper fix based on it. |
It seems this patch will break some URL such as: It returns: |
|
I just applied the patch and ran main.py but it made no difference. Is there something else I need to do or is this incomplete? Anything else I can try? Thanks! |
|
https://www.clipconverter.cc works without problems |
|
My little test: A- B- More interesting because results seem opposite to what you verified in this A- WITHOUT(!!!) "useragent": B- Summary: sometimes "useragent" addition is compulsory; sometimes you have to |
|
Nothing works for VR180 anymore since YouTube made changes to the player. You only get the cropped mono (2D) version using any downloader. |
Yeah traveling back home sadly found this is the case. But for more than half a year using youtube-dl download vr180 have been no problem, and it seems now 360 videos have not been affected. Any more information? |
|
any updates on this? |
|
Seems most VR3D 180 videos download as mono now, even older ones. |
Greetings! I've been doing a lot of digging and I'm experiencing this too. The latest 360 and 180 youtube videos downloading as monophonic video. I'm wondering if there might be a slight redirect to an altered URL happening, but I'm not sure how to find this out. I know that if I load the same video in the official VR player on the Oculus Quest, it will stream in stereo, however any version of youtube-dll I've tried only downloads the video as mono. This Video for example. |


Please follow the guide below
xinto all the boxes [ ] relevant to your issue (like this:[x])Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2018.06.04. 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?
Right now youtube has implemented a new VR180 video format, when downloading, you only get a flat cropped version of the video, unless you watch from certain apps like Youtube VR, then you can choose to watch in 180 3D format. Can youtube-dl find these hidden links?
examples:
https://www.youtube.com/watch?v=9r6NI9m_IxM
https://www.youtube.com/watch?v=TH_MMXinRsA