-
Notifications
You must be signed in to change notification settings - Fork 419
Closed
Description
Overview
From a quicktime movie encoded with cinepak I dumped the data per frame to disk.
With a python script I'm able to convert the cinepak frames to PIL images and save those
Script: https://github.com/rvanlaar/QTVR/blob/master/read_cinepak.py
Expected behavior
In the manner of Parsing https://pyav.org/docs/stable/cookbook/basics.html#parsing
I expect to be able to parse packets to frames.
Actual behavior
import av
fh = open("cinepak/nav_13.cinepak", "rb")
codec = av.CodecContext.create("cinepak", "r")
chunk = fh.read()
packets = codec.parse(chunk)
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
Cell In[5], line 1
----> 1 packets = codec.parse(chunk)
File av/codec/context.pyx:343, in av.codec.context.CodecContext.parse()
ValueError: No parser for cinepak
Investigation
I looked at the source code and couldn't see anything which specifically is different.
Research
I have done the following:
- Checked the PyAV documentation
- Searched on Google
- Searched on Stack Overflow
- Looked through old GitHub issues
- Asked on PyAV Gitter
- ... and waited 72 hours for a response.
Additional context
I am working on figuring out QTVR 1 fileformat. For that I would like to be able to pass raw frame data to PyAV to use FFMPEG to decode the frames., as to not have to write a decoder for every different encoding I find.
Metadata
Metadata
Assignees
Labels
No labels