How can I temporarily disable element, loaded by playbin2?

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

How can I temporarily disable element, loaded by playbin2?

wl2776
Administrator
Playbin2 on Linux now properly supports reverse framestepping on Linux, and doesn't on windows.
I've studied pipelines, created on both platforms and found that they differ in audio decoder.
Linux playbin2 uses Fluendo MP3 decoder, while windows playbin2 uses ffdec_mp3float.

I also tried to create simplified pipelines on windows, playing video only, and they have supported reverse playback of MPEG2 files.

So, I suspect, that ffdec_mp3float is the culprit.

I'd like to temporarily disable flump3dec on linux and this way have playbin2 to create a pipeline with ffdec_mp3.
How can I do that?
Reply | Threaded
Open this post in threaded view
|

Re: How can I temporarily disable element, loaded by playbin2?

wl2776
Administrator
wl2776 wrote
I'd like to temporarily disable flump3dec on linux and this way have playbin2 to create a pipeline with ffdec_mp3.
How can I do that?
Found.
http://gstreamer-devel.966125.n4.nabble.com/unrank-a-plugin-tp1753020p1754920.html

There is also a reference to the autoplug-select signal on the uridecodebin.
However, this signal is still not exposed in the playbin2.
Is it possible to connect to the 'generic' autoplug-select signal?
All g_signal_connect* functions require a pointer to the uridecodebin, but I don't have it before playbin2 has loaded a file and created a pipeline.
Reply | Threaded
Open this post in threaded view
|

Re: How can I temporarily disable element, loaded by playbin2?

michael smith-6-3
In reply to this post by wl2776
On Tue, Jul 20, 2010 at 4:21 AM, wl2776 <[hidden email]> wrote:

>
> Playbin2 on Linux now properly supports reverse framestepping on Linux, and
> doesn't on windows.
> I've studied pipelines, created on both platforms and found that they differ
> in audio decoder.
> Linux playbin2 uses Fluendo MP3 decoder, while windows playbin2 uses
> ffdec_mp3float.
>
> I also tried to create simplified pipelines on windows, playing video only,
> and they have supported reverse playback of MPEG2 files.
>
> So, I suspect, that ffdec_mp3float is the culprit.
>
> I'd like to temporarily disable flump3dec on linux and this way have
> playbin2 to create a pipeline with ffdec_mp3.
> How can I do that?

There isn't really a way to do that, other than to remove the plugin
in question (or temporarily rename it with a different file extension
so it's not considered for plugin loading).

ffdec_mp3 isn't a good choice at all; there are plenty of other mp3
decoders you could use.

Mike

------------------------------------------------------------------------------
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: How can I temporarily disable element, loaded by playbin2?

Edward Hervey
In reply to this post by wl2776
On Tue, 2010-07-20 at 04:21 -0700, wl2776 wrote:

> Playbin2 on Linux now properly supports reverse framestepping on Linux, and
> doesn't on windows.
> I've studied pipelines, created on both platforms and found that they differ
> in audio decoder.
> Linux playbin2 uses Fluendo MP3 decoder, while windows playbin2 uses
> ffdec_mp3float.
>
> I also tried to create simplified pipelines on windows, playing video only,
> and they have supported reverse playback of MPEG2 files.
>
> So, I suspect, that ffdec_mp3float is the culprit.

  * ffdec_mp3float isn't supported by our version of gst-ffmpeg (aka :
you're not going to get any support if you see issues with it). With
ffdec_mp3 we *could* maybe give you some assistance, but...
  * ... you should use one of the other mp3 decoders available on linux
(aka : mad).

>
> I'd like to temporarily disable flump3dec on linux and this way have
> playbin2 to create a pipeline with ffdec_mp3.
> How can I do that?



------------------------------------------------------------------------------
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: How can I temporarily disable element, loaded by playbin2?

wl2776
Administrator
Edward Hervey wrote
> So, I suspect, that ffdec_mp3float is the culprit.

  * ffdec_mp3float isn't supported by our version of gst-ffmpeg (aka :
you're not going to get any support if you see issues with it). With
ffdec_mp3 we *could* maybe give you some assistance, but...
  * ... you should use one of the other mp3 decoders available on linux
(aka : mad).
Unfortunately, I'm developing the player for windows. I use OSSBuild (GStreamer-winbuild) for it.
I use playbin2, it chooses plugins on its own, and I cannot affect it.