[gst-devel] Strange results while testing bayer plugin

Anish Mangal anishmangal2002 at gmail.com
Wed Oct 13 13:46:50 CEST 2010


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
anish at sugarlabs.org




More information about the gstreamer-devel mailing list