<p>Using the method suggested by Mike G I have got the basics for converting Stellarium video into 360 video that can be uploaded to YouTube.</p>

<p>After doing as suggested by Mike G, I use CamStudio to record Stellarium, LVC Media Player to convert from API to MP4 (for some reason the mp4 option in CamStudio doesn't work properly for me), then Spatial Media Metadata Injector to turn it into a format that YouTube will recognise as 360, then I upload it to YouTube as per normal!</p>

<p>You can see a basic working video here <a href="https://youtu.be/9A1pZCJLuK4" rel="nofollow noreferrer">https://youtu.be/9A1pZCJLuK4</a></p>

<p>There are still things to change to get a well stitched image with a good resolution, but the basic functionality works. </p>

CC BY-SA 4.0
2020-03-23T13:16:38.793Z
Cool! Thanks for sharing your result.
Mike G
CC BY-SA 4.0
2020-03-23T06:22:05.223Z
2020-03-23T06:22:05.223Z
user1153070
<p>360&deg; panoramic media conventionally use <a href="https://en.wikipedia.org/wiki/Equirectangular_projection" rel="noreferrer">equirectangular projection</a>
and a <a href="https://developers.google.com/vr/discover/360-degree-media" rel="noreferrer">2:1 aspect ratio</a>.
I made a still panorama this way:</p>

<ul>
<li><p>Configuration > Tools > Screenshots: Custom size 2048 x 1024</p></li>
<li><p>View > Sky > Projection: Cylinder (i.e. equirectangular)</p></li>
<li><p>View > Sky > Stars: Relative scale 0.70 (limits brightest stars to a reasonable size)</p></li>
<li><p>FOV 180&deg; (Ctrl+Alt+1)</p></li>
<li><p>Other view options as desired (e.g. turn off ground, atmosphere, labels)</p></li>
</ul>

<p>Then I saved a screenshot (Ctrl+S) and injected the <a href="https://developers.google.com/streetview/spherical-metadata" rel="noreferrer">appropriate metadata</a>.
The <a href="https://photos.app.goo.gl/KxXXJ3CCXg8M3yC18" rel="noreferrer">result is viewable</a> as a 360&deg; panorama.</p>

<p>Constellations near the center of view look OK in any view direction,
but stars near the zenith look rather dim and rice-shaped.
I guess this could be remedied by something like the "Spheric mirror distortion" option (Configuration > Tools > Planetarium options) but within the "Cylinder" projection.
I don't know of a Stellarium plugin which does this yet.</p>

CC BY-SA 4.0
2020-03-16T17:44:55.100Z
2020-03-16T17:44:55.100Z
Mike G
<p>I am wanting to capture video of Stellarium (I can already do this with CamStodio) and somehow convert this into a video usable for the YouTube 360 (or VR!) capability. </p>

<p>Even if it can be converted into 180 and I need to add an image of the ground or spaceship to fill the rest of the image, that would still be super helpful!</p>

<p>I have found <a href="http://paulbourke.net/dome/fish2/" rel="nofollow noreferrer">this</a>, which gives a good overview of the maths of converting various projections (I haven't gone through it in detail yet), but I was wondering if someone has already written something to do this, before I go and write my own code for it?</p>

<p>I already use Davinci Resolve for my video editing, and I'm on a Windows 10 Pro (with access to various Linux machines).</p>

<p>Cheers!</p>

CC BY-SA 4.0
2020-03-16T13:59:11.157Z
There is a stellarium360 program dedicated to projections in planetariums. http://www.lss-planetariums.info/index.php?lang=en&menu=stellarium360&page=stellarium360
usernumber
CC BY-SA 4.0
2020-03-19T09:23:17.747Z
thank you so much, both of you!
user1153070
<software>
Convert Stellarium video capture to 360 for youtube
user1153070
# Convert Stellarium video capture to 360 for youtube

(Asked by: username_0 on 2020-03-16)

I am wanting to capture video of Stellarium (I can already do this with CamStodio) and somehow convert this into a video usable for the YouTube 360 (or VR!) capability.

Even if it can be converted into 180 and I need to add an image of the ground or spaceship to fill the rest of the image, that would still be super helpful!

I have found [this](http://paulbourke.net/dome/fish2/), which gives a good overview of the maths of converting various projections (I haven't gone through it in detail yet), but I was wondering if someone has already written something to do this, before I go and write my own code for it?

I already use Davinci Resolve for my video editing, and I'm on a Windows 10 Pro (with access to various Linux machines).

Cheers!

**Tags:** software
> **Comments:**
> **username_1**: There is a stellarium360 program dedicated to projections in planetariums. http://www.lss-planetariums.info/index.php?lang=en&menu=stellarium360&page=stellarium360  
> **username_0**: thank you so much, both of you!  

---

## 2 answers

### Answer by username_2 on 2020-03-16. Score: 5 | Accepted answer

360° panoramic media conventionally use [equirectangular projection](https://en.wikipedia.org/wiki/Equirectangular_projection)
and a [2:1 aspect ratio](https://developers.google.com/vr/discover/360-degree-media).
I made a still panorama this way:

* Configuration > Tools > Screenshots: Custom size 2048 x 1024
* View > Sky > Projection: Cylinder (i.e. equirectangular)
* View > Sky > Stars: Relative scale 0.70 (limits brightest stars to a reasonable size)
* FOV 180° (Ctrl+Alt+1)
* Other view options as desired (e.g. turn off ground, atmosphere, labels)

Then I saved a screenshot (Ctrl+S) and injected the [appropriate metadata](https://developers.google.com/streetview/spherical-metadata).
The [result is viewable](https://photos.app.goo.gl/KxXXJ3CCXg8M3yC18) as a 360° panorama.

Constellations near the center of view look OK in any view direction,
but stars near the zenith look rather dim and rice-shaped.
I guess this could be remedied by something like the "Spheric mirror distortion" option (Configuration > Tools > Planetarium options) but within the "Cylinder" projection.
I don't know of a Stellarium plugin which does this yet.


---

### Answer by username_0 on 2020-03-23. Score: 2

Using the method suggested by Mike G I have got the basics for converting Stellarium video into 360 video that can be uploaded to YouTube.

After doing as suggested by Mike G, I use CamStudio to record Stellarium, LVC Media Player to convert from API to MP4 (for some reason the mp4 option in CamStudio doesn't work properly for me), then Spatial Media Metadata Injector to turn it into a format that YouTube will recognise as 360, then I upload it to YouTube as per normal!

You can see a basic working video here <https://youtu.be/9A1pZCJLuK4>

There are still things to change to get a well stitched image with a good resolution, but the basic functionality works.

> **Comments:**
> **username_2**: Cool! Thanks for sharing your result.  

---

