Glib error: Failed to allocate 153686 bytes

classic Classic list List threaded Threaded
1 message Options
srd
Reply | Threaded
Open this post in threaded view
|

Glib error: Failed to allocate 153686 bytes

srd
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