How to appoint the default decoder (hardware or software) the gstreamer use

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

How to appoint the default decoder (hardware or software) the gstreamer use

shaonan wang
Hi ,everyone:
             Now I am working on a small project ,I want to make a small program based on gstreamer to play videos.At first it play well, but when I play HD video,says 720P,it not smooth.I know the gstreamer search software decoders first,then harware. But how can I appoint the priority of hardware and software??? I want hardware decoder first, software second . Thank all!

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How to appoint the default decoder (hardware or software) the gstreamer use

Kapil Agrawal
I dont think gstreamer searches software decoder s first and then hardware, it all depends on the RANK.
If you want gstreamer to change priority of certain decoder element, please assign higher RANK then other lower priority elements.
For this you need to make changes in your plugin source code and recompile.

Best
Kapil

On Tue, Nov 1, 2011 at 11:58 AM, shaonan wang <[hidden email]> wrote:
Hi ,everyone:
             Now I am working on a small project ,I want to make a small program based on gstreamer to play videos.At first it play well, but when I play HD video,says 720P,it not smooth.I know the gstreamer search software decoders first,then harware. But how can I appoint the priority of hardware and software??? I want hardware decoder first, software second . Thank all!

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel




--
http://www.linkedin.com/in/kapilagrawal
www.mediamagictechnologies.com
(Consultancy - Multimedia, Gstreamer, ffmpeg, Streaming for platforms- linux, windows, TI, android)



_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How to appoint the default decoder (hardware or software) the gstreamer use

shaonan wang
Thanks for your replay,but I want know is there any solution that change the priority whitout change the source and recompile ?

2011/11/1 Kapil Agrawal <[hidden email]>
I dont think gstreamer searches software decoder s first and then hardware, it all depends on the RANK.
If you want gstreamer to change priority of certain decoder element, please assign higher RANK then other lower priority elements.
For this you need to make changes in your plugin source code and recompile.

Best
Kapil

On Tue, Nov 1, 2011 at 11:58 AM, shaonan wang <[hidden email]> wrote:
Hi ,everyone:
             Now I am working on a small project ,I want to make a small program based on gstreamer to play videos.At first it play well, but when I play HD video,says 720P,it not smooth.I know the gstreamer search software decoders first,then harware. But how can I appoint the priority of hardware and software??? I want hardware decoder first, software second . Thank all!

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel




--
http://www.linkedin.com/in/kapilagrawal
www.mediamagictechnologies.com
(Consultancy - Multimedia, Gstreamer, ffmpeg, Streaming for platforms- linux, windows, TI, android)



_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How to appoint the default decoder (hardware or software) the gstreamer use

Kapil Agrawal
So if you have say 2 plugins one software and other hadware, you can just remove/uninstall the software plugin library and that should work. But thats not a appropriate solution.

On Tue, Nov 1, 2011 at 2:08 PM, shaonan wang <[hidden email]> wrote:
Thanks for your replay,but I want know is there any solution that change the priority whitout change the source and recompile ?


2011/11/1 Kapil Agrawal <[hidden email]>
I dont think gstreamer searches software decoder s first and then hardware, it all depends on the RANK.
If you want gstreamer to change priority of certain decoder element, please assign higher RANK then other lower priority elements.
For this you need to make changes in your plugin source code and recompile.

Best
Kapil

On Tue, Nov 1, 2011 at 11:58 AM, shaonan wang <[hidden email]> wrote:
Hi ,everyone:
             Now I am working on a small project ,I want to make a small program based on gstreamer to play videos.At first it play well, but when I play HD video,says 720P,it not smooth.I know the gstreamer search software decoders first,then harware. But how can I appoint the priority of hardware and software??? I want hardware decoder first, software second . Thank all!

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel




--
http://www.linkedin.com/in/kapilagrawal
www.mediamagictechnologies.com
(Consultancy - Multimedia, Gstreamer, ffmpeg, Streaming for platforms- linux, windows, TI, android)



_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel




--
http://www.linkedin.com/in/kapilagrawal
www.mediamagictechnologies.com
(Consultancy - Multimedia, Gstreamer, ffmpeg, Streaming for platforms- linux, windows, TI, android)



_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel