dukebw / lintel

A Python module to decode video frames directly, using the FFmpeg C API.
Apache License 2.0
261 stars 38 forks source link

Dynamic video size #6

Closed piergiaj closed 6 years ago

piergiaj commented 6 years ago

Infers the video size from the codec and returns the frames, width and height. Includes a test script to load a video without the width and height given.

I don't know if this is the best way, or if it introduces bugs or other problems, but it works for me. Feel free to use it or not.

dukebw commented 6 years ago

I merged this, although GitHub does not seem to detect that. Thank you!