Re: [Mjpeg-users] y4mstabilizer segmentation fault

2009-06-04 Thread Mark Heath

On 04/06/2009, at 4:04 PM, Richard Archer wrote:
>
> As it turns out, this tool doesn't do what I wanted it
> to anyway.

Does what you want it to do be a suitable extension to the tool.

I was about to pick up the code and debug it, however if you've found  
that increasing the buffer size fixes the bug, then it's probably not  
as urgent.

I need a video project to take my mind off work.

>
> And @Mark Heath... I had seen your tools before, and I
> will have another look at them in future. You have some
> really interesting code there, and with a bit of
> cleaning up and packaging it could be a great supplement
> to mjpegtools.

Thanks for the feed back.

I've got no idea about writing a proper configure script and build  
system for them or if they are useful to anyone.

If you have any ideas for a video filter I'd be interested to hear of  
them.

Mark

--
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


[Mjpeg-users] build failure on MacOS 10.5.7

2009-06-04 Thread Christian Ebert
Hi,

With latest CVS mjpegtools do not build anymore here:

[...]
Making all in y4mdenoise
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/local/include -I../utils   -DNDEBUG 
-finline-functions -mdynamic-no-pic -march=nocona -mtune=nocona -g -O2 
-I/sw/include -no-cpp-precomp -D_THREAD_SAFE  -Wall -Wunused -MT main.o -MD -MP 
-MF .deps/main.Tpo -c -o main.o main.c
mv -f .deps/main.Tpo .deps/main.Po
g++-4.0 -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/local/include -I../utils   
-DNDEBUG -finline-functions -mdynamic-no-pic -march=nocona -mtune=nocona -g -O2 
-I/sw/include -D_THREAD_SAFE   -MT newdenoise.o -MD -MP -MF 
.deps/newdenoise.Tpo -c -o newdenoise.o newdenoise.cc
mv -f .deps/newdenoise.Tpo .deps/newdenoise.Po
/bin/sh ../libtool --tag=CXX   --mode=link g++-4.0 -DNDEBUG -finline-functions 
-mdynamic-no-pic -march=nocona -mtune=nocona -g -O2 -I/sw/include 
-D_THREAD_SAFE-L/usr/local/lib -L/sw/lib -o y4mdenoise main.o newdenoise.o 
../utils/libmjpegutils.la  -lm
libtool: link: g++-4.0 -DNDEBUG -finline-functions -mdynamic-no-pic 
-march=nocona -mtune=nocona -g -O2 -I/sw/include -D_THREAD_SAFE -o 
.libs/y4mdenoise main.o newdenoise.o  -L/usr/local/lib -L/sw/lib 
../utils/.libs/libmjpegutils.dylib -lm
Undefined symbols:
  "void BitmapRegion2D::Subtract 
>(Status_t&, BitmapRegion2D const&)", referenced from:
  void BitmapRegion2D::MakeBorder 
>(Status_t&, BitmapRegion2D const&)in newdenoise.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [y4mdenoise] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


Any thoughts?

c
-- 
  Was heißt hier Dogma, ich bin Underdogma!
[ What the hell do you mean dogma, I am underdogma. ]
_F R E E_  _V I D E O S_  http://www.blacktrash.org/underdogma/
  http://www.blacktrash.org/underdogma/index-en.html

--
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] mplex fail......

2009-06-04 Thread Bernhard Praschinger
Hallo

>> I tried to run mplex in gdb mode and do backtrace, but this was my first
>> time using 'gdb' - Is this enough?
>>
>> gdb --args mplex -f 8 -S 0 -M -o test.mpeg2 test.m2v test_EN.m2a 
>> GNU gdb 6.8-debian
>> Copyright (C) 2008 Free Software Foundation, Inc.
[...]
>> Program received signal SIGILL, Illegal instruction.
>> [Switching to Thread 0xb7d746d0 (LWP 18438)]
>> 0xb8030efa in MPAStream::Init () from /usr/lib/libmplex2-1.9.so.0
>> (gdb) backtrace
>> #0  0xb8030efa in MPAStream::Init () from /usr/lib/libmplex2-1.9.so.0
>> #1  0xb8034965 in Multiplexor::InitInputStreamsForVideo () from
>> /usr/lib/libmplex2-1.9.so.0
>> #2  0xb80350e1 in Multiplexor::InitInputStreams () from
>> /usr/lib/libmplex2-1.9.so.0
>> #3  0xb80352b0 in Multiplexor::Multiplexor () from
>> /usr/lib/libmplex2-1.9.so.0
>> #4  0x0804a52c in ?? ()
>> #5  0xb7d8b775 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
>> #6  0x08049451 in ?? ()
>> (gdb)
Nothing to obvious.


> Hello again!
> I found some information about problems with binary package of mjpegtools in
> ubuntu 9.04 on amd architecture:
> https://bugs.launchpad.net/ubuntu/+source/mjpegtools/+bug/351017
> Then I downloaded the source of mjpegtools 1.9.0 and I compiled and
> installed the program.
> And now when I use the own-compiled version of mplex I have no errors...
> So thank you for your help, I think this is not already problem for this
> forum...
Compiling from source would have been the next suggestion. Seems that I 
need to creccomend that earlier.

 From what I have read in the link you posted it seems to be a problem 
when they have built the package.

It would be interesting if the RPM Package on SF has the same problem.
I just wrote the note on the site you have mentioned.

auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: shadowl...@utanet.at
www: http://www.lysator.liu.se/~gz/bernhard

