How can I listen to and decode an RTMP video stream with Python? Such as with the ffmpeg command ffmpeg -listen 1 -i rtmp://localhost:1935/live/app I ...
How can I listen to and decode an RTMP video stream with Python? Such as with the ffmpeg command ffmpeg -listen 1 -i rtmp://localhost:1935/live/app I ...
I'm trying to use pyav to convert arbitrary audio file to a low quality, mono, wave file. I almost managed to do it, but it's stereo, and I couldn't ...
I'm new to PyAv library, or to audio programming in general so I apologize for any mistakes in advance. I'm trying to load and print raw audio data f ...
I am trying to convert the audio file in WebM format into MP3 file. I need to keep both files in memory due to server limitations. I tried to do it us ...
I use python and pyav to convert mp3 to wav. My code is below: ''' ''' but pycharm tell me that Timestamps are unset in a packet for stream 0. This ...
When producing H.264 frames and decoding them using pyAV, packets are parsed from frames only when invoking the parse methods twice. Consider the fol ...
I'm using mkvmerge to combine a mp4 CFR video with a text file containing VFR timestamps. The command used was mkvmerge --timestamps 0:timestamps.txt ...
Right now I am accessing the motion vectors in the following way: It seems to me that this does decode the video_frame. Is there a way to obtain th ...
I have a code running perfectly on an Ubuntu machine but returning an error on another one: I am simply ingesting multiple a video streams concurre ...
I am using pyav (python wrapper for libav) to ingest an H264 video stream. Is there an option to disable B-frames? I think the same question would app ...
I am using pyav to process a live RTSP stream: What happens if I do something too slow? Are frames / packets dropped or are they buffered? I guess ...
I hope you are loud and proud. I'm a newbie to PyAV and I'm using aiortc for WebRTC MediaServer, in an aiortc live session I have av.VideoFrame objec ...
I'm just learning to work with video frames and new to python language. I need to display multiple video streams to the screen at the same time using ...
I have been trying to set up my Python web app that uses opencv, tensorflow and av modules but keeps failing. I have tried using the Aptfile to instal ...
When PyAv is used to open the alsa audio device. How I can specify used codec and not the ffmpeg default one because that is wrong. By default it will ...
The data was received by socket ,with no more shell , they are pure I P B frames begin with NAL Header(something like 00 00 00 01). I am now using pya ...
Using https://pypi.org/project/av/ trying to open file for infinite playback. But the cycle ends with the last frame. After searching and reading man ...
Is it possible to read a video directly into a 3D Numpy with PyAV? Currently, I am looping through each frame: The first frame defines a 2D Numpy a ...
I've been using PyAV and aiortc to set up a video stream using webrtc. I want to repackage packets and send them without transcoding them. The issue I ...
I am writing a script to extract the video keyframes (to frame_{0}.jpg) and audio to the a separate .mp3 file. Here is what I have so far: How do I ...