<meta http-equiv="Content-Type" content="text/html; charset=GB18030"><div>hi, all</div><div>    I want to use gstreamer OpenGL plugin to do some video format change, I can get the right result when yuv<-->RGB£¬like</div><div><span style="font-size: 14px;">gst-launch-1.0 filesrc location=./video_play/container_cif.yuv do-timestamp=true blocksize=152064 ! video/x-raw, format=I420,width=352, height=288, framerate=25/1 !  glupload ! glcolorscale ! glcolorconvert ! video/x-raw\(memory:GLMemory\),format=RGB,width=320, height=240 ! gldownload ! filesink location=test.yuv sync=false</span></div><div><span style="font-size: 14px;">   </span></div><div><span style="font-size: 14px;">   But if I change YUV420 to NV12£¬the command did not work, </span></div><div><div style=""><span style="font-size: 14px;">gst-launch-1.0 filesrc location=./video_play/container_cif.yuv do-timestamp=true blocksize=152064 ! video/x-raw, format=I420,width=352, height=288, framerate=25/1 !  glupload ! glcolorscale ! glcolorconvert ! video/x-raw\(memory:GLMemory\),format=NV12,width=320, height=240 ! gldownload ! filesink location=test.yuv sync=false</span></div><div style=""><span style="font-size: 14px;">Setting pipeline to PAUSED ...</span></div><div style=""><span style="font-size: 14px;">Pipeline is PREROLLING ...</span></div><div style=""><span style="font-size: 14px;">Got context from element 'gldownloadelement0': gst.gl.GLDisplay=context, gst.gl.GLDisplay=(GstGLDisplay)"\(GstGLDisplayX11\)\ gldisplayx11-0";</span></div><div style=""><span style="font-size: 14px;">ERROR: from element /GstPipeline:pipeline0/GstCapsFilter:capsfilter0: Filter caps do not completely specify the output format</span></div><div style=""><span style="font-size: 14px;">Additional debug info:</span></div><div style=""><span style="font-size: 14px;">../plugins/elements/gstcapsfilter.c(457): gst_capsfilter_prepare_buf (): /GstPipeline:pipeline0/GstCapsFilter:capsfilter0:</span></div><div style=""><span style="font-size: 14px;">Output caps are unfixed: EMPTY</span></div><div style=""><span style="font-size: 14px;">ERROR: pipeline doesn't want to preroll.</span></div><div style=""><span style="font-size: 14px;">Setting pipeline to NULL ...</span></div><div style=""><span style="font-size: 14px;">ERROR: from element /GstPipeline:pipeline0/GstFileSrc:filesrc0: Internal data stream error.</span></div><div style=""><span style="font-size: 14px;">Additional debug info:</span></div><div style=""><span style="font-size: 14px;">../libs/gst/base/gstbasesrc.c(3127): gst_base_src_loop (): /GstPipeline:pipeline0/GstFileSrc:filesrc0:</span></div><div style=""><span style="font-size: 14px;">streaming stopped, reason error (-5)</span></div><div style=""><span style="font-size: 14px;">ERROR: pipeline doesn't want to preroll.</span></div><div style=""><span style="font-size: 14px;">Freeing pipeline ...</span></div></div><div style=""><span style="font-size: 14px;"><br></span></div><div style=""><span style="font-size: 14px;">    Does nobody know which OpenGL plugin can do yuv420<-->NV12?</span></div><div style=""><span style="font-size: 14px;">Thanks very much</span></div>