Skip to content
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

VR180 #12

Open
fgrs opened this issue Mar 8, 2024 · 1 comment
Open

VR180 #12

fgrs opened this issue Mar 8, 2024 · 1 comment

Comments

@fgrs
Copy link

fgrs commented Mar 8, 2024

I have made a video 3840 × 2160 from dual fisheye canon lens, I fixed fisheye distortion using opencv, now I have left and right halves nicely stretched out to the corners, but I can't get youtube to recognize the video as VR180, I tried your fork to include metadata but I'm getting those errors "Error failed to insert stereoscopic data".

Can you help me understand what I'm doing wrong?

@Vargol
Copy link
Owner

Vargol commented Mar 8, 2024

You should only get that error if the mp4 file doesn't match the mp4 standards. It's not finding the VIDE atom where it inserts the data. VIDE should be in HDLR with should be in MDIA which should be in TRAK which should be in the MOOV atom.

What's probably happened is the software that created the final mp4 has produced a fragmented mp4, which doesn't support spatial metadata. These usually have multiple MOOF atoms instead of a single MOOV atoms. Try re-encoding the file with something that generates a standard mp4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants