{"id":18081621,"url":"https://github.com/thequib/dji-obs-stream","last_synced_at":"2025-04-12T14:54:45.696Z","repository":{"id":111986172,"uuid":"418269199","full_name":"TheQuib/dji-obs-stream","owner":"TheQuib","description":"NGINX Gryphon Server for Windows and Linux with an RTMP application preconfigured. Specifically for streaming a DJI drone camera to OBS.","archived":false,"fork":false,"pushed_at":"2024-09-02T12:54:07.000Z","size":2701,"stargazers_count":21,"open_issues_count":1,"forks_count":2,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-26T09:39:58.533Z","etag":null,"topics":["dji","gryphon","nginx","rtmp","streaming","windows"],"latest_commit_sha":null,"homepage":"","language":"Vim Script","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TheQuib.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-10-17T22:17:34.000Z","updated_at":"2025-02-21T10:53:27.000Z","dependencies_parsed_at":"2023-09-09T20:33:47.294Z","dependency_job_id":null,"html_url":"https://github.com/TheQuib/dji-obs-stream","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheQuib%2Fdji-obs-stream","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheQuib%2Fdji-obs-stream/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheQuib%2Fdji-obs-stream/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheQuib%2Fdji-obs-stream/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheQuib","download_url":"https://codeload.github.com/TheQuib/dji-obs-stream/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248586245,"owners_count":21128995,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dji","gryphon","nginx","rtmp","streaming","windows"],"created_at":"2024-10-31T13:15:29.820Z","updated_at":"2025-04-12T14:54:45.660Z","avatar_url":"https://github.com/TheQuib.png","language":"Vim Script","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DJI-OBS-Stream\n\nNginx Server for Windows and Linux with RTMP support. Perfect for streaming from a DJI drone or other devices that use the RTMP protocol.\n\n\n# Setting up:\n\nThis contains files/tutorial to run an Nginx web server in Windows (Files) and Debian/Ubuntu Linux (tutorial). It hosts 2 services: HTTP on port 80 (for testing) and RTMP on port 1935 (for streaming)\n\n\n## Prerequisites\n\n- **Required** Open port 1935 in the server firewall for the RTMP service\n- **Optional** (For testing) Open port 80 in the server firewall for the HTTP service\n\n\n\u003cbr\u003e\n\n\n## Usage\n\nPlease refer to the respective directory of your operating system of choice. Each has its own `README.md` file to get you going.\n\n\n\u003cbr\u003e\n\n\n## Test to make sure the server is working\n\n*You really only need to do this the first time* \u003cbr\u003e\n*Do this from a separate device to get the most accurate results*\n - Open a web browser\n - Navigate to one of the following URLs:\n   - *yourIPAddress*\n     - *Ex.* 192.168.0.5\n   - *yourHostname*\n     - *Ex.* Stream-PC\n - If this shows a web page, the server is working as intended\n - If this doesn't work, check your firewall to make sure the ports are open\n\n\n \u003cbr\u003e\n\n\n ## Send data to server from DJI Go 4 or DJI Fly\n \n - Open the stream seetings in your respective app\n - Select either \"RTMP\" or \"Custom\"\n   - *This selection depends on your app*\n - In the URL, type either the IP or hostname, with te port 1935, and append /live to it\n - Ex. Stream-PC:1935/live\n - So, the full RTMP URL would be:\n   - rtmp://Stream-PC:1935/live\n     - *Make sure you save this for later*\n - If you want to use a custom stream key, place that after \"/live\"\n   - Ex. rtmp://Stream-PC:1935/live/*streamKey*\n     - You can make *streamKey* any alphabetical character you want\n     - *Make sure you save this for later*\n\n\n \u003cbr\u003e\n\n\n ## View stream in OBS\n \n*Do this on the server*\n - Open OBS\n - In a scene, create a \"Media Source\" source\n - In the properties of \"Media Source\":\n   - Uncheck \"Local File\"\n   - Set the input to the full URL of the RTMP server\n     - Ex. (without stream key)\n       - rtmp://Stream-PC:1935/live\n     - Ex. (with stream key)\n       - rtmp://Stream-PC:1935/live/streamKey\n   - Click \"OK\"\n - The stream should show after a few seconds\n   - Depending on the network connection from the app, and to the computer running Nginx, this can take longer\n\n\n\u003cbr\u003e\n\n\n## Extra Info\n\nIf you would like to change the URL to use something other than `/live`, edit the `Nginx.conf` file under `/ServerFiles/conf/` directory.\n\u003cbr\u003e\nThe default configuration for the RTMP application is:\n\u003cbr\u003e\n\n```rtmp {\n    server {\n        listen 1935;\n        application live {\n            live on;\n            interleave on;\n            record off;\n\n        }\n    }\n}\n```\n\n\u003cbr\u003e\n\nIf you change the name of the application, i.e. where it says `application live {`, let's say to `stream`, it will use `/stream` instead.\n\n\u003cbr\u003e\n\u003cbr\u003e\n\nSo, the application for `/stream` in `Nginx.conf` file would look like this:\n\n\u003cbr\u003e\n\n```rtmp {\n    server {\n        listen 1935;\n        application stream {\n            live on;\n            interleave on;\n            record off;\n\n        }\n    }\n}\n```\n\u003cbr\u003e\n\nSo, with this, you would connect to `rtmp://yourServer/stream/streamKey`\n\n\n\u003cbr\u003e\n\n\n## For the best results...\n\n- I would recommend opening a hotspot on the computer running the server if possible. \n  - This can be easily done in Windows with the built-in hotspot\n  - In some Linux distros, this is built in. Look up the features your distro has to do this there","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthequib%2Fdji-obs-stream","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthequib%2Fdji-obs-stream","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthequib%2Fdji-obs-stream/lists"}