--
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] y4mstabilizer segmentation fault

2009-06-04 Thread Dan Scholnik
On Thu, 2009-06-04 at 16:04 +1000, Richard Archer wrote:
> At 3:41 PM +0200 3/6/09, Hervé wrote:
> 
> >hello, I'm not developper but it could not be a buffer concern? (it's
> >just an idea)
> 
> Following this hint, I doubled the buffer sizes allocated
> by y4mstabilizer and it now works! I have no idea how much
> overkill this solution is... for all I know it may have
> been an off-by-one error. But this patch (below) got it
> working for me.

I don't know if it's the same issue, but several years ago I was getting
segfaults with y4mstabilizer that seemed related to how big the
correction shift was (how far the image wandered in the frame).  I think
only very large shifts caused problems (my video was handheld while
running.)  I lost interest before I could track the bug down, but I
always assumed that it was inadvertently addressing outside the buffer
in that case.

Dan


--
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


[Mjpeg-users] y4mdenoise (was Re: build failure on MacOS 10.5.7)

2009-06-04 Thread Steven Boswell II
Whoops!  That was an integration error.  I just checked in the fix.  Sorry 
about that!

For those of you that aren't subscribed to the mjpeg-developer list, I've been 
doing heavy development of y4mdenoise lately, I've finally found a practical 
implementation of my original idea, and it's faster than it's ever been.  For 
those of you keeping up with latest CVS, check it out!

Steven Boswell

--- On Thu, 6/4/09, Christian Ebert  wrote:

From: Christian Ebert 
Subject: [Mjpeg-users] build failure on MacOS 10.5.7
To: mjpeg-users@lists.sourceforge.net
Date: Thursday, June 4, 2009, 10:32 AM

Hi,

With latest CVS mjpegtools do not build anymore here:

[...]
Making all in y4mdenoise
[...]
Undefined symbols:
  "void BitmapRegion2D::Subtract 
>(Status_t&, BitmapRegion2D const&)", referenced from:
      void BitmapRegion2D::MakeBorder 
>(Status_t&, BitmapRegion2D const&)in newdenoise.o



  --
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] y4mdenoise (was Re: build failure on MacOS 10.5.7)

2009-06-04 Thread Hervé

Le 4 juin 09 à 21:26, Steven Boswell II a écrit :

> Whoops!  That was an integration error.  I just checked in the fix.   
> Sorry about that!
>
> For those of you that aren't subscribed to the mjpeg-developer list,  
> I've been doing heavy development of y4mdenoise lately, I've finally  
> found a practical implementation of my original idea, and it's  
> faster than it's ever been.  For those of you keeping up with latest  
> CVS, check it out!

could give some tips?

I downloaded cvs, I made
cd …
./autogen.sh

->
configure.ac:276: warning: macro `AM_PATH_SDL' not found in library
configure.ac:276: warning: macro `AM_PATH_SDL' not found in library
configure.ac:96: error: possibly undefined macro: AC_DEFINE
   If this token and others are legitimate, please use  
m4_pattern_allow.
   See the Autoconf documentation.
configure.ac:276: error: possibly undefined macro: AM_PATH_SDL
autoreconf: /usr/bin/autoconf failed with exit status: 1

so, I download and install SDL-1.2.13 (I thought that my current  
version was maybe too old?!)
but I have the same error

do you have a "how to" compile from cvs?
thanks :-)

Hervé
--
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] y4mdenoise (was Re: build failure on MacOS 10.5.7)

2009-06-04 Thread Christian Ebert
* Steven Boswell II on Thursday, June 04, 2009 at 12:26:15 -0700
> Whoops!  That was an integration error.  I just checked in the
> fix.  Sorry about that!

No prob. Builds fine now. Thanks.

c
-- 
\black\trash movie_C O W B O Y_  _C A N O E_  _C O M A_
Ein deutscher Western/A German Western
-->> http://www.blacktrash.org/underdogma/ccc.html
-->> http://www.blacktrash.org/underdogma/ccc-en.html

--
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


[Mjpeg-users] Building from CVS (was Re: y4mdenoise)

2009-06-04 Thread Steven Boswell II
I wish I could help you...maybe one of the developers that knows our build 
system better could help?

I'm running Fedora Core 9 and have the following SDL-related packages installed:

SDL-1.2.13-3.fc9.i386
SDL_gfx-devel-2.0.16-5.fc9.i386
SDL_gfx-2.0.16-5.fc9.i386
SDL_image-1.2.6-6.fc9.i386
SDL-devel-1.2.13-3.fc9.i386

Dunno if any of them are significant.

Steven Boswell

--- On Thu, 6/4/09, Hervé  wrote:
Le 4 juin 09 à 21:26, Steven Boswell II a écrit :

> For those of you keeping up with latest  
> CVS, check it out!

could give some tips?

I downloaded cvs, I made
cd …
./autogen.sh

->
configure.ac:276: warning: macro `AM_PATH_SDL' not found in library
configure.ac:276: warning: macro `AM_PATH_SDL' not found in library
configure.ac:96: error: possibly undefined macro: AC_DEFINE
       If this token and others are legitimate, please use  
m4_pattern_allow.
       See the Autoconf documentation.
configure.ac:276: error: possibly undefined macro: AM_PATH_SDL
autoreconf: /usr/bin/autoconf failed with exit status: 1

so, I download and install SDL-1.2.13 (I thought that my current  
version was maybe too old?!)
but I have the same error

do you have a "how to" compile from cvs?
thanks :-)



  --
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users