You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With PyAV's bindings to FFMPEG it's trivial to offload decoding to
FFMPEG.
While fun, it wasn't feasible to write a decoder for every format used
in QTVR files. The self writter decoders also had slight color
differences with respect to FFMPEG.
Note:
PyAV needs to be installed by hand, see the README for more
information.
Long story short, there are two issues:
1. Regular PyAV from PyPI doesn't expose `bits_per_coded_sample` on codecs.
PR 1162 resolves the issue:
PyAV-Org/PyAV#1162
2. PyAV can't be build easily.
Missing is Cython 3 support from the source.
Apply this PR PyAV-Org/PyAV#1145
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Overview
Add the option to set
bits_per_coded_sample
on the codec context.Results in:
Desired Behavior
Example API
Additional context
For QuickTime VR movies I want to decode single frames.
This works for
RPZA
which needs the width and height of a frame.As shown in #1161 (comment)
The
QTRLE
decoder also needs to thebits_per_coded_sample
. Which is here in the ffmpeg code:https://github.com/FFmpeg/FFmpeg/blob/5f8c113b75de9c2a7f49e337cd332abbf8adbb6e/libavcodec/qtrle.c#L409
The text was updated successfully, but these errors were encountered: