<div dir="ltr">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.<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Mar 20, 2014 at 9:58 AM, svyatko <span dir="ltr"><<a href="mailto:svyatko@outlook.com" target="_blank">svyatko@outlook.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">Hi Guys.<br>
<br>
I am trying to change the colorspace from video/x-raw-yuv to video/x-raw-rgb<br>
and output to xvimagesink (to begin with) and later to Snowmix. Currently I<br>
am getting the following error:<br>
<br>
</div><div class="">basetransform<br>
gstbasetransform.c:1288:gst_base_transform_setcaps:<ffmpegcsp0> transform<br>
could not transform video/x-raw-yuv, width=(int)1024, height=(int)576,<br>
framerate=(fraction)25/1, format=(fourcc)I420, interlaced=(boolean)false,<br>
pixel-aspect-ratio=(fraction)1/1 in anything we support<br>
<br>
</div><div class="">My source is a live SPTS RTP H264/AAC stream @ 1024x576 25FPS<br>
</div>Command that works :<br>
<div class="">GST_DEBUG=2 gst-launch-0.10 -v udpsrc port=1234 caps="application/x-rtp,<br>
media=(string)video, encoding-name=(string)MP2T" ! rtpmp2tdepay ! tsdemux !<br>
ffdec_h264 ! ffmpegcolorspace ! xvimagesink sync=false<br>
<br>
</div>Command that doesn't :<br>
<div class="">GST_DEBUG=2 gst-launch-0.10 -v udpsrc port=1234 caps="application/x-rtp,<br>
media=(string)video, encoding-name=(string)MP2T" ! rtpmp2tdepay ! tsdemux !<br>
ffdec_h264 ! ffmpegcolorspace ! video/x-raw-rgb, bpp=\(int\)32,<br>
depth=\(int\)32, endianness=\(int\)4321, format=\(fourcc\)BGRA,<br>
red_mask=\(int\)65280, green_mask=\(int\)16711680,<br>
blue_mask=\(int\)-16777216, width=\(int\)1024, height=\(int\)576,<br>
framerate=\(fraction\)25/1, pixel-aspect-ratio=\(fraction\)1/1,<br>
interlaced=\(boolean\)false ! xvimagesink sync=false<br>
<br>
any clues what I am doing wrong here? I am stuck for the past few days :-(<br>
<br>
Thanks<br>
<br>
<br>
<br>
--<br>
</div>View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/transform-could-not-transform-video-x-raw-yuv-tp4666036.html" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/transform-could-not-transform-video-x-raw-yuv-tp4666036.html</a><br>
<div class="HOEnZb"><div class="h5">Sent from the GStreamer-devel mailing list archive at Nabble.com.<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</div></div></blockquote></div><br></div>