[Top][All Lists]

[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 04:39:17 -0600 (CST)

Andreas Weber-6 wrote
> Am 07.01.19 um 11:05 schrieb pecenastruca:
>> I cloned it. But the install failed.
> After clone you have to cd to src, ./bootstrap && ./configure to create 
> the Makefile.
> In the toplevel directory you can run "make run" without installation.
>> error: ‘CODEC_CAP_TRUNCATED’ was not declared in
>> this
> I've used libav(util, format, and so on) 7:3.2.12-1~deb9u1
> It looks like your installed lib lacks CODEC_CAP_TRUNCATED?
> -- Andy

I ran ./bootstrap && ./configure, afterwards "make run" in the toplevel dir,
but still fails with the same output. 

I was using libav(and others) of version 7:4.1-1 from here (a backport to the
xenial ubuntu dist). I then tried the 7.3* from which are of
version         7:3.4.4-1.  I ran make install which seemed to work: 

address@hidden:~/ovid/octave-video$ make install
Creating package version 1.2.4 release ...
rm -rf video-1.2.4
hg archive --exclude ".hg*" --exclude Makefile --type files video-1.2.4
cd "video-1.2.4" && rm -rf "devel/" && cd "src/" && ./bootstrap && rm -rf
chmod -R a+rX,u+w,go-w video-1.2.4
tar cf - --posix video-1.2.4 | gzip -9n > video-1.2.4.tar.gz
rm -rf video-1.2.4
Installing package locally ...
octave --silent --eval 'pkg install video-1.2.4.tar.gz;' In member function ‘int AVHandler::read_frame(unsigned int)’: warning: comparison between signed and unsigned integer
expressions [-Wsign-com                                                         
   if ((uint64_t)vstream->start_time != AV_NOPTS_VALUE)
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);

Sent from:

reply via email to

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