Files
cv_networking_pipeline/scripts/run_gst_loopthrough_capture.cmd
2022-01-21 05:32:56 -08:00

9 lines
502 B
Batchfile

rem set "PATH=%PATH%;C:\AnacondaGst_x64\Library\bin;C:\Program Files\NDI\NDI 5 SDK\Bin\x64"
call ..\PyGstTools\set-env.bat
set "STREAM_NAME=my_ndi_source"
FOR /F "tokens=* USEBACKQ" %%F IN (`hostname`) DO (SET THIS_HOST=%%F)
ECHO %THIS_HOST%
ECHO "%THIS_HOST% (%STREAM_NAME%)"
gst_get_ndi.exe C:\Users\ivan\Source\Repos\ORB_SLAM3\Vocabulary\ORBvoc.txt.tar.gz C:\Users\ivan\Source\Repos\ORB-SLAM3forWindows\Examples\Monocular\calib_data\calib1.yaml --ndi-name="%THIS_HOST% (%STREAM_NAME%)"
rem cmd.exe