gstreamer mjpeg encoding don't work

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

gstreamer mjpeg encoding don't work

kingalione
Hello I'm trying to stream a livestream to my iPhone via gstreamer.

My Pipeline on server side looks like this:

sudo gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,width=3072,height=2048,framerate=15/1 ! videoconvert ! videoscale ! video/x-raw,width=600,height=400 ! jpegenc ! rtpjpegpay ! udpsink host=192.168.178.92 port=5000

Where 192.168.178.92 is the IP of the iPhone. But somehow I'm always getting this error here:

WARNING: from element /GstPipeline:pipeline0/GstVideoScale:videoscale0: Internal GStreamer error: code not implemented. Please file a bug at http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer. Additional debug info: gstvideofilter.c(291): gst_video_filter_transform (): /GstPipeline:pipeline0/GstVideoScale:videoscale0: invalid video buffer received

So what is the problem here? I've oriented myself to this tutorial here: http://www.einarsundgren.se/gstreamer-basic-real-time-streaming-tutorial/
Reply | Threaded
Open this post in threaded view
|

Re: gstreamer mjpeg encoding don't work

Tim Müller
On Wed, 2016-12-07 at 02:53 -0800, kingalione wrote:

Hi,

> My Pipeline on server side looks like this:
>
> sudo gst-launch-1.0 v4l2src device=/dev/video0 !
> video/x-raw,width=3072,height=2048,framerate=15/1 ! videoconvert !
> videoscale ! video/x-raw,width=600,height=400 ! jpegenc ! rtpjpegpay
> ! udpsink host=192.168.178.92 port=5000
>
> ... But somehow I'm alway getting this error here:
>
> WARNING: from element
> /GstPipeline:pipeline0/GstVideoScale:videoscale0:
> Internal GStreamer error: code not implemented. Please file a bug at
> http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer. Additional
> debug
> info: gstvideofilter.c(291): gst_video_filter_transform ():
> /GstPipeline:pipeline0/GstVideoScale:videoscale0: invalid video
> buffer received
>
> So what is the problem here?

This looks like a bug in some element or video4linux driver somewhere. 

Please could you file a bug in bugzilla?

We'll probably need a GST_DEBUG=*:6 log as well.

Cheers
 -Tim



--
Tim Müller, Centricular Ltd - http://www.centricular.com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel