360° Playback Problem

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
VideoSource
New Cone
New Cone
Posts: 8
Joined: 29 Nov 2010 00:09

360° Playback Problem

Postby VideoSource » 30 Jun 2018 01:39

Hopefully this is the proper area for this question.

I've downloaded some 360° videos from YouTube and they don't seem to play in the correct format. I did some research and tried the recommendation at this link: https://video.stackexchange.com/questio ... 360-videos using this tool: https://github.com/google/spatial-media ... s/tag/v2.0 but the tool did not present the 360° video correctly. The video was apparently recorded with a Xiaomi Mijia 360 camera. It seems the top half of the video is horizontal panorama and the bottom half is a vertical panorama rotated sideways. YouTube plays the video correctly of course but VLC does not.

Image

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: 360° Playback Problem

Postby Jean-Baptiste Kempf » 01 Jul 2018 15:23

This is Youtube's new format, I believe. Not the usual 360.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

VideoSource
New Cone
New Cone
Posts: 8
Joined: 29 Nov 2010 00:09

Re: 360° Playback Problem

Postby VideoSource » 01 Jul 2018 18:19

This is Youtube's new format, I believe. Not the usual 360.
Thank you for the reply. It seems some company always has to do something to make a standard, non-standard. . . . I'm hoping the VLC player will be able to provide an option to choose a "projection type" when it comes to 360° video playback to allow me to correct playback like this. Or hopefully someone can make a batch tool to quickly alter the video without degrading it so that it will playback correctly in VLC.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: 360° Playback Problem

Postby Jean-Baptiste Kempf » 01 Jul 2018 19:08

That might come later, yes.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

VideoSource
New Cone
New Cone
Posts: 8
Joined: 29 Nov 2010 00:09

Re: 360° Playback Problem

Postby VideoSource » 02 Jul 2018 01:17

That might come later, yes.
Thanks! There is hope then. . . I hope it will come soon.

comnut
New Cone
New Cone
Posts: 1
Joined: 08 Jun 2019 01:34

Re: 360° Playback Problem

Postby comnut » 08 Jun 2019 02:06

ah, someone with proper info.. :):):)
a few years ago, 'pot player' or 'kmplayer' did properly recognize this format and show it properly... then it was 'taken over' and upgraded, and lost any capability.
there is a LOT of mis-information, buggy software promising much, and crashing, just not doing it, etc...

so if you could develop something (an addon or separate plugin??) to display a saved yt 360 vid as in the OP, that would be marvelous.... :):):)

unidan
Developer
Developer
Posts: 1493
Joined: 25 Mar 2018 01:00

Re: 360° Playback Problem

Postby unidan » 08 Jun 2019 14:08

Hi, 360 support is already supported. It's mostly an issue with proper tagging of the files so it can be detected as so.
We might add an option to force projection one day, but it's certainly not a good user-experience for the user to have to set the projection type.

VideoSource
New Cone
New Cone
Posts: 8
Joined: 29 Nov 2010 00:09

Re: 360° Playback Problem

Postby VideoSource » 08 Jun 2019 15:40

Hi, 360 support is already supported. It's mostly an issue with proper tagging of the files so it can be detected as so.
We might add an option to force projection one day, but it's certainly not a good user-experience for the user to have to set the projection type.
I tried playing a YouTube 360° video yesterday but it still played back like the screenshot at the top of my post. How do I go about tagging it so it will detect it as a 360° video?

unidan
Developer
Developer
Posts: 1493
Joined: 25 Mar 2018 01:00

Re: 360° Playback Problem

Postby unidan » 10 Jun 2019 10:03

It depends on the container type.

If you're displaying a picture, it would be in the exif information. In a matroska file it would be in the matroska header.
https://www.matroska.org/technical/specs/index.html (look for ProjectionType)

Editing this can probably be done with mkvmerge or mkvpropedit, but unfortunately I can't help you with the UI if you need one.

In any case, look for a tool matching with the container you want to tag.

VideoSource
New Cone
New Cone
Posts: 8
Joined: 29 Nov 2010 00:09

Re: 360° Playback Problem

Postby VideoSource » 10 Jun 2019 11:35

It depends on the container type.

If you're displaying a picture, it would be in the exif information. In a matroska file it would be in the matroska header.
https://www.matroska.org/technical/specs/index.html (look for ProjectionType)

Editing this can probably be done with mkvmerge or mkvpropedit, but unfortunately I can't help you with the UI if you need one.

In any case, look for a tool matching with the container you want to tag.
Okay, thanks. I'll look to see if something exists. What I was talking about was a YouTube video I downloaded, several YouTube videos, so it would be a .mp4 file.

unidan
Developer
Developer
Posts: 1493
Joined: 25 Mar 2018 01:00

Re: 360° Playback Problem

Postby unidan » 11 Jun 2019 16:34

With ffmpeg, something like this probably : https://superuser.com/questions/1438821/adding-custom-metadata-tags-to-mp4
I'll try to find a tool for this.

vinu
New Cone
New Cone
Posts: 4
Joined: 07 Aug 2019 06:07

Re: 360° Playback Problem

Postby vinu » 08 Jan 2020 07:25

Hi, im creating an iOS Application, where i have to play 360 video using VLCPlayer. I added VLC via pod, and played a 360 video locally. But VLC not being able to pan the video. VLC doesnt treat video as 360 video. Should i make many settings to play 360 video using VLC?

camino7979
New Cone
New Cone
Posts: 1
Joined: 07 Mar 2020 17:07

Re: 360° Playback Problem

Postby camino7979 » 07 Mar 2020 17:10

Try downloading the software designed for the camera on which the video was originally taken. Maybe try a few 360-camera-specific softwares if you dont know the camera. There arent too many.

fulinjie
New Cone
New Cone
Posts: 2
Joined: 27 Aug 2020 05:01

Re: 360° Playback Problem

Postby fulinjie » 27 Aug 2020 05:04

>>With ffmpeg, something like this probably : https://superuser.com/questions/1438821 ... ags-to-mp4
I'll try to find a tool for this.
IMO google spatial-media tool may help.(However didn't try on my own yet)

- Linjie

fulinjie
New Cone
New Cone
Posts: 2
Joined: 27 Aug 2020 05:01

Re: 360° Playback Problem

Postby fulinjie » 20 Oct 2022 09:19

Update(2 years later...):
Spatial Media Metadata Injector seems to work.
https://github.com/google/spatial-media ... -v2-rfc.md
https://www.reddit.com/r/VLC/comments/e ... &context=3

- Linjie


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: Google [Bot] and 33 guests