Strange results while testing bayer plugin

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Strange results while testing bayer plugin

Anish Mangal
Hi,

I was experimenting with the the bayer plugin, and have some
'somewhat' strange results to show...

1. gst-launch -v videotestsrc num-buffers=1 ! video/x-raw-bayer !
bayer2rgb ! ffmpegcolorspace ! ffenc_ppm ! filesink location=test.ppm

This produces a crash...

Setting pipeline to PAUSED ...
/GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0.GstPad:src: caps
= video/x-raw-bayer, width=(int)320, height=(int)240,
framerate=(fraction)30/1
Pipeline is PREROLLING ...
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps =
video/x-raw-bayer, width=(int)320, height=(int)240,
framerate=(fraction)30/1
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps =
video/x-raw-bayer, width=(int)320, height=(int)240,
framerate=(fraction)30/1
Caught SIGSEGV accessing address (nil)
#0  0x00bfe416 in __kernel_vsyscall ()
#1  0x0092fdf6 in ?? ()
#2  0x00aa564c in ?? ()
#3  0x00a98044 in ?? ()
#4  0x00a987af in ?? ()
#5  0x06309e5b in ?? ()
#6  0x08049fd5 in ?? ()
#7  0x0804ba97 in ?? ()
#8  0x00873cc6 in ?? ()
#9  0x08049d71 in ?? ()
Spinning.  Please run 'gdb gst-launch 6050' to continue debugging,
Ctrl-C to quit, or Ctrl-\ to dump core.
^\Quit (core dumped)

2. gst-launch -v videotestsrc num-buffers=1 ! video/x-raw-rgb !
ffmpegcolorspace ! ffenc_ppm ! filesink location=test.ppm
produces [1], which is okay

3. gst-launch -v videotestsrc num-buffers=1 ! video/x-raw-rgb !
rgb2bayer ! bayer2rgb ! ffmpegcolorspace ! ffenc_ppm ! filesink
location=test2.ppm
produces [2], which is somewhat strange

These tests were done on a f13 box. I'm a gst noob, so don't know how
to debug much further.

[1] http://people.sugarlabs.org/anish/test.ppm
[2] http://people.sugarlabs.org/anish/test2.ppm

--
Anish Mangal
[hidden email]

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Strange results while testing bayer plugin

David Schleef-2
On Wed, Oct 13, 2010 at 05:16:50PM +0530, Anish Mangal wrote:
> Hi,
>
> I was experimenting with the the bayer plugin, and have some
> 'somewhat' strange results to show...
>
> 1. gst-launch -v videotestsrc num-buffers=1 ! video/x-raw-bayer !
> bayer2rgb ! ffmpegcolorspace ! ffenc_ppm ! filesink location=test.ppm
>
> This produces a crash...

As I recall, I fixed this during some recent bayer2rgb work.



David


------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel