{"repo":"zeroepoch/plotbitrate","free":true,"listed":false,"github":"https://github.com/zeroepoch/plotbitrate","clone":"git clone https://github.com/zeroepoch/plotbitrate.git","description":"FFProbe Bitrate Graph","language":"Python","stars":350,"topics":["ffmpeg","bitrate","python3","matplotlib"],"license":"BSD-2-Clause","category":"media-processing","readme_excerpt":"PlotBitrate FFProbe Bitrate Graph This project contains a script for plotting the bitrate of an audio or video stream over time. To get the frame bitrate data ffprobe is used from the ffmpeg package. The ffprobe data is streamed to python as xml frame metadata and optionally sorted by frame type. Matplotlib is used to plot the overall bitrate or each frame type on the same graph with lines for the peak and mean bitrates. The resulting bitrate graph can be saved as an image. Possible outputs are: - Image types (png, svg, pdf, ...) - Raw frame data (csv, xml) Requirements: - Python = 3.6 - FFmpeg = 1.2 with the ffprobe command - Matplotlib - PyQt5 or PyQt6 (optional for image file output) For using the script from source, install the requirements with pip install -e . or use pip install --group dev for development purposes. Installation If you encounter the error message qt.qpa.plugin: Could not load the Qt platform plugin \"xcb\" in \"\" even though it was found. while running plotbitrate , then you may need to install your distribution's libxcb-cursor0 package. If this package is already installed and/or doesn't resolve the issue, then you can try using QT DEBUG PLUGINS=1 plotbitrate input.mkv 2 &1 grep \"No such file\" to determine if other libraries are missing. Useful Options The raw frame data can be stored in an xml file with the option -f xml raw , which the graph can be plotted from. This is useful if the graph should be shown multiple times with different options, as the so","default_branch":null,"files":null,"tree":[],"storefront":"/r/zeroepoch","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/zeroepoch/plotbitrate/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}