Skip to content

Di-Stream/Di-Stream

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Di-Stream

First Software that allows to stream multiple DJI Goggles!

Just run the Software and plug in all your DJI Goggles in the available USB Ports of your Computer!


Made by Racers for Racers! ;)


                                                   @ ,_                          
                                                   * ..                          
                             *.                   %_/_                        ,% 
                            .*%                   &%_                  (/  @     
                             @&%@_(///,,,//.   (&@&((,.  .....,,,,,*,*&&@.       
                       ((   @@%(@@           *&&&&&&%%%&(          **@%%&&&&*    
                            _&&@@&_         @&&&&&&_ @@/             @@&%%@/   **
                             *&&&@&%&,     &&&&&&&&@%((/      _&%&&&%&&&@**      
                                   &&&&@&@__%@%__@%&/% (%%%%&&%&&*               
                                      *%/___%_&%&@%%%_%&%&%                      
             */(                      (%______(@@&%%@@.                //,,,     
             ,/(,                  ,@%%*@%%%%__&@&%&_%            /_(/*,.        
            ._(%%&@@%&@@&%%%%____@&%@&%(&&@%&&_@@@&&&@&&@     .@&@%_&            
       /*,,,*@&&%@@%(@%,,&&_%%@.     @@_@@@@&@@     /%%@@&&&_*@&@@*%            
   *.,.,    /_/(@/&&__%&(           .,,,%%(._.          &&%&,&_&&@__*/         
 *,         ,&&@%,.,                                        @@@%@@@**/*         
            *,//*.                                           ,.%%**             

🍴 Prerequisites

Made withJavascript

The following open source packages are used in this project:

  • ffmpeg

📖 Table of Contents

Let's Go!

-----------------------------------------------------

1. Download Binary

https://github.com/Di-Stream/Di-Stream/releases

------------------------------------------------------

2. Install

Windows:

ffmpeg

Download Essentials from here:
https://www.gyan.dev/ffmpeg/builds/ffmpeg-git-essentials.7z

Unzip it and move it to your favourite program folder.
Add System Path Variable:

For example:

C:\> setx /M path "%PATH%;C:\Users\fritz\Downloads"

LibUSB

That the goggles can be dedected properly, you need to install libusb driver.
Use Zadig driver installer und follwing instructions:

Install LibUSB Driver

  1. Download, install, and run Zadig.
  2. Power the goggles and connect them to the computer.
  3. In Zadig, select 'List All Devices' from the 'Options' men.
  4. Find the 'BULK Interface' device. It won't have a driver installed.
  5. Install the 'WinUSB' driver for this interface. It might take a while.

Linux:

ffmpeg

Install ffmpeg with following code:

sudo apt install ffmpeg

LibUSB

sudo apt install libusb-1.0-0

-----------------------------------------------------

3. Use

Windows:

  • Run the .exe

Linux:

  • Go to folder where the Di-Stream binary is
  • Run:
sudo chmod +x ./di-stream-linux
sudo ./di-stream-linux

-----------------------------------------------------

4. Software Behavior

Di-Stream Software will start a Node process for each goggles. The Goggles can be found at:

127.0.0.1:PORT

First Goggles has Port 1230

Second Goggles has Port 1231 ect...

The Di-Stream Software will automaticly search for new Goggles and will open a UDP Stream on the next free Port. Available Ports are:

1230 - 1237 8 Goggles!

If a Goggles accidently disconnects, the Goggles will get the same Port when resumed pluged in.

Custom Ports can be createt in the StreamProcess.js file

-----------------------------------------------------

5. OBS

In OBS add new Media device and uncheck de only local Media Box.
Now put your goggles adress in the input section and you are ready to go.

-----------------------------------------------------

6. Yargs

Following Commands can be used:

    --version    Version anzeigen                                     [boolean]
-p, --port       sets the starting Port (default: 1230)               [string]
-a, --address    sets the base address (default: 127.0.0.1)           [boolean]
-s, --readsize   readsize (default: 512)                              [Zahl]
-q, --queuesize  queuesize (default: 3)                               [Zahl]
-v, --verbose    shows debug log                                      [boolean]
-h, --help       Hilfe anzeigen                                       [boolean]

For example:

./di-stream-linux --port 1000

-----------------------------------------------------

7. License

Content is released under CC-BY-4.0. See notices for complete details, including attribution guidelines, contribution terms, and software and third-party licenses and permissions.

-----------------------------------------------------

8. Contributors

This README was created with ❤