All of lore.kernel.org
 help / color / mirror / Atom feed
* media player (gtk-play)
@ 2015-05-19 15:15 Gary Thomas
  2015-05-19 15:34 ` Nicolas Dechesne
  2015-05-19 17:44 ` Burton, Ross
  0 siblings, 2 replies; 6+ messages in thread
From: Gary Thomas @ 2015-05-19 15:15 UTC (permalink / raw)
  To: openembedded-core

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.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: media player (gtk-play)
  2015-05-19 15:15 media player (gtk-play) Gary Thomas
@ 2015-05-19 15:34 ` Nicolas Dechesne
  2015-05-19 15:43   ` Gary Thomas
  2015-05-19 17:44 ` Burton, Ross
  1 sibling, 1 reply; 6+ messages in thread
From: Nicolas Dechesne @ 2015-05-19 15:34 UTC (permalink / raw)
  To: Gary Thomas; +Cc: openembedded-core

On Tue, May 19, 2015 at 5:15 PM, Gary Thomas <gary@mlbassoc.com> 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.

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.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: media player (gtk-play)
  2015-05-19 15:34 ` Nicolas Dechesne
@ 2015-05-19 15:43   ` Gary Thomas
  2015-05-19 18:59     ` Nicolas Dechesne
  0 siblings, 1 reply; 6+ messages in thread
From: Gary Thomas @ 2015-05-19 15:43 UTC (permalink / raw)
  To: Nicolas Dechesne; +Cc: openembedded-core

On 2015-05-19 09:34, Nicolas Dechesne wrote:
> On Tue, May 19, 2015 at 5:15 PM, Gary Thomas <gary@mlbassoc.com> 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.
>
> 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.

>
> 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.
>

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: media player (gtk-play)
  2015-05-19 15:15 media player (gtk-play) Gary Thomas
  2015-05-19 15:34 ` Nicolas Dechesne
@ 2015-05-19 17:44 ` Burton, Ross
  2016-05-30 20:36   ` Leonardo Sandoval
  1 sibling, 1 reply; 6+ messages in thread
From: Burton, Ross @ 2015-05-19 17:44 UTC (permalink / raw)
  To: Gary Thomas; +Cc: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 813 bytes --]

On 19 May 2015 at 16:15, Gary Thomas <gary@mlbassoc.com> 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

[-- Attachment #2: Type: text/html, Size: 1386 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: media player (gtk-play)
  2015-05-19 15:43   ` Gary Thomas
@ 2015-05-19 18:59     ` Nicolas Dechesne
  0 siblings, 0 replies; 6+ messages in thread
From: Nicolas Dechesne @ 2015-05-19 18:59 UTC (permalink / raw)
  To: Gary Thomas; +Cc: openembedded-core

On Tue, May 19, 2015 at 5:43 PM, Gary Thomas <gary@mlbassoc.com> wrote:
> 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 ;-)


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: media player (gtk-play)
  2015-05-19 17:44 ` Burton, Ross
@ 2016-05-30 20:36   ` Leonardo Sandoval
  0 siblings, 0 replies; 6+ messages in thread
From: Leonardo Sandoval @ 2016-05-30 20:36 UTC (permalink / raw)
  To: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 1085 bytes --]

You can try

export GST_DEBUG=GST_ELEMENT_FACTORY:3

then run gstreamer. Log indicates which elements are being used.


Leo

On 05/19/2015 12:44 PM, Burton, Ross wrote:
>
> On 19 May 2015 at 16:15, Gary Thomas <gary@mlbassoc.com 
> <mailto:gary@mlbassoc.com>> 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
>
>


[-- Attachment #2: Type: text/html, Size: 2600 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-05-30 20:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-19 15:15 media player (gtk-play) Gary Thomas
2015-05-19 15:34 ` Nicolas Dechesne
2015-05-19 15:43   ` Gary Thomas
2015-05-19 18:59     ` Nicolas Dechesne
2015-05-19 17:44 ` Burton, Ross
2016-05-30 20:36   ` Leonardo Sandoval

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.