transform could not transform video/x-raw-yuv

Chuck Crisler ccrisler at mutualink.net
Fri Mar 21 10:59:05 PDT 2014


It seems like something in your caps must be causing the problem. First,
look again at gst-inspect for each of your elements. I guess that the
problem is with ffmpegcolorspace because the decoder should turn out I420.
You could confirm this by setting GST_DEBUG=*2,GST_ELEMENT_PAD=4 and maybe
something else (GST_ELEMENT=4?). It may be that, for the output you
specify, ffmpegcolorspace can't use the decoder output or (more likely)
just can't generate the requested output format period.


On Thu, Mar 20, 2014 at 9:58 AM, svyatko <svyatko at outlook.com> wrote:

> Hi Guys.
>
> I am trying to change the colorspace from video/x-raw-yuv to
> video/x-raw-rgb
> and output to xvimagesink (to begin with) and later to Snowmix. Currently I
> am getting the following error:
>
> basetransform
> gstbasetransform.c:1288:gst_base_transform_setcaps:<ffmpegcsp0> transform
> could not transform video/x-raw-yuv, width=(int)1024, height=(int)576,
> framerate=(fraction)25/1, format=(fourcc)I420, interlaced=(boolean)false,
> pixel-aspect-ratio=(fraction)1/1 in anything we support
>
> My source is a live SPTS RTP H264/AAC stream @ 1024x576 25FPS
> Command that works :
> GST_DEBUG=2 gst-launch-0.10 -v udpsrc port=1234 caps="application/x-rtp,
> media=(string)video, encoding-name=(string)MP2T" ! rtpmp2tdepay ! tsdemux !
> ffdec_h264 ! ffmpegcolorspace ! xvimagesink sync=false
>
> Command that doesn't :
> GST_DEBUG=2 gst-launch-0.10 -v udpsrc port=1234 caps="application/x-rtp,
> media=(string)video, encoding-name=(string)MP2T" ! rtpmp2tdepay ! tsdemux !
> ffdec_h264 ! ffmpegcolorspace ! video/x-raw-rgb, bpp=\(int\)32,
> depth=\(int\)32, endianness=\(int\)4321, format=\(fourcc\)BGRA,
> red_mask=\(int\)65280, green_mask=\(int\)16711680,
> blue_mask=\(int\)-16777216, width=\(int\)1024, height=\(int\)576,
> framerate=\(fraction\)25/1, pixel-aspect-ratio=\(fraction\)1/1,
> interlaced=\(boolean\)false ! xvimagesink sync=false
>
> any clues what I am doing wrong here? I am stuck for the past few days :-(
>
> Thanks
>
>
>
> --
> View this message in context:
> http://gstreamer-devel.966125.n4.nabble.com/transform-could-not-transform-video-x-raw-yuv-tp4666036.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140321/b1d76d89/attachment.html>


More information about the gstreamer-devel mailing list