PyAV
PyAV copied to clipboard
Pythonic bindings for FFmpeg's libraries.
Is it possible to build embedded subtitles with `PyAV`? I don't see `encode` method of `SubtitleStream`. And I don't understand how to construct subtitles "frame".
**IMPORTANT:** Be sure to replace all template sections {{ like this }} or your issue may be discarded. ## Overview It seems that only the data that's already in a...
Per #805, I've added licensing information to `LICENSE.txt` and (perhaps unnecessary) to `README.md`. The information added to `README.md` would be useful to have in PyPI and conda-forge pages, but I'm...
## Overview The API documentation for `OutputContainer.add_stream` is missing `layout` parameter. ## Expected behavior The API documentation for for `OutputContainer.add_stream` should detail all parameters, including `layout` ## Actual behavior `layout`...
`CodecContext.ticks_per_frame` is a read-only property, hardcoded to 1 when adding a new stream: ```py >>> output = av.open("out.mp4", 'w') >>> stream = output.add_stream('h264', 24) >>> stream.ticks_per_frame 1 >>> stream.ticks_per_frame =...
I am trying to convert an MP4 H264 stream to Annex-B for use in a MPEGTS output container. I am using the MP4 generated video file located in the docs...
## Overview I want to shut up any logging from `av` and underlying `ffmpeg`. I tried all of this: ``` python logging.basicConfig() av.logging.set_level(av.logging.PANIC) logging.getLogger('libav').setLevel(logging.ERROR) ``` Btw, docs said there is...
When adding a stream with a floating point framerate, as follows: import av output = av.open('test.avi', 'w') output.add_stream('rawvideo', rate=30.000001) I receive the following error message: --------------------------------------------------------------------------- OverflowError Traceback (most recent...
Currently PyAV wires up FFmpeg's logging so that messages are sent to Python's traditional loggers instead of going straight to stderr. One such example is simply trying to open a...