Replies: 1 comment
-
Hi @kipcole9, Membrane doesn't have first-class support for seeking, so you'd need to skip the stream until your conditions are met. Another option would be to use https://hexdocs.pm/membrane_mp4_plugin/Membrane.MP4.Container.html#parse!/1 directly. It returns the parsed MP4 structure, which you can use to manually find the size and offset of the frame you need. Let me know if you need help with either approach ;) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In my Image I'd like to be able to grab a video frame without having to jump out to eVision (OpenCV) or using FFMPEG natively. It feels like Membrane has all the pieces but I'm not sure where to start.
Let's assume for now that it's a video stream in a
.mp4
container. How (can I?) open the container, access the stream, seek to a frame (or milliseconds) and get the video frame (I don't care what format the frame data is in, as long as I can detect what the format is).Possible?
Beta Was this translation helpful? Give feedback.
All reactions