I am using a webcam with ubuntu linux development board. I want to transmit live video from webcam to android devices. For this I am using the gstreamer pipeline.
Following is the pipeline. gst-launch v4l2src ! ffmpegcolorspace ! video/x-raw-yuv,width=320,height=240, framerate=\(fraction\)30/1 ! jpegenc ! tcpserversink host=192.168.1.91 port=5000 sync=false I am able to live stream video to android device. But with above pipeline, I am getting following error after some time. Error From element v4l2src: Internal data flow error. Additional debug info:gstbasesrc.c(2625) gst_base_src_loop (): /GstPipeline:pipeline0/GstV4lSrc:v4l2src0: Streaming Task Paused, reason error (-5) Could you please help me with this? Thanks |
Le mercredi 30 novembre 2016 à 00:54 -0800, srd a écrit :
> I am using a webcam with ubuntu linux development board. I want to > transmit > live video from webcam to android devices. For this I am using the > gstreamer > pipeline. > Following is the pipeline. > > gst-launch v4l2src ! ffmpegcolorspace ! > video/x-raw-yuv,width=320,height=240, > framerate=\(fraction\)30/1 ! jpegenc ! tcpserversink > host=192.168.1.91 > port=5000 sync=false > > I am able to live stream video to android device. But with above > pipeline, I > am getting following error after some time. > Error From element v4l2src: Internal data flow error. > Additional debug info:gstbasesrc.c(2625) gst_base_src_loop (): > /GstPipeline:pipeline0/GstV4lSrc:v4l2src0: > Streaming Task Paused, reason error (-5) > > Could you please help me with this? We no longer support GStreamer 0.10. This could easily be a bug that will never be fixed due to the 0.10 branch being closed for commit. It is recommended to move forward with GStreamer 1.0, in which case, if you have the same issue we will be interested in helping you. best regards, Nicolas _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
I tried to use gstreamer-1.0 and converted the stream to like below
gst-launch-1.0 v4l2src ! video/x-raw,width=320,height=240,framerate=\(fraction\)30/1 ! jpegenc ! tcpserversink host=192.168.1.91 port=5000 sync=false but the streaming is not starting. Please give me proper pipeline for the gstreamer-1.0. Thanks |
Hi all,
I am using a webcam with ubuntu linux development board. I want to transmit live video from USB webcam to android devices. For this I am using the gstreamer 1.0 pipeline. Following is the pipeline. gst-launch-1.0 v4l2src ! videorate ! video/x-raw,width=320,height=240, framerate=\(fraction\)25/1 ! jpegenc ! tcpserversink host=192.168.1.91 port=5000 sync=false I am able to live stream video to android device. But with above pipeline, I am getting following error after some time. (gst-launch-1.0:1423): Glib-ERROR ***: /build/glib2.0-tTvduh/glib2.0-2.42.1/./glib/gem.c:103: failed to allocate 153686 bytes Could you please help me with this? Thanks |
Le lundi 02 janvier 2017 à 23:41 -0800, srd a écrit :
> I am using a webcam with ubuntu linux development board. I want to > transmit > live video from USB webcam to android devices. For this I am using > the > gstreamer 1.0 pipeline. > Following is the pipeline. > > gst-launch-1.0 v4l2src ! videorate ! video/x- > raw,width=320,height=240, > framerate=\(fraction\)25/1 ! jpegenc ! tcpserversink > host=192.168.1.91 > port=5000 sync=false > > I am able to live stream video to android device. But with above > pipeline, I > am getting following error after some time. > (gst-launch-1.0:1423): Glib-ERROR ***: > /build/glib2.0-tTvduh/glib2.0-2.42.1/./glib/gem.c:103: failed to > allocate > 153686 bytes > > Could you please help me with this? memory usage. Nicolas _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel signature.asc (188 bytes) Download Attachment |
Thanks for the reply.
I have checked the usage with top command. Continuously VIRT and RES are increasing. After some time gstreamer closes automatically. What can be done to avoid this kind of memory leakage? Thanks |
Free forum by Nabble | Edit this page |