Hi Dan,

I can now run "melt -consumer qgl clip.xxx"
In this case, glsl.csc is created instead of avcolor_space.
It does rgb24/rgb24a/yuv420p/yuv422 to gl texture.
It calls 
mlt_frame_set_image( frame, (uint8_t*)dest, 
       sizeof(struct glsl_texture_s), g->texture_destructor );

and sets "format" to mlt_image_glsl.

then the qgl consumer (a QGLWidget) displays dest->texture.

This works well for yuv422 and rgb24, but it never gets yuv420p, all yuv420 
streams are converted somewhere (i guess the producer) to yuv422 before 
reaching the csc filter. Is there any way to disable this initial conversion ? 
Not only i could validate the yuv420p_to_glsl code but it would also minimize 
a bit the amount of data to upload.

(Note : normalisers are disabled.)

-- 
Christophe Thommeret

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Mlt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to