Video plus data streaming with racecapture: Difference between revisions

No edit summary
Line 8: Line 8:
==Install dependencies==
==Install dependencies==
<pre>
<pre>
sudo apt-get install v4l-utils tk gstreamer1.0-plugins-bad gstreamer1.0-libav
sudo apt-get install v4l-utils tk gstreamer1.0-plugins-bad gstreamer1.0-libav gconf2
</pre>
</pre>



Revision as of 00:04, 8 February 2023

Install ubuntu 22.x

Install ubuntu 22 in the typical way.

  • Select Automatic Login without password

Disable keyring popup

Disable the keyring popup

Install dependencies

sudo apt-get install v4l-utils tk gstreamer1.0-plugins-bad gstreamer1.0-libav gconf2

Enable access to RaceCapture serial port

sudo adduser $USER dialout
sudo echo "ATTRS{idVendor}==16d0, ATTRS{idProduct}==07f1, MODE=0666" | sudo tee /etc/udev/rules.d/70-autosportlabs.racecapture.rules

Hide Ubuntu Top bar

Hide top bar

Hide side bar

sudo apt install gnome-shell-extensions

Now run extensions tool, set Ubuntu Dock -> OFF

Download the latest RaceCapture app for Linux

http://podium.live/software

Disable system update notification poupup

gconftool -s --type bool /apps/update-notifier/auto_launch false

Extract the RaceCapture app archive

tar -xzf <downloaded filename>

Launch RaceCapture app

./run_racecapture_linux.sh

Enable fullscreen mode & Default dashboard mode

  • Go to Setup / App Preferences
  • set Fullscreen -> ON
  • Set Startup Screen -> Dashboard

Plug in camera(s)

Plug in 1 or 2 cameras into the USB port

  • Note: Remember the ports the cameras are plugged into, and keep this consistent during use.

Plug in USB microphone

  • Plug USB microphone into a USB port

Configure Dashboard

  • Press Settings Gear Icon, go to More Settings / Camera Preferences

Select /dev/video0 for Camera1, and /dev/video2 for Camera2

Create a test dashboard

  • Press the Settings gear icon, select Add Gauge
  • create a video gauge, and select Camera 1 as the source.
  • Resize to fit the dashboard.
  • create another video gauge, and select Camera 2 as the source.
  • Resize to be the picture-in-picture video window.
  • Add additional gauges as you see fit, such as an analog speed gauge, track map, etc.
  • Note If the cameras are reversed, you can swap the camera mappings in the main dashboard settings under More Settings / Camera Preferences