'caps' property of decodebin2/uridecodebin/playbin2 for 'video/x-raw-va'

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

'caps' property of decodebin2/uridecodebin/playbin2 for 'video/x-raw-va'

Zhao, Halley

‘caps’ property are defined for decodebin2/uridecodebin as “The caps on which to stop decoding. (NULL= default)”.

But I can’t find it for playbin2, I think we’d better add it as well.

 

I met issues for creating a customized sink for libva: ‘video/x-raw-va’; my sink renders video frame as texture in Qt.

When I set playbin2 ‘video-sink’ to my customized sink, decodebin2 doesn’t stop auto-plug (expose_pad) when it comes to ‘video/x-raw-va’ because decodebin2 doesn’t think ‘video/x-raw-va’ is a raw type.

(by the way, the auto-plug stops when playbin2 finds it comes to a sink; however this sink is not my customized sink. because my sink requires many app context (OpenGL etc), it is similar to clutter-gst sink)

I could fix the issue by adding ‘video/x-raw-va’ to DEFAULT_RAW_CAPS for uridecoderbin,

But I think it should be the better solution to add ‘caps’ property for playbin2 as well.

 

Do you agree? Thanks.

 

 

 

ZHAO, Halley (Aihua)

Email: halley.zhao<a href="blocked::mailto:aihua.zhao@intel.com" title="mailto:aihua.zhao@intel.com&#10;mailto:hui.xue@intel.com">@intel.com

Tel: +86(21)61166476   iNet: 8821-6476

SSG/OTC/Moblin 3W038 Pole: F4

 


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: 'caps' property of decodebin2/uridecodebin/playbin2 for 'video/x-raw-va'

Zhao, Halley

Could anyone give some comments?

I think we would rather use playbin2 than uridecodebin for applications, so it’s better that playbin2 expose the ‘caps’ property as well.

 

 


From: Zhao, Halley [mailto:[hidden email]]
Sent: 2010
75 15:50
To: [hidden email]
Subject: [gst-devel] 'caps' property of decodebin2/uridecodebin/playbin2 for 'video/x-raw-va'

 

‘caps’ property are defined for decodebin2/uridecodebin as “The caps on which to stop decoding. (NULL= default)”.

But I can’t find it for playbin2, I think we’d better add it as well.

 

I met issues for creating a customized sink for libva: ‘video/x-raw-va’; my sink renders video frame as texture in Qt.

When I set playbin2 ‘video-sink’ to my customized sink, decodebin2 doesn’t stop auto-plug (expose_pad) when it comes to ‘video/x-raw-va’ because decodebin2 doesn’t think ‘video/x-raw-va’ is a raw type.

(by the way, the auto-plug stops when playbin2 finds it comes to a sink; however this sink is not my customized sink. because my sink requires many app context (OpenGL etc), it is similar to clutter-gst sink)

I could fix the issue by adding ‘video/x-raw-va’ to DEFAULT_RAW_CAPS for uridecoderbin,

But I think it should be the better solution to add ‘caps’ property for playbin2 as well.

 

Do you agree? Thanks.

 

 

 

ZHAO, Halley (Aihua)

Email: halley.zhao<a href="blocked::mailto:aihua.zhao@intel.com" title="mailto:aihua.zhao@intel.com&#10;mailto:hui.xue@intel.com">@intel.com

Tel: +86(21)61166476   iNet: 8821-6476

SSG/OTC/Moblin 3W038 Pole: F4

 


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel