{"id":17217425,"url":"https://github.com/alexander-pv/inference-gstreamer","last_synced_at":"2025-03-25T14:13:04.199Z","repository":{"id":124311686,"uuid":"470902330","full_name":"alexander-pv/inference-gstreamer","owner":"alexander-pv","description":"Samples of Python and C GStreamer pipelines with NVIDIA DeepStream modules","archived":false,"fork":false,"pushed_at":"2022-04-25T16:43:20.000Z","size":80,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-30T12:47:03.309Z","etag":null,"topics":["deepstream","gstreamer"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alexander-pv.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2022-03-17T08:11:43.000Z","updated_at":"2023-02-28T15:53:13.000Z","dependencies_parsed_at":"2024-08-11T23:33:50.831Z","dependency_job_id":null,"html_url":"https://github.com/alexander-pv/inference-gstreamer","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/alexander-pv%2Finference-gstreamer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexander-pv%2Finference-gstreamer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexander-pv%2Finference-gstreamer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexander-pv%2Finference-gstreamer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alexander-pv","download_url":"https://codeload.github.com/alexander-pv/inference-gstreamer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245476718,"owners_count":20621698,"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":["deepstream","gstreamer"],"created_at":"2024-10-15T03:44:03.611Z","updated_at":"2025-03-25T14:13:04.160Z","avatar_url":"https://github.com/alexander-pv.png","language":"Python","readme":"\nSamples of Python and C GStreamer pipelines with NVIDIA DeepStream modules:\n\nTo run examples:\n\n* Start RTSP server, for example: [link](https://github.com/aler9/rtsp-simple-server).\n* Prepare streaming, for instance, with ffmpeg:\n\n```bash\n$ bash stream_video.sh \u003cvideo_address\u003e\n```\n* For Jetson platform clone the repository. (!Streaming on Jetson is quite computational intensive. It is better to stream via another computer.)\n* For dGPU use Docker.\n\n```bash\n$ docker build -f ./dockerfiles/deepstream-5.0-20.07-devel.Dockerfile -t gst_deepstream5.0_cuda10.2:dgpu .\n$ xhost +local:docker\n$ docker run --name ds_test --gpus=all --runtime nvidia  -e DISPLAY=$DISPLAY \\\n         --rm -i -t --net=host \\\n         -v $PWD:/home/ubuntu/inference-gstreamer \\\n         -v /tmp/.X11-unix/:/tmp/.X11-unix \"gst_deepstream5.0_cuda10.2:dgpu\" bash\n\n```\n\nExamples:\n\n| Example                          | Description                                        |   Support    |\n|----------------------------------|----------------------------------------------------|:------------:|\n| `gst_read_rtsp.py`               | RTSP stream reading with reconnection              | Jetson, dGPU |\n| `gst_read_multiple_rtsp.py`      | Multiple RTSP streams reading with reconnection    | Jetson, dGPU |\n| `gst_primary_detector.py`        | RTSP object detection with deepstream PrimaryModel | Jetson, dGPU |\n| `gst_trafficcam_model.py`        | TLT-pretrained TrafficCamNet model                 | Jetson, dGPU |\n| `gst_dashcam_model.py`           | TLT-pretrained DashCamNet model                    | Jetson, dGPU |\n| `gst_multiple_rtsp_inference.py` | RTSP streams + DashCam + PeopleNet + Tracker       | Jetson, dGPU |\n|                                  |                                                    |              |\n\nArguments parser:\n```\n  -h, --help               show this help message and exit\n  -ip ip                   str, rtsp ip address, default='127.0.0.1'\n  -port port               int, rtsp port, default=8554\n  -name name               str, rtsp address name or names, default='stream'\n  -codec codec             str, video codec, default='h264\n  -debug_level debug_level str, GStreamer debug level, default=0\n  -d                       bool, display pipeline output\n  -v                       bool, more verbosity\n```\n\n\n#### References\n\n* [NVIDIA-AI-IOT deepstream_python_apps](https://github.com/NVIDIA-AI-IOT/deepstream_python_apps)\n* [DeepStream FAQ](https://docs.nvidia.com/metropolis/deepstream/5.0DP/dev-guide/index.html#page/DeepStream%20Plugins%20Development%20Guide/deepstream_plugin_faq.html)\n* [DeepStream structures](https://docs.nvidia.com/metropolis/deepstream/5.0/python-api/index.html)\n* [GStreamer C tutorial](https://gstreamer.freedesktop.org/documentation/tutorials/index.html?gi-language=c)\n* [PyGObject documentation](http://lazka.github.io/pgi-docs/)\n* [Python GStreamer Tutorial](https://brettviren.github.io/pygst-tutorial-org/pygst-tutorial.html)\n* [RidgeRun Embedded Linux Developer Connection](https://developer.ridgerun.com/wiki/index.php?title=Main_Page)","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexander-pv%2Finference-gstreamer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexander-pv%2Finference-gstreamer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexander-pv%2Finference-gstreamer/lists"}