[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.
>
>> AVHandler.cc:246:29: 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
https://launchpad.net/~jonathonf/+archive/ubuntu/ffmpeg-4 (a backport to the
xenial ubuntu dist). I then tried the 7.3* from
https://launchpad.net/~jonathonf/+archive/ubuntu/ffmpeg-3 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
"autom4te.cache"
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;'
AVHandler.cc: In member function ‘int AVHandler::read_frame(unsigned int)’:
AVHandler.cc:361:37: warning: comparison between signed and unsigned integer
expressions [-Wsign-com
pare]
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: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html
- Aviread not reading frames correctly from video, repeates key frames, pecenastruca, 2019/01/05
- Aviread not reading frames correctly from video, repeates key frames, pecenastruca, 2019/01/05
- Re: Aviread not reading frames correctly from video, repeates key frames, Andreas Weber, 2019/01/06
- Re: Aviread not reading frames correctly from video, repeates key frames, Andreas Weber, 2019/01/06
- Re: Aviread not reading frames correctly from video, repeates key frames, Amol Ghaware, 2019/01/07
- Re: Aviread not reading frames correctly from video, repeates key frames, pecenastruca, 2019/01/07
- Re: Aviread not reading frames correctly from video, repeates key frames, Andreas Weber, 2019/01/07
- Re: Aviread not reading frames correctly from video, repeates key frames,
pecenastruca <=
- Re: Aviread not reading frames correctly from video, repeates key frames, Andreas Weber, 2019/01/07
- Re: Aviread not reading frames correctly from video, repeates key frames, pecenastruca, 2019/01/07
- Re: Aviread not reading frames correctly from video, repeates key frames, pecenastruca, 2019/01/08
- Re: Aviread not reading frames correctly from video, repeates key frames, Andreas Weber, 2019/01/08