{"id":13735655,"url":"https://github.com/wangyoucao577/plot-av","last_synced_at":"2026-01-11T02:47:32.350Z","repository":{"id":198802348,"uuid":"701571773","full_name":"wangyoucao577/plot-av","owner":"wangyoucao577","description":"Plot Audio/Video streams for better insights.","archived":false,"fork":false,"pushed_at":"2024-04-11T11:36:37.000Z","size":161,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-07T01:35:13.538Z","etag":null,"topics":["audio","ffmpeg","matplotlib","multimedia","pyav","video"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wangyoucao577.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":"2023-10-07T00:21:07.000Z","updated_at":"2024-11-23T01:33:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"5584c475-3beb-4859-bcdb-e82a8876f121","html_url":"https://github.com/wangyoucao577/plot-av","commit_stats":null,"previous_names":["wangyoucao577/plot-av"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wangyoucao577%2Fplot-av","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wangyoucao577%2Fplot-av/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wangyoucao577%2Fplot-av/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wangyoucao577%2Fplot-av/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wangyoucao577","download_url":"https://codeload.github.com/wangyoucao577/plot-av/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246436049,"owners_count":20776959,"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":["audio","ffmpeg","matplotlib","multimedia","pyav","video"],"created_at":"2024-08-03T03:01:09.406Z","updated_at":"2026-01-11T02:47:32.321Z","avatar_url":"https://github.com/wangyoucao577.png","language":"Python","funding_links":[],"categories":["Analysis tools"],"sub_categories":[],"readme":"[![Build and Publish](https://github.com/wangyoucao577/plot-av/actions/workflows/build_publish.yml/badge.svg)](https://github.com/wangyoucao577/plot-av/actions/workflows/build_publish.yml) [![PyPI version](https://badge.fury.io/py/plot-av.svg)](https://badge.fury.io/py/plot-av) ![](https://anaconda.org/conda-forge/plot-av/badges/version.svg)\n\n# plot-av\nPlot details of Audio/Video streams of media files to help you gain better insights of them.      \n\n![](docs/images/plot-av.png)\n\n\n## Installation \n\n### Pip\n```bash\n$ pip install plot-av\n```\n\n### Conda\n```bash\n$ conda install plot-av -c conda-forge\n```\n\n## Usage\n\n```bash\n# basic use\n$ plot-av -i test.mp4\n\n\n# help \n$ plot-av -h\nusage: plot-av [-h] -i INPUT [-vn | -an | -map STREAMS_SELECTION] [--dpi DPI] [--plots PLOTS] [--interval INTERVAL] [--log LOGLEVEL]\n\nplot audio/video streams.\n\noptions:\n  -h, --help            show this help message and exit\n  -i INPUT              input file url (default: None)\n  -vn                   disable video stream (default: False)\n  -an                   disable audio stream (default: False)\n  -map STREAMS_SELECTION\n                        manually select streams, pattern 'input_index:stream_type:stream_index', e.g. '0:v:0', '0:a:0' (default: None)\n  --dpi DPI             resolution of the figure. If not provided, defaults to 100 by matplotlib. (default: None)\n  --plots PLOTS         subplots to show, seperate by ','. options: dts,pts,size,bitrate,fps,avsync,dts_delta,duration (default: dts,pts,size,bitrate,fps,avsync,dts_delta,duration)\n  --interval INTERVAL   calculation interval in seconds for statistics metrics, such as bitrate, fps, etc. (default: 1.0)\n  --log LOGLEVEL        log level (default: None)\n```\n\n### More examples\n\n- Draw your interested subplots only\n\n```bash\n$ plot-av -i test.mp4 --plots dts,pts\n```\n\n- Draw video or audio only \n\n```bash\n# disable video\n$ plot-av -i test.mp4 -vn\n\n# disable audio\n$ plot-av -i test.mp4 -an\n```\n\n- Manually select streams from mutiple inputs\n\n```bash\n$ plot-av -i test1.mp4 -i test2.mp4 -map 0:v:0 -map 1:a:0 \n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwangyoucao577%2Fplot-av","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwangyoucao577%2Fplot-av","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwangyoucao577%2Fplot-av/lists"}