{"id":22683642,"url":"https://github.com/notedit/gstreamer-command","last_synced_at":"2026-01-08T00:06:15.175Z","repository":{"id":142516101,"uuid":"171618112","full_name":"notedit/gstreamer-command","owner":"notedit","description":"gstreamer commands","archived":false,"fork":false,"pushed_at":"2019-06-28T08:39:42.000Z","size":8,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-04T15:43:59.613Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/notedit.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":"2019-02-20T06:55:36.000Z","updated_at":"2020-02-09T08:03:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"fbaf91b1-295d-4235-a900-49b4103eb7e0","html_url":"https://github.com/notedit/gstreamer-command","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/notedit%2Fgstreamer-command","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/notedit%2Fgstreamer-command/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/notedit%2Fgstreamer-command/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/notedit%2Fgstreamer-command/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/notedit","download_url":"https://codeload.github.com/notedit/gstreamer-command/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246200300,"owners_count":20739563,"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":[],"created_at":"2024-12-09T21:12:52.250Z","updated_at":"2026-01-08T00:06:15.150Z","avatar_url":"https://github.com/notedit.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# gstreamer-command\n\n\n### send mp4 video through rtp \n\n```\ngst-launch-1.0 filesrc location=/Users/xiang/Movies/test2.mp4 ! qtdemux !  video/x-h264 ! h264parse ! rtph264pay config-interval=-1 ! udpsink  host=127.0.0.1 port=5000\n```\n\n### play rtp video \n\n```\ngst-launch-1.0 -v udpsrc port=5000 address=127.0.0.1 caps=\"application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)H264,payload=(int)96\" ! rtph264depay ! decodebin ! videoconvert ! autovideosink\n```\n\n### video audio generate hls\n\n```\ngst-launch-1.0 videotestsrc ! x264enc ! muxer.  audiotestsrc ! avenc_ac3 ! muxer.  mpegtsmux name=muxer ! hlssink max-files=5\n```\n\n\n### audio video to flv file\n\n```\ngst-launch-1.0 -v flvmux name=mux ! filesink location=test.flv  audiotestsrc samplesperbuffer=44100 num-buffers=10 ! faac ! mux.  videotestsrc num-buffers=250 ! video/x-raw,framerate=25/1 ! x264enc ! mux.\n\n```\n\n### mux audio and videofile to mkv file \n\n```\ngst-launch-1.0 -v filesrc location=/path/to/mp3 ! mpegaudioparse ! matroskamux name=mux ! filesink location=test.mkv  filesrc location=/path/to/theora.ogg ! oggdemux ! theoraparse ! mux.\n\n```\n\n### demux media file to audio and video \n\n```\ngst-launch-1.0 filesrc location=test.mov ! qtdemux name=demux  demux.audio_0 ! queue ! decodebin ! audioconvert ! audioresample ! autoaudiosink   demux.video_0 ! queue ! decodebin ! videoconvert ! videoscale ! autovideosink\n```\n\n\n### demux rtmp stream to audio and video \n\n```\ngst-launch-1.0 -v rtmpsrc location=rtmp://localhost/live/stream  ! flvdemux name=demux demux.audio ! queue ! decodebin ! audioconvert ! audioresample ! opusenc ! rtpopuspay timestamp-offset=0  ! udpsink  host=127.0.0.1 port=5000 demux.video! queue ! h264parse ! rtph264pay timestamp-offset=0 config-interval=-1  ! udpsink  host=127.0.0.1 port=5002\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnotedit%2Fgstreamer-command","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnotedit%2Fgstreamer-command","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnotedit%2Fgstreamer-command/lists"}