media player (gtk-play)
Ross,
Do you know if there is a way to tell gtk-play what gstreamer back-end(s) to use? In particular, for my i.MX6 board, it is not choosing the video plugin I think it should and it would be nice to test if it does the right thing if the correct plugin is used.
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------
Quoted 5 lines · Gary Thomas
Do you know if there is a way to tell gtk-play what gstreamer back-end(s) to use? In particular, for my i.MX6 board, it is not choosing the video plugin I think it should and it would be nice to test if it does the right thing if the correct plugin is used.
by video plugin, you mean the decoder or the video sink?
if it's the sink:
gst-play --videosink <foo> --audiosink <bar>
if it's the decoder, you can't choose on the command line, the application will just rely on playbin, so you need to configure your plugins (and their priorities) so that playbin would pick the most appropriate plugin.
cheers.
Quoted 7 lines · Nicolas Dechesne
Quoted 5 lines · Gary Thomas
Do you know if there is a way to tell gtk-play what gstreamer back-end(s) to use? In particular, for my i.MX6 board, it is not choosing the video plugin I think it should and it would be nice to test if it does the right thing if the correct plugin is used.
Quoted 5 lines
by video plugin, you mean the decoder or the video sink?
if it's the sink:
gst-play --videosink <foo> --audiosink <bar>
This is what I'm looking for except I need to send these to gtk-play, the GUI front-end.
Quoted 8 lines
if it's the decoder, you can't choose on the command line, the application will just rely on playbin, so you need to configure your plugins (and their priorities) so that playbin would pick the most appropriate plugin.
cheers.
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------
Quoted 2 lines · Gary Thomas
This is what I'm looking for except I need to send these to gtk-play, the GUI front-end.
oops.. sorry.. read the email too quickly ;-)
Quoted 6 lines · Gary Thomas
Do you know if there is a way to tell gtk-play what gstreamer back-end(s) to use? In particular, for my i.MX6 board, it is not choosing the video plugin I think it should and it would be nice to test if it does the right thing if the correct plugin is used.
I guess there's a few solutions:
1) Patch gst-player (upstream is very responsive!) to add options to pass these hints to the playbin
2) Delete the plugins you don't want it to use
3) Use gst-launch directly to do these tests (gst-launch playbin video-sink=foosink uri=...)
For (1) this should be a fairly simple matter of passing the sink name, then constructing that element and passing it as the audio-sink/video-sink property on the playbin.
Ross
You can try
export GST_DEBUG=GST_ELEMENT_FACTORY:3
then run gstreamer. Log indicates which elements are being used.
Leo
Quoted 21 lines · Ross
On 19 May 2015 at 16:15, Gary Thomas <[email protected] <mailto:[email protected]>> wrote:
Do you know if there is a way to tell gtk-play what gstreamer back-end(s) to use? In particular, for my i.MX6 board, it is not choosing the video plugin I think it should and it would be nice to test if it does the right thing if the correct plugin is used.
I guess there's a few solutions:
1) Patch gst-player (upstream is very responsive!) to add options to pass these hints to the playbin
2) Delete the plugins you don't want it to use
3) Use gst-launch directly to do these tests (gst-launch playbin video-sink=foosink uri=...)For (1) this should be a fairly simple matter of passing the sink name, then constructing that element and passing it as the audio-sink/video-sink property on the playbin.
Ross