help-octave
[Top][All Lists]
Advanced

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

Re: octave video/avi crashes - anybody have similar experience?


From: Kenneth Johnson
Subject: Re: octave video/avi crashes - anybody have similar experience?
Date: Sun, 1 Aug 2010 14:47:03 -0700 (PDT)


THe installation was done by clicking the package setups during the installation of Octave so I didn't install the package separately.  It went without a hitch.  according to the pkg command it is installed and it does work about half the time.
 
THe OS is windows 7.
 
If you want a beta test of the package as you fix it let me know.  I will also look for the core dump and see about getting it posted.  The crash if pretty reliable and is definately due to running the little avi script I posted.  It appears that the crash occurs on existing the function - that is - If I sit inside the function at the end, say waiting for a key stroke, there is no crash.  When it exists there must be some kind of avi file clean up on exit that write the file header that causes the crash. 
 
A second symptom is that there is an AVI file out there - when trying to play it it complains about undefined file header stuff.  I could include one of those also.
 
I've got to think about becoming a developer again.............
 
v/r
Ken J.

--- On Sun, 8/1/10, Jordi Gutiérrez Hermoso <address@hidden> wrote:

From: Jordi Gutiérrez Hermoso <address@hidden>
Subject: Re: octave video/avi crashes - anybody have similar experience?
To: "Kenneth Johnson" <address@hidden>
Cc: "Octave-help" <address@hidden>
Date: Sunday, August 1, 2010, 10:54 AM

2010/8/1 Kenneth Johnson <address@hidden>

> I just installed the video package and that was all so if there is
> another component needed i didn't install it.

Alright, how did you install it? Did you do pkg install inside Octave
and it worked without a hitch? If so, you already have some version of
ffmpeg installed. Did you use a package manager instead? If so, which
one? What operating system are you using?

> How would I check this?

It depends on your operating system. On a Unix-like system, /usr/lib
or perhaps /usr/local/lib or perhaps /opt/somethingsomething on Mac OS
X should have something like libavutil.so; see if you can figure out
how that file got there.

I have no idea where it would be found on a Microsoft OS.

> As for c++ yes I've done alot but I haven't set up a compiler and
> build capability and not sure I have the time to do this - but I
> need the capability enough that I might.

That's good news. I'm trying to compile the video package myself and
already have problems with that alone. I'm using an svn checkout of
ffmpeg from 2010-06-03, so perhaps I should try with another revision
(and I really wish ffmpeg would get around to doing releases instead
of only making their svn repo available).

I'll consider spending more time getting the video package working,
but I already have several other Octave-related projects that are
crowding for my attention.

> What do I need to get to do this if I decide to go this route?

Well, you will need a development environment set up, probably some
version of gcc, since I expect it would be a signifcant amount of work
to setup a Microsoft compiler to compile the necessary things.

> Also - you mentioned the core dump - do I submit this somewhere?

If it's small after zipping it (under 100 kB, I think) you can just
post it on this mailing list. If it's large... you remind me about
another project I'm working on which I will refrain from advertising
this time, but perhaps you can use a file sharing site. I am not sure
if the core dump will have a stack trace, but it may have other things
that could be useful to debug the segfault.

HTH,
- Jordi G. H.

reply via email to

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