{"id":23981175,"url":"https://github.com/podborski/gstreamerlatencyplotter","last_synced_at":"2025-10-13T01:04:51.310Z","repository":{"id":39875536,"uuid":"234622087","full_name":"podborski/GStreamerLatencyPlotter","owner":"podborski","description":"A small node.js program that allows you to calculate and display the latency of each element of the GStreamer pipeline","archived":false,"fork":false,"pushed_at":"2023-09-19T18:28:54.000Z","size":3365,"stargazers_count":36,"open_issues_count":4,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-14T05:08:58.632Z","etag":null,"topics":["gstreamer","latency","plotting"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/podborski.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,"zenodo":null}},"created_at":"2020-01-17T19:31:25.000Z","updated_at":"2025-03-17T11:03:24.000Z","dependencies_parsed_at":"2025-04-14T05:09:00.234Z","dependency_job_id":"333c41bf-ea05-40b0-8cd5-678e9bf1e095","html_url":"https://github.com/podborski/GStreamerLatencyPlotter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/podborski/GStreamerLatencyPlotter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/podborski%2FGStreamerLatencyPlotter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/podborski%2FGStreamerLatencyPlotter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/podborski%2FGStreamerLatencyPlotter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/podborski%2FGStreamerLatencyPlotter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/podborski","download_url":"https://codeload.github.com/podborski/GStreamerLatencyPlotter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/podborski%2FGStreamerLatencyPlotter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279013884,"owners_count":26085325,"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","status":"online","status_checked_at":"2025-10-12T02:00:06.719Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["gstreamer","latency","plotting"],"created_at":"2025-01-07T10:35:31.918Z","updated_at":"2025-10-13T01:04:51.279Z","avatar_url":"https://github.com/podborski.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GStreamer Latency Plotter\n\nA small node.js program that allows you to calculate and display the latency of each element of the GStreamer pipeline while using the GStreamer [Tracing](https://gstreamer.freedesktop.org/documentation/additional/design/tracing.html?gi-language=c#latency) subsystem.\n\n## How to use\n\n1. Install `npm install`\n2. Run your GStreamer pipeline using the latency tracer and store the traces in a file like this:\n\n        GST_DEBUG_COLOR_MODE=off GST_TRACERS=\"latency(flags=pipeline+element)\" GST_DEBUG=GST_TRACER:7 GST_DEBUG_FILE=traces.log\n\n3. Run `node main.js traces.log` on that logfile. Check `-h` on more options.\n\n## Examples\n\nDecode and render the HEVC bitstream `file.265`:\n\n    GST_DEBUG_COLOR_MODE=off GST_TRACERS=\"latency(flags=pipeline+element)\" GST_DEBUG=GST_TRACER:7 GST_DEBUG_FILE=traces.log gst-launch-1.0 filesrc location=file.265 ! video/x-h265  ! h265parse ! avdec_h265 ! videorate ! video/x-raw,framerate=25/1 ! autovideosink\n\nPlot the results:\n\n    node main.js traces.log\n\nWhich returns you a table like this:\n\n![table](img/ex1_table.png)\n\nAnd creates an interactive plot of the latency over time in your web browser window like this:\n\n![plot](img/ex1_plot.png)\n\nIn this example we have a file where after 10 seconds we swith the aspect ratio of the video, which shows that the `h265parse` element introduces approx. 600 ms of extra latency.\n\nYou can find `file.265` and the corresponding `traces.log` from this example in the `testdata` folder.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpodborski%2Fgstreamerlatencyplotter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpodborski%2Fgstreamerlatencyplotter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpodborski%2Fgstreamerlatencyplotter/lists"}