aviread from video package does not return correct frame
The issue I am having is that all of the frames output from aviread are the
same frame (I believe frame 53 out of 177 frames).
I am using the octave package video-1.2.4.tar.gz on flatpak octave version
4.4.1. My OS is Ubuntu 18.04.1 and I am running it as guest on VirtualBox
The avi video was converted from a h264 to avi using ffmpeg on a different
computer that had the same octave and video package version but was running
Snappy linux. Also, Snappy linux had ffmpeg version 3.3.9 whereas the
Ubuntu has version 3.4.4. Could that be causing the issue?
mov = struct('cdata',zeros(vidHeight,vidWidth,3,'uint8'),...
k = 1;
mov(k).cdata = readFrame(xyloObj);
k = k+1;
Re: aviread from video package does not return correct frame
I was wanting to install octave on a Raspberry PI 3 B+ and then process video
files using the video and image packages. However, I am currently able to
extract frames using python+opencv, so maybe I will go in that direction.
Am 25.12.18 um 22:41 schrieb shall689:
> The issue I am having is that all of the frames output from aviread are the
> same frame (I believe frame 53 out of 177 frames).
> The avi video was converted from a h264 to avi using ffmpeg on a different
> computer that had the same octave and video package version but was running
> Snappy linux.
It's always difficult or impossible to debug such a problem without
having the input file.
If you are able to create a little test video which shows this problem
this would really help.