Problems with VideoSpheres
-
I'm trying to upload videospheres in different formats and resolutions but always get the same message:
"Wrong file format, files must be in .mp4 format"
The files are in .mp4 equirectangular so I don't know how to upload a file that can be show in the IdeaSpaceVR.
Is very important for me to fix this.
Thank you.
-
@dao-li What is the file ending of your mp4 video? It must be *.mp4. Please make sure that the mime type is video/mp4: https://github.com/IdeaSpaceVR/IdeaSpace/blob/master/app/Http/Controllers/Admin/AssetLibraryControllerTrait.php#L22
-
It is, at the start I believed that it was an issue about resolution and I test from 4096x2048 to 1920x960 and all failed.
-
@dao-li Which software are you using for conversion? Are there different options when rendering the video to mp4 format?
-
Gear 360 Action Director by CyberLink, is the only one I have and just can change resolution and fps, don't test any other.
-
@dao-li Could you give me a download link of one of your videos, so I could test it.
-
@dao-li I uploaded your test video file and it says audio/mp4 as mime type, that's why it says wrong file format. Could you research why your mime type is audio/mp4 instead of video/mp4 ?
-
Try with H265 instead of H264 and the result was the same, with Action Director but also with VLC. The only successful upload was after a convert through VLC but once the video is uploaded no preview shown and the message is "this video file is not supported". Looking Codec Information in VLC shows stream 0 as video and stream 1 as audio. Can the error be there?
Thank you.
-
@dao-li Your file was not wrong, but the php function which guesses the mime type (based on file content) was wrong. This will be fixed in the new release but you can already download and exchange that file in your IdeaSpaceVR installation: https://github.com/IdeaSpaceVR/IdeaSpace/blob/master/app/Http/Controllers/Admin/AssetLibraryControllerTrait.php
Glad we found that bug.
-
I just find the line (with your comment) , change it and....... It Works!!!!
Thank you a lot.
By the way learn about codecs and conversion, unfortunately H265 seems not being supported and there is not control in reproduction.
More things to be done.
Thank you again.