help-octave
[Top][All Lists]
Advanced

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

Re: Video package not working


From: Nasreen P
Subject: Re: Video package not working
Date: Sun, 12 Apr 2015 12:09:55 +0530

Sir,
  I am not familiar as much with the octave and it is new to me,so I really confuses with the code you are sent.I am using ubuntu 14.04 version and octave 3.8.1.I am actually doing video color transferring with respect to a reference image.so I am converting the video in  to different frames,then copying the color of reference image to each frame.But the color transfer in the case of image is successful.But i can't do it for video.If you help me in coding in octave please inform and it will be very helpful for my education and future.If I put my system in team viewer ,may you help me in coding? waiting for you replay.

Thank you
Nasreen P

On Thu, Apr 9, 2015 at 10:43 PM, Andreas Weber <address@hidden> wrote:
On 09.04.2015 18:35, JohnD wrote:
Message: 4
Date: Thu, 9 Apr 2015 13:32:24 +0400
From: Nasreen P <address@hidden>
To: address@hidden
Subject: Video package not working
Message-ID:
        <CAGyJwVyyNhSR4XKXpY0cZCfy0TQHK-XdgvtbHgUzf-OoR8p-
+address@hidden>
Content-Type: text/plain; charset="utf-8"

Dear Developers,

I am working on my academic project and I want to convert the Matlab
project
in Ocatave. I tried to read the video in octave and it is showing error
always.
Libaavformat missing error.


It sounds like you are missing avformat library?
What version of octave are you using? What OS.

Is using the video package in octave, it appears in the unmaintained list,
which probably will mean that that the state of the package may not be good.

I tried to build the current video repository on Debian wheezy (stable) with one patch that remove the deprecated allocator:
diff -r 31b9a4c9ad97 src/oct-avifile.cc
--- a/src/oct-avifile.cc        Tue Sep 03 07:50:42 2013 -0400
+++ b/src/oct-avifile.cc        Thu Apr 09 19:11:34 2015 +0200
@@ -26,7 +26,6 @@
 #include <octave/oct.h>
 #include "oct-avifile.h"

-DEFINE_OCTAVE_ALLOCATOR(Avifile);
 DEFINE_OV_TYPEID_FUNCTIONS_AND_DATA(Avifile, "avifile", "avifile");

 Avifile::Avifile(std::string fn) : octave_base_value(),
diff -r 31b9a4c9ad97 src/oct-avifile.h
--- a/src/oct-avifile.h Tue Sep 03 07:50:42 2013 -0400
+++ b/src/oct-avifile.h Thu Apr 09 19:11:34 2015 +0200
@@ -57,7 +57,6 @@
   unsigned int frame_rows;
   unsigned int frame_columns;

-  DECLARE_OCTAVE_ALLOCATOR
   DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
 };
 #endif

hg clone http://hg.code.sf.net/p/octave/video octave-video
sudo apt-get install libavformat-dev libswscale-dev
cd octave-video/src
./bootstrap
./configure
make

After that the tests in addframe.cc:, avifile.cc, aviread.cc runs fine



reply via email to

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