Reading raw/encoded video?
See original GitHub issueOriginally posted by daveisfera April 28, 2022
Is it possible to read the raw/encoded video from a file? Basically, the standard way of using imageio
decodes each frame of the video into an image, but is there a way to read the raw frames that are still encoded?
On a similar note, is there a way to read the encoded frames when “writing” a video? (i.e. access them in the memory of the application instead of them being written to a file)</div>
@daveisfera I’m converting your discussion into an issue, and I will answer in a dedicated comment below.
So far we haven’t been using discussions, and I don’t think there is so much velocity in the issues that we loose track of questions like this 😃 I will also close down discussions to avoid confusion in the future (@almarklein please let me know if you have any objections to this.)
Issue Analytics
- State:
- Created a year ago
- Reactions:2
- Comments:7 (4 by maintainers)
Top GitHub Comments
I got a hacky version of it working with
.mkv
files by reading the file directly, but I’ll play with usingpyav
in the future and you can close this.@daveisfera Did you make any headway on this problem and/or is this still an issue for you?
Since ImageIO doesn’t support streams at the moment I’m tempted to close the issue; however, there might be an opportunity for an enhancement here. What do you think?