Prioritize hardware decoder for playbin2

Jim restlessmindsstudio at gmail.com
Fri Feb 15 20:59:00 PST 2013


I've written a C program using the 0.10.36 version of GStreamer. I'm using
playbin2 in my pipeline to play MPEG2-TS files. This works fine except that
playbin2 is not using the hardware decoder plugin that is available. I know
there is the concept of plugins having ranks so I'm wondering how to
prioritize this decoder over others.

 

The hardware decoder does work because I can use the gst-launch command line
below to play a video. The problem is this doesn't offer as much flexibility
as playbin2.

 

gst-launch filesrc location=stream.ts ! tsdemux name=demux demux. ! queue
max-size-buffers=0 max-size-time=0 ! vpudec ! mfw_v4lsink demux. ! queue
max-size-buffers=0 max-size-time=0 ! mfw_mp3decoder ! alsasink

 

Can anyone tell me how to prioritize this plugin for playbin2?

 

Thanks

Jim

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130215/2275a948/attachment.html>


More information about the gstreamer-devel mailing list