01-13-2015 07:51 AM
mediaPlayer.Call( "setDataSource", "/sdcard/oculus/Movies/Trailers/Night_of_the_living_Dead.mp4" );to an existing movie it doesn't play the movie.
01-13-2015 08:29 AM
"smx" wrote:
How can I change that to 4096x2048 video @ 30 FPS or a
2048x2048 video @ 60 FPS as hinted at in the docs.
01-13-2015 08:36 AM
"HomerS66" wrote:"smx" wrote:
How can I change that to 4096x2048 video @ 30 FPS or a
2048x2048 video @ 60 FPS as hinted at in the docs.
I think those settings are only ment for 360 videos.
01-13-2015 08:46 AM
"smx" wrote:
Also it says: "NOTE: The resolution of the movie texture is hard coded to 960x540 in MediaSurface.cpp."
How can I change that to 4096x2048 video @ 30 FPS or a
2048x2048 video @ 60 FPS as hinted at in the docs.
Thanks!
01-13-2015 11:15 AM
"/storage/extSdCard/Oculus/Movies/Trailers/Interstellar.mp4"
"eoniantech" wrote:"smx" wrote:
Also it says: "NOTE: The resolution of the movie texture is hard coded to 960x540 in MediaSurface.cpp."
How can I change that to 4096x2048 video @ 30 FPS or a
2048x2048 video @ 60 FPS as hinted at in the docs.
Thanks!
I think this is done by going into the sdk and modifying MediaSurface.cpp (sdk\VRLib\jni\Integrations\Unity\MediaSurface.cpp). There are two values width and height on line 171 that are hard coded as 960 and 540. Changing these values failed to solve my resolution problems in unity 360 video, however. Let me know if you are able to get anything.
01-14-2015 07:29 AM
01-14-2015 07:51 AM
01-16-2015 01:30 PM
01-22-2015 12:32 PM
// FIXME: no way to get texture dimensions even in ES 3.0???
int width = 960;
int height = 540;
if ( width != TexIdWidth || height != TexIdHeight )
{
LOG( "New surface size: %ix%i", width, height );
TexIdWidth = width;
TexIdHeight = height;
...
}
01-26-2015 06:32 PM