cancel
Showing results for 
Search instead for 
Did you mean: 

Encode video correctly

ShawnFeatherly
Explorer
I seem unable to properly encode a video for an Oculus store submission using VLC. 720p or 1080p I get back "Invalid aspect ratio". I scoured the guide at https://developer.oculus.com/distribute/asset-guidelines/#Trailer yet didn't find anything I was missing. Is there a way I can find out why my video is throwing that error? A copy of my video is at https://drive.google.com/file/d/1p7rIwLNrAhzmEhn4iyyFFGcUgjTwg2rt/view ( I know the video content isn't too good, the goal of this is to figure out the encoding settings)

Is there an FFMPEG command that is known to produce a video the store submission will accept?
12 REPLIES 12

ShawnFeatherly
Explorer

@beep2bleep video uploaded without issue! The codec meta data of his video already almost matched mine. It was either the black bars or what I was using for encoding. Which was VLC and ffmpeg.
Not quite ready to download Vegas11, I tried the Microsoft Video Editor that comes with Windows 10 to do a 1080p export. It created a 30fps video. But it uploaded to Store Submissions despite black bars and 30fps!
Thanks again for all the help figuring this out @beep2bleep !

Thanks glad you got it.  Yeah I guess something was funky with the VLC ffmpeg method glad you got one that worked.

ShawnFeatherly
Explorer

A colleague mentioned there's some adb commands to format the video the Quest outputs differently. I haven't tested this, but by modifying these commands you may be able to upload the video straight to App Lab.

 

adb shell setprop debug.oculus.capture.bitrate 30000000

adb shell setprop debug.oculus.capture.width 1440

adb shell setprop debug.oculus.capture.height 1080

adb shell setprop debug.oculus.fullRateCapture 1

adb shell setprop debug.oculus.textureWidth 1440

adb shell setprop debug.oculus.textureHeight 1080

adb shell setprop debug.oculus.foveation.level 0

adb shell setprop debug.oculus.adaclocks.force 0

adb shell setprop debug.oculus.cpuLevel 5

adb shell setprop debug.oculus.gpuLevel 5