Re: y4mdenoise version 4 beta 1 is checked in!
Bernhard Praschinger <[email protected]> Sun, 05 Sep 2010 07:35:52 +0200
| Newsgroups | gmane.comp.video.mjpeg.devel |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format.
--------------060304080002010001000501
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Hallo
Steven Boswell II wrote:
> Measured by lines of source-code modified, it was a really minor change,
> but measured by quality increase, it was a huge change! So I'm calling
> it "version 4 beta 1".
[...]
> For once, I have a day job that doesn't completely exhaust me, so I have
> some spare brainpower left over on weekend to do this. I'll let you know
> if I get anywhere with it!
I did test y4mdenoise with a Full Resolution PAL video. For some reason
y4mdenoise crashes every time after denoising up to 63 frames. The
process uses than about 1GB of ram (Is that normal ? I have 4GB of Ram)
I did that for creating a yuv file:
lav2yuv -f 66 jmj.eli >jmj_66.yuv
And than in GDB:
file .libs/y4mdenoise
set args </inbound/jmj/jmj_66.yuv >/dev/null
run
....
Frame 61: 0.0%+0.0%+0.0% not-moved, 98.2%+0.0% moved, 1.3%+0.4% new
Frame 62: 0.0%+51.8%+0.7% not-moved, 6.0%+6.4% moved, 20.9%+14.2% new
Frame 62: 0.0%+45.9%+0.8% not-moved, 8.7%+7.5% moved, 23.2%+13.9% new
Frame 62: 0.0%+99.7%+0.0% not-moved, 0.0%+0.0% moved, 0.0%+0.3% new
Frame 62: 0.0%+0.0%+0.0% not-moved, 99.1%+0.0% moved, 0.1%+0.8% new
**ERROR: [y4mdenoise] Could not denoise frame 63
**ERROR: [y4mdenoise] pthread_cond_destroy() failed: Device or resource busy
**ERROR: [y4mdenoise] pthread_cond_destroy() failed: Device or resource busy
Program received signal SIGSEGV, Segmentation fault.
SearchWindow<unsigned char, 2, int, short, int, 2, 2, unsigned short,
Pixel<unsigned char, 2, int>, ReferencePixel<unsigned short, unsigned
char, 2, Pixel<unsigned char, 2, int> >,
ReferenceFrame<ReferencePixel<unsigned short, unsigned char, 2,
Pixel<unsigned char, 2, int> >, short, int> >::~SearchWindow (
this=0x62a6c8, __in_chrg=<value optimized out>) at SearchWindow.hh:503
503 }
You find the backtrace in the attached txt file.
It also crashes I add the -p 0 option. Adding the -v 2 does not provide
more information.
I use it on a 64bit system with OpenSuse 11.3.
Do you have any idea what is going wrong ?
auf hoffentlich bald,
Berni the Chaos of Woodquarter
Email: [email protected]
www: http://www.lysator.liu.se/~gz/bernhard
--------------060304080002010001000501
Content-Type: text/plain;
name="y4mdenoise.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="y4mdenoise.txt"
(gdb) bt
#0 SearchWindow<unsigned char, 2, int, short, int, 2, 2, unsigned short, Pixel<unsigned char, 2, int>, ReferencePixel<unsigned short, unsigned char, 2, Pixel<unsigned char, 2, int> >, ReferenceFrame<ReferencePixel<unsigned short, unsigned char, 2, Pixel<unsigned char, 2, int> >, short, int> >::~SearchWindow (
this=0x62a6c8, __in_chrg=<value optimized out>) at SearchWindow.hh:503
#1 0x000000000041bf63 in MotionSearcher<unsigned char, 2, int, short, int, 2, 2, unsigned short, Pixel<unsigned char, 2, int>, ReferencePixel<unsigned short, unsigned char, 2, Pixel<unsigned char, 2, int> >, ReferenceFrame<ReferencePixel<unsigned short, unsigned char, 2, Pixel<unsigned char, 2, int> >, short, int> >::~MotionSearcher (this=0x62a440, __in_chrg=<value optimized out>)
at MotionSearcher.hh:756
#2 0x00007ffff6f0d4e1 in __run_exit_handlers () from /lib64/libc.so.6
#3 0x00007ffff6f0d535 in exit () from /lib64/libc.so.6
#4 0x00007ffff7bd129f in mjpeg_error_exit1 (format=<value optimized out>)
at mjpeg_logging.c:219
#5 0x0000000000407311 in ~ThreadCondition (this=0x62b660,
__in_chrg=<value optimized out>) at newdenoise.cc:1709
#6 ~BasicThread (this=0x62b660, __in_chrg=<value optimized out>)
at newdenoise.cc:1816
#7 ReadWriteThread::~ReadWriteThread (this=0x62b660,
__in_chrg=<value optimized out>) at newdenoise.cc:2415
#8 0x00007ffff6f0d4e1 in __run_exit_handlers () from /lib64/libc.so.6
#9 0x00007ffff6f0d535 in exit () from /lib64/libc.so.6
#10 0x00007ffff7bd129f in mjpeg_error_exit1 (format=<value optimized out>)
at mjpeg_logging.c:219
#11 0x00000000004072ee in ~ThreadCondition (this=0x62b760,
__in_chrg=<value optimized out>) at newdenoise.cc:1709
#12 ~BasicThread (this=0x62b760, __in_chrg=<value optimized out>)
at newdenoise.cc:1816
#13 ReadWriteThread::~ReadWriteThread (this=0x62b760,
---Type <return> to continue, or q <return> to quit---
__in_chrg=<value optimized out>) at newdenoise.cc:2415
#14 0x00007ffff6f0d4e1 in __run_exit_handlers () from /lib64/libc.so.6
#15 0x00007ffff6f0d535 in exit () from /lib64/libc.so.6
#16 0x00007ffff7bd129f in mjpeg_error_exit1 (format=<value optimized out>)
at mjpeg_logging.c:219
#17 0x00000000004023eb in main (argc=<value optimized out>,
argv=<value optimized out>) at main.c:223
--------------060304080002010001000501
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:
Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
--------------060304080002010001000501
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Mjpeg-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mjpeg-developer
--------------060304080002010001000501--