Hi @CUIS and @cerealkiller2527,
I made some time today to try this out on a fresh install and it seems to have worked fine with the latest versions. The detailed steps on Windows are as follows:
- Install Open Broadcast Studio (OBS)
- Download and install gstreamer files:
- I used version 1.20.1 (latest) with standard
.msi
files for installing on my 64-bit Intel x86 processor running Windows 10:gstreamer-1.0-mingw-x86_64-1.20.1.msi
gstreamer-1.0-devel-mingw-x86_64-1.20.1.msi
- do “Full” install of both (not “Typical”)
NOTE: to devs also doing QGC builds
QGC requires MSVC gstreamer to build with gstreamer support, and obs-gstreamer requires MinGW gstreamer to run. You’ll either need to install and configure both to be ok with each other, or install MSVC gstreamer to build QGC, then remove it and install MinGW gstreamer so obs-gstreamer works)
- I used version 1.20.1 (latest) with standard
3. Add gstreamer to the PATH variable
- Search (Windows) for “Environment” and press Enter
- Click “Environment Variables”
- Add the gstreamer
\bin
folder toPath
and click OK
- need to add
%GSTREAMER_VAR%\bin;
- need to add
4. (Optionally) check that the installation was successful
- Search (Windows) for “cmd” and press Enter
- Run a simple pipeline
gst-launch-1.0 videotestsrc ! autovideosink
- press
CTRL+C
from in the command prompt to stop it
- press
- Connect the ROV
- Run the actual pipeline of interest
gst-launch-1.0 udpsrc port=5600 ! application/x-rtp, payload=96 ! rtph264depay ! h264parse ! avdec_h264 ! autovideosink
- if prompted select to allow command-prompt access to both private and public networks
- Download the
.zip
file from the latest obs-gstreamer release- I used v0.3.3 (latest available)
- Copy the
.dll
intoobi-studio
’s plugins folder- copy
obs-gstreamer\windows\obs-gstreamer.dll
from the downloaded.zip
- into
C:\Program Files\obs-studio\obs-plugins\64bit\
- copy
- Open OBS
- if asked you can select “optimise for recording”, unless you’re planning to live-stream the footage to somewhere else
- Add a new Gstreamer Source
- set the pipeline as
udpsrc port=5600 ! application/x-rtp, payload=96 ! rtph264depay ! h264parse ! avdec_h264 ! video.
- if prompted select to allow obs-gstreamer access to both private and public networks
- can try this pipeline if you want an audio stream, or if the above pipeline doesn’t work
- Click OK and wait for it to load (might take a few seconds)
- set the pipeline as
@cerealkiller2527 Following up on this, if you re-run the MSVC gstreamer installer files it should give you an option to “Remove” gstreamer, after which you should be able to install the MinGW one