question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Reading raw/encoded video?

See original GitHub issue
<div type='discussions-op-text'>

Originally 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:closed
  • Created a year ago
  • Reactions:2
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
daveisferacommented, May 25, 2022

I got a hacky version of it working with .mkv files by reading the file directly, but I’ll play with using pyav in the future and you can close this.

0reactions
FirefoxMetzgercommented, May 25, 2022

@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?

Read more comments on GitHub >

github_iconTop Results From Across the Web

What is meant by video decoding and raw frame in ... - Quora
The compression is done by an algorithm, which "encodes" the data into a stream of ... Decoded raw video and audio frames are...
Read more >
What is Video Encoding? | How to Encode Video (2022 Update)
In the most basic sense of the term, video encoding is the process of converting RAW video files to digital files so that...
Read more >
Using ffmpeg to encode a raw video to H.264 format
On a Ubuntu 10.04, I am trying to encode a raw video (YUV format) to a H.264 encoded video using below ffmpeg commands:...
Read more >
How to convert encoded video file to raw video format
1 - How do I can convert encoded video file (.mp4) to raw video format. 2 - How do I can read the...
Read more >
What is Raw Video? Is h.264 or h.265 RAW ... - YouTube
It's confusing when people first get into video...what settings should they use? What type camera should they get? Should it shoot RAW ?...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found