Hi. Trying to convert a single raw image from BGRA to RGBA using the pipeline pipeline provides the error message in the subject and displayed below. Am I missing the point?gst-launch-1.0 -v filesrc location=./CS-1024x576.bgra do-timestamp=1 !\ video/x-raw,format=BGRA,width=1024,height=576,framerate=0/1 !\ videoconvert !\ video/x-raw,format=RGBA,width=1024,height=576,framerate=0/1 !\ fakesink 2>&1 |less Setting pipeline to PAUSED ... Pipeline is PREROLLING ... /GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = "video/x-raw\,\ format\=\(string\)BGRA\,\ width\=\(int\)1024\,\ height\=\(int\)576\,\ framerate\=\(fraction\)0/1" /GstPipeline:pipeline0/GstVideoConvert:videoconvert0.GstPad:src: caps = "video/x-raw\,\ width\=\(int\)1024\,\ height\=\(int\)576\,\ framerate\=\(fraction\)0/1\,\ format\=\(string\)RGBA" /GstPipeline:pipeline0/GstCapsFilter:capsfilter1.GstPad:src: caps = "video/x-raw\,\ width\=\(int\)1024\,\ height\=\(int\)576\,\ framerate\=\(fraction\)0/1\,\ format\=\(string\)RGBA" /GstPipeline:pipeline0/GstFakeSink:fakesink0.GstPad:sink: caps = "video/x-raw\,\ width\=\(int\)1024\,\ height\=\(int\)576\,\ framerate\=\(fraction\)0/1\,\ format\=\(string\)RGBA" /GstPipeline:pipeline0/GstCapsFilter:capsfilter1.GstPad:sink: caps = "video/x-raw\,\ width\=\(int\)1024\,\ height\=\(int\)576\,\ framerate\=\(fraction\)0/1\,\ format\=\(string\)RGBA" /GstPipeline:pipeline0/GstVideoConvert:videoconvert0.GstPad:sink: caps = "video/x-raw\,\ format\=\(string\)BGRA\,\ width\=\(int\)1024\,\ height\=\(int\)576\,\ framerate\=\(fraction\)0/1" WARNING: from element /GstPipeline:pipeline0/GstVideoConvert:videoconvert0: 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(292): GstFlowReturn gst_video_filter_transform(GstBaseTransform *, GstBuffer *, GstBuffer *) (): /GstPipeline:pipeline0/GstVideoConvert:videoconvert0: invalid video buffer received Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstSystemClock WARNING: from element /GstPipeline:pipeline0/GstVideoConvert:videoconvert0: 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(292): GstFlowReturn gst_video_filter_transform(GstBaseTransform *, GstBuffer *, GstBuffer *) (): /GstPipeline:pipeline0/GstVideoConvert:videoconvert0: invalid video buffer received WARNING: from element /GstPipeline:pipeline0/GstVideoConvert:videoconvert0: 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(292): GstFlowReturn gst_video_filter_transform(GstBaseTransform *, GstBuffer *, GstBuffer *) (): /GstPipeline:pipeline0/GstVideoConvert:videoconvert0: _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
On Tue, 2016-03-08 at 21:24 +0100, Peter Maersk-Moller wrote:
Hi Peter, > > Trying to convert a single raw image from BGRA to RGBA using the > pipeline pipeline provides the error message in the subject and > displayed below. Am I missing the point? > > gst-launch-1.0 -v filesrc location=./CS-1024x576.bgra do-timestamp=1 > !\ > video/x-raw,format=BGRA,width=1024,height=576,framerate=0/1 !\ > videoconvert !\ > video/x-raw,format=RGBA,width=1024,height=576,framerate=0/1 !\ > fakesink 2>&1 |less I think you want a (properly-configued) videoparse element here between filesrc and videoconvert and not a capsfilter, otherwise videoconvert will receive a buffer in the wrong size. The error message should probably be fixed if that's the case. 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 |
In reply to this post by Peter Maersk-Moller-2
Ahh yes, I was missing the point. Need to set blocksize for filesrc. Sorry. POn Tue, Mar 8, 2016 at 9:24 PM, Peter Maersk-Moller <[hidden email]> wrote:
_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |