Jump to: navigation, search

GoPro VR Player - Command lines


Options


You can launch GoPro VR Player through command line to be able to adjust several settings. Here's the syntax:

GoProVRPlayer_x64.exe [filename1 ... (filenameN)] options

Options can be:

  • --udp slave | master : start in slave or master mode
  • --customvlc : allow to use VLC with custom arguments. Go to Preferences > Video decoding to set your custom arguments. Note that changes on VLC media arguments will be applied when you exit the settings but changes on VLC instance arguments will need to restart the player
  • --touchtable : start the player in fullscreen mode, disable double-click to toggle fullscreen, click to toggle bar hide&show




Examples

Master / Slave

To be able to start GoPro VR Player in Master / Slave demo mode on a single computer, you just need to have the following batch script.

Windows

  • "C:\Program Files\GoPro\GoPro VR Player 3.0\GoProVRPlayer_x64.exe" "file:/C:\Users\username\Videos\test.mp4" --udp slave
  • "C:\Program Files\GoPro\GoPro VR Player 3.0\GoProVRPlayer_x64.exe" "file:/C:\Users\username\Videos\test.mp4" --udp master

Mac

  • /Applications/GoPro\ VR\ Player\ 3.0.app/Contents/MacOS/GoProVRPlayer "file:/Users/username/Movies/test.mp4" --udp slave
  • /Applications/GoPro\ VR\ Player\ 3.0.app/Contents/MacOS/GoProVRPlayer "file:/Users/username/Movies/test.mp4" --udp master


Custom VLC

Launch the player in command lines (see below), go to "Preferences > Video decoding" and set your custom VLC arguments. For example you can play raw video file (.yuv) using these arguments in "VLC Media Options": " :rawvid-fps=30, :rawvid-width=352, :rawvid-height=288, :rawvid-chroma=I420 "
(See https://wiki.videolan.org/Chroma/ for other chroma values)

Windows

  • "C:\Program Files\GoPro\GoPro VR Player 3.0\GoProVRPlayer_x64.exe" --customvlc

Mac

  • /Applications/GoPro\ VR\ Player\ 3.0.app/Contents/MacOS/GoProVRPlayer --customvlc





Benchmarks NEW

From v3.0, a benchmark mode can be activated when running the GoPro VR Player application from the command line.
Add the --benchmark X <video file(s)> argument where X is the number of iterations of the video file.

  • On Mac: Open a terminal, type /Applications/GoPro\ VR\ Player\ 3.0.app/Contents/MacOS/GoProVRPlayer --benchmark 3 /Users/user_name/Movies/FullHD_25fps.mp4

or drag & drop to the terminal window the application file (GoProVRPlayer) you find by doing a right-click on GoPro VR Player 3.0.app, select Show Package Contents, Contents, MacOS

  • On Windows: Open a terminal, type C:\Program Files\GoPro\GoPro VR Player 3.0\GoProVRPlayer_x64.exe --benchmark 3 \Users\user_name\Videos\FullHD_25fps.mp4

or drag & drop to the terminal window the application file (GoProVRPlayer_x64.exe) you find in C:\Program Files\GoPro\GoPro VR Player 3.0\

The .log file is saved to your Desktop (Win & OSX).

Click on [Expand] to open a sample log file --->

{

   "benchmark results": {
       "config": {
           "GPU": "NVIDIA GeForce GT 650M OpenGL Engine",
           "OpenGL Version": "2.1 NVIDIA-10.10.14 310.42.25f02",
           "os": "OS X El Capitan (10.11)"
       },
       "start date": "mer. juin 7 10:14:25 2017",
       "video_1": {
           "filename": "/Users/olivier/Movies/VIDEO 1/VideoTest.mp4",
           "metadata": {
               "duration": 37450,
               "fps": 60,
               "height": 1920,
               "width": 3840
           },
           "statistics": {
               "Average FPS, Hmd Rendering": 0,
               "Average FPS, Video Decoding": 59.26190185546875,
               "Average FPS, Window Rendering": 59.907100677490234,
               "Dropped Frames, Hmd Rendering": 0,
               "Dropped Frames, Video Decoding ": 31,
               "Dropped Frames, Window Rendering": 3
           }
       }
   },
   "iterations done": 3,
   "video play records": [
       {
           "date": "mer. juin 7 10:15:04 2017",
           "filename": "/Users/olivier/Movies/VIDEO 1/VideoTest.mp4",
           "iteration": 1,
           "metadata": {
               "duration": 37450,
               "fps": 60,
               "height": 1920,
               "width": 3840
           },
           "statistics": {
               "Average FPS, Hmd Rendering": 0,
               "Average FPS, Video Decoding": 57.78571319580078,
               "Average FPS, Window Rendering": 59.91891860961914,
               "Dropped Frames, Hmd Rendering": 0,
               "Dropped Frames, Video Decoding ": 93,
               "Dropped Frames, Window Rendering": 3
           }
       },
       {
           "date": "mer. juin 7 10:15:42 2017",
           "filename": "/Users/olivier/Movies/VIDEO 1/VideoTest.mp4",
           "iteration": 2,
           "metadata": {
               "duration": 37450,
               "fps": 60,
               "height": 1920,
               "width": 3840
           },
           "statistics": {
               "Average FPS, Hmd Rendering": 0,
               "Average FPS, Video Decoding": 60,
               "Average FPS, Window Rendering": 59.91666793823242,
               "Dropped Frames, Hmd Rendering": 0,
               "Dropped Frames, Video Decoding ": 0,
               "Dropped Frames, Window Rendering": 3
           }
       },
       {
           "date": "mer. juin 7 10:16:19 2017",
           "filename": "/Users/olivier/Movies/VIDEO 1/VideoTest.mp4",
           "iteration": 3,
           "metadata": {
               "duration": 37450,
               "fps": 60,
               "height": 1920,
               "width": 3840
           },
           "statistics": {
               "Average FPS, Hmd Rendering": 0,
               "Average FPS, Video Decoding": 60,
               "Average FPS, Window Rendering": 59.88571548461914,
               "Dropped Frames, Hmd Rendering": 0,
               "Dropped Frames, Video Decoding ": 0,
               "Dropped Frames, Window Rendering": 4
           }
       }
   ]
}