help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Aviread not reading frames correctly from video, repeates key frames


From: pecenastruca
Subject: Re: Aviread not reading frames correctly from video, repeates key frames
Date: Mon, 7 Jan 2019 07:51:59 -0600 (CST)

Andreas Weber-6 wrote
> Am 07.01.19 um 11:39 schrieb pecenastruca:
>> The video package is installed in Octave now, but the reading of the file
>> fails at some point:
>> AVHandler: Error decoding video stream
>> error: aviread: cannot read frame 40
>> error: called from
>>      atest at line 11 column 7
>> 
>> in the atest function that was the line with the img = aviread(video,i);
> 
> This is the same video previously linked from dropbox?
> Do you know C programming?
> 
> -- Andy

Yes it is. Only the basics. I tested another video. With this one it worked.
It read all of the frames. So it seems that it does not like the videos
which I have. They are recorded with a Samsung mobile phone. info of the
"cwb3.avi" video:

>> aviinfo("cbw3.avi")
ans =

  scalar structure containing the fields:

    Filename = cbw3.avi
    FileSize =  837120
    FileModDate = 15-Jul-2018 19:38:52
    NumFrames =  250
    FramesPerSecond =  40
    Width =  256
    Height =  240
    ImageType = truecolor
    VideoCompression = indeo4
    Quality =  100
    NumColormapEntries = 0
    AudioFormat =
    AudioRate = 0
    NumAudioChannels = 0
    Title =
    Author =
    Comment =





--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html



reply via email to

[Prev in Thread] Current Thread [Next in Thread]