Hi,<div>&lt;Newbie Warning - Question could sound lame&gt;</div><div>I&#39;ve an application which selectively decodes iFrames in a video (mpeg4 only for now) and hence I use ffdec_mpeg4 in the pipeline. The output I get is in YUV format and I need to convert it to RGB so I can build a QPixmap (Qt image representation class) from it.</div>
<div><br></div><div>How do I do that?</div><div><br></div><div>I tried - setting the caps as &quot;video/x-raw-rgb&quot; for the src pad of decoder but that didn&#39;t work. Also I tried putting a capsfilter with caps = &quot;video/x-raw-rgb&quot; and followed by a ffmpegcolorspace element but that didn&#39;t quite work. I don&#39;t want to set other structures such as width height depth etc since that could vary from video to video.</div>
<div><br></div><div>PS - I could just write my own yuv-&gt;rgb routine but want to check if this can be done in the pipeline itself.</div><div><br></div><div>Thanks</div><div>Rohit</div>