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.
Add support for spherical ("360 degrees") videos #6246
Comments
|
Apart from the webpage having the tags |
|
Here's a (prettified) fragment of DH.j = function(a) {
var b = a.X().A.c.toLowerCase(), c;
c = a.getVideoData();
a = a.X().experiments;
if (a.Fa && hz(c) && 3 != c.ga && 4 != c.ga)
b = "Anaglyph3D";
else {
a: {
if (c.j)
for (var d in c.j.j) {
var e = c.j.j[d].info.video;
if (e && 2 == e.projectionType) {
c = true;
break a
}
}
c = false
}
b = c ? "Spherical" : a.$ && vj && "web" == b ? "NoOp" : a.Ha && vj && "web" == b ? "WhiteNoise" : a.P && vj && "web" == b ? "EdgeEnhance" : null
}
return b
};There's a |
|
Any progress on this issue? |
|
What is the update on this issue guys |
|
Any updates guys? |
Example: https://youtu.be/S3xOB-Bigc8
The video downloads fine, but it's treated like a planar (flat) video; the resulting file doesn't contain any metadata indicating it's a spherical video, and none are made available through the
-joption.There probably isn't that much for youtube-dl to do here: detecting spherical videos, collecting metadata, putting them into
info_dict, and perhaps doing some fixups in a post-processor.Google has a draft specification for spherical video metadata, which may or may not be helpful: https://github.com/google/spatial-media/blob/master/docs/spherical-video-rfc.md