[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:05:51 -0600 (CST) |
Thank you for the swift reply!
Andreas Weber-6 wrote
> Hi Pecena?
>
> Am 05.01.19 um 13:24 schrieb pecenastruca:
>> The problems:
>
> You should report bugs to the bugtracker so that it isn't lost.
>
>>>> aviread("dge.mp4",471)
>> AVHandler: Error reading packet after timestamp 0
>
> Your used codec uses AV_CODEC_CAP_DELAY, see
> https://libav.org/documentation/doxygen/master/group__lavc__core.html#ga3f55f5bcfbb12e06c7cb1195028855e6
>
> this isn't handled yet. Can you provide a patch to implement this?
>
> Thank you, Andy
I'm sorry, but I am not capable for implementing a patch for this.
Andreas Weber-6 wrote
> Am 06.01.19 um 20:14 schrieb Andreas Weber:
>> Hi Pecena?
>>
>> Am 05.01.19 um 13:24 schrieb pecenastruca:
>>> The problems:
>>
>> You should report bugs to the bugtracker so that it isn't lost.
>>
>>>>> aviread("dge.mp4",471)
>>> AVHandler: Error reading packet after timestamp 0
>>
>> Your used codec uses AV_CODEC_CAP_DELAY, see
>> https://libav.org/documentation/doxygen/master/group__lavc__core.html#ga3f55f5bcfbb12e06c7cb1195028855e6
>>
>>
>>
>> this isn't handled yet. Can you provide a patch to implement this?
>>
>> Thank you, Andy
>>
>>
>
> I pushed a change here:
> https://sourceforge.net/p/octave/video/ci/default/tree/
>
> can you clone the repo and try it?
>
> -- Thanks, Andy
I cloned it. But the install failed. I compiled the package with "make dist"
to provide a package. I then installed it in octave via pkg install. I am
not sure what the install error is giving me. I tried to run "make install"
which I am speculating the same as running pkg install inside Octave? I get
the same error. I get the following error:
>> pkg install video-1.2.4.tar.gz
AVHandler.cc: In member function ‘int AVHandler::setup_read()’:
AVHandler.cc:246:29: error: ‘CODEC_CAP_TRUNCATED’ was not declared in this
scope
if (codec->capabilities & CODEC_CAP_TRUNCATED)
^
AVHandler.cc:247:30: error: ‘CODEC_FLAG_TRUNCATED’ was not declared in this
scope
vstream->codec->flags |= CODEC_FLAG_TRUNCATED;
^
AVHandler.cc: In member function ‘int AVHandler::read_frame(unsigned int)’:
AVHandler.cc:361:37: warning: comparison between signed and unsigned integer
expressions [-Wsign-compare]
if ((uint64_t)vstream->start_time != AV_NOPTS_VALUE)
^
AVHandler.cc:441:74: error: ‘CODEC_CAP_DELAY’ was not declared in this scope
if (avcodec_find_decoder(vstream->codec->codec_id)->capabilities &
CODEC_CAP_DELAY)
^
make: *** [AVHandler.o] Error 1
make: Entering directory '/tmp/oct-zJ7qYu/video-1.2.4/src'
/usr/bin/mkoctfile -Wall -v -Wno-deprecated-declarations -c -DHAVE_CONFIG_H
AVHandler.cc -o AVHandler.o
g++ -std=gnu++11 -c -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC
-I/usr/include/octave-4.2.2/octave/.. -I/usr/include/octave-4.2.2/octave
-I/usr/include/hdf5/serial -I/usr/include/mpi -pthread -fopenmp -g -O2
-fstack-protector-strong -Wformat -Werror=format-security -Wall
-Wno-deprecated-declarations -DHAVE_CONFIG_H AVHandler.cc -o AVHandler.o
Makefile:17: recipe for target 'AVHandler.o' failed
make: Leaving directory '/tmp/oct-zJ7qYu/video-1.2.4/src'
pkg: error running `make' for the video package.
error: called from
configure_make at line 95 column 9
install at line 194 column 7
pkg at line 394 column 9
--
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 <=
- 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, 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