matthiasbock / gstreamer-phone

gstreamer based SIP console videophone, designed especially for the Raspberry Pi
54 stars 9 forks source link

Raspberry Pi hangs running gstreamer, filesystem corrupted #3

Closed matthiasbock closed 11 years ago

matthiasbock commented 11 years ago
$ gst-launch-0.10 -v uvch264_src name=src device=/dev/video0 auto-start=true ! 'video/x-h264,width=640,height=480,framerate=5/1,profile=constrained-baseline' ! rtph264pay ! udpsink host=192.168.2.112 port=9078
Setting pipeline to PAUSED ...

(gst-launch-0.10:3033): GLib-GObject-WARNING **: /build/glib2.0-AWe8Zn/glib2.0-2.33.12+really2.32.4/./gobject/gsignal.c:2459: signal `prepare-format' is invalid for instance `0x55c250'
/GstPipeline:pipeline0/GstUvcH264Src:src/GstV4l2Src:v4l2src0: num-buffers = -1
/GstPipeline:pipeline0/GstUvcH264Src:src/GstV4l2Src:v4l2src0: device = "/dev/video0"
/GstPipeline:pipeline0/GstUvcH264Src:src/GstV4l2Src:v4l2src0: num-buffers = -1
/GstPipeline:pipeline0/GstUvcH264Src:src/GstV4l2Src:v4l2src0: device = "/dev/video0"
/GstPipeline:pipeline0/GstUvcH264Src:src: ready-for-capture = FALSE
/GstPipeline:pipeline0/GstUvcH264Src:src/GstV4l2Src:v4l2src0: num-buffers = -1
/GstPipeline:pipeline0/GstUvcH264Src:src/GstV4l2Src:v4l2src0: device = "/dev/video0"
/GstPipeline:pipeline0/GstUvcH264Src:src/GstCapsFilter:capsfilter1: caps = video/x-h264, width=(int)640, height=(int)480, framerate=(fraction)5/1, profile=(string)constrained-baseline

(gst-launch-0.10:3033): GLib-GObject-WARNING **: /build/glib2.0-AWe8Zn/glib2.0-2.33.12+really2.32.4/./gobject/gsignal.c:2459: signal `prepare-format' is invalid for instance `0x55c490'
/GstPipeline:pipeline0/GstUvcH264Src:src/GstV4l2Src:v4l2src1: num-buffers = -1
/GstPipeline:pipeline0/GstUvcH264Src:src/GstV4l2Src:v4l2src1: device = "/dev/video0"
/GstPipeline:pipeline0/GstUvcH264Src:src.GstGhostPad:vfsrc: caps = video/x-raw-yuv, format=(fourcc)YUY2, width=(int)2304, height=(int)1536, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)2/1
/GstPipeline:pipeline0/GstUvcH264Src:src/GstV4l2Src:v4l2src1.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)YUY2, width=(int)2304, height=(int)1536, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)2/1
/GstPipeline:pipeline0/GstUvcH264Src:src: ready-for-capture = TRUE
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Timeout, server RaspberryPi not responding.
matthiasbock commented 11 years ago

Probably hung, because not all tree UVC H246 source pads are connected to a sink (vfsrc,vidsrc,imgsrc), especially since the default vfsrc resolution seems to be 2304x1536, which may be too much for the Raspberry Pi to process. I'm not even sure, the camera supports that high resolution. Maybe also related to the Raspberry Pi overclocking, anyway I have to setup an entirely new system ...

matthiasbock commented 11 years ago

Since I reduced overclocking to 950MHz the problem does not occur anymore.