playbin and current-text

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

playbin and current-text

Kevin DeKorte-3
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I am using a playbin (via the clutter-gst api) and when I set the
current-text it doesn't seem to take effect unless I stop the media and
restart it. I can turn off the subtitles by setting this to -1, but if I
set it to anything other than 0 (file has multiple subtitles) I still
get the subtitle from 0.

I looked at the older totem code that uses a playbin and that is all it
seems to do.

Any ideas?

Kevin
- --
Get my public GnuPG key from
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkr9bEQACgkQ6w2kMH0L1dETAgCglThuUcmHaXAghF2y8SHNQN7f
cW4Anja4j3q9uGW9zIRsKHMzcpIvblCf
=enyv
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: playbin and current-text

Tim-Philipp Müller-2
On Fri, 2009-11-13 at 07:25 -0700, Kevin DeKorte wrote:

> I am using a playbin (via the clutter-gst api) and when I set the
> current-text it doesn't seem to take effect unless I stop the media and
> restart it. I can turn off the subtitles by setting this to -1, but if I
> set it to anything other than 0 (file has multiple subtitles) I still
> get the subtitle from 0.
>
> I looked at the older totem code that uses a playbin and that is all it
> seems to do.
>
> Any ideas?

This is a known issue with the old playbin element. If I remember
correctly, it will usually show the new subtitles after a flushing seek
though. In totem this was ok when the user moved the seek slider, but it
didn't work reliably when doing a flushing seek to the current position
programmatically.

You could try the newer playbin2 element. I think the issue is fixed
there (but if not, we'll fix it).

Cheers
 -Tim



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: playbin and current-text

Kevin DeKorte-3
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/13/09 08:07, Tim-Philipp Müller wrote:

> On Fri, 2009-11-13 at 07:25 -0700, Kevin DeKorte wrote:
>
>> I am using a playbin (via the clutter-gst api) and when I set the
>> current-text it doesn't seem to take effect unless I stop the media and
>> restart it. I can turn off the subtitles by setting this to -1, but if I
>> set it to anything other than 0 (file has multiple subtitles) I still
>> get the subtitle from 0.
>>
>> I looked at the older totem code that uses a playbin and that is all it
>> seems to do.
>>
>> Any ideas?
>
> This is a known issue with the old playbin element. If I remember
> correctly, it will usually show the new subtitles after a flushing seek
> though. In totem this was ok when the user moved the seek slider, but it
> didn't work reliably when doing a flushing seek to the current position
> programmatically.
>
> You could try the newer playbin2 element. I think the issue is fixed
> there (but if not, we'll fix it).
>
> Cheers
>  -Tim

Tim,

Even with using playbin2, the subtitles don't seem to change unless I do
a seek in the media.

I'm using the mewmew-vorbis-ssa.mkv sample file for testing.

Kevin

- --
Get my public GnuPG key from
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkr9oBkACgkQ6w2kMH0L1dF1OQCdEfDqx8p25cLEfmP+0mm2Ex8I
ZzkAnjqkDMLehpVojGZk37I12TYlZ+rv
=aYUC
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: playbin and current-text

Bastien Nocera-2
On Fri, 2009-11-13 at 11:06 -0700, Kevin DeKorte wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 11/13/09 08:07, Tim-Philipp Müller wrote:
> > On Fri, 2009-11-13 at 07:25 -0700, Kevin DeKorte wrote:
> >
> >> I am using a playbin (via the clutter-gst api) and when I set the
> >> current-text it doesn't seem to take effect unless I stop the media and
> >> restart it. I can turn off the subtitles by setting this to -1, but if I
> >> set it to anything other than 0 (file has multiple subtitles) I still
> >> get the subtitle from 0.
> >>
> >> I looked at the older totem code that uses a playbin and that is all it
> >> seems to do.
> >>
> >> Any ideas?
> >
> > This is a known issue with the old playbin element. If I remember
> > correctly, it will usually show the new subtitles after a flushing seek
> > though. In totem this was ok when the user moved the seek slider, but it
> > didn't work reliably when doing a flushing seek to the current position
> > programmatically.
> >
> > You could try the newer playbin2 element. I think the issue is fixed
> > there (but if not, we'll fix it).
> >
> > Cheers
> >  -Tim
>
> Tim,
>
> Even with using playbin2, the subtitles don't seem to change unless I do
> a seek in the media.
>
> I'm using the mewmew-vorbis-ssa.mkv sample file for testing.

Probably because of your "old" (non-git) version of gst-plugins-base.
gst-plugins-base in git master should have this working.

Cheers


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: playbin and current-text

Kevin DeKorte-3
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/13/09 11:19, Bastien Nocera wrote:

> On Fri, 2009-11-13 at 11:06 -0700, Kevin DeKorte wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> On 11/13/09 08:07, Tim-Philipp Müller wrote:
>>> On Fri, 2009-11-13 at 07:25 -0700, Kevin DeKorte wrote:
>>>
>>>> I am using a playbin (via the clutter-gst api) and when I set the
>>>> current-text it doesn't seem to take effect unless I stop the media and
>>>> restart it. I can turn off the subtitles by setting this to -1, but if I
>>>> set it to anything other than 0 (file has multiple subtitles) I still
>>>> get the subtitle from 0.
>>>>
>>>> I looked at the older totem code that uses a playbin and that is all it
>>>> seems to do.
>>>>
>>>> Any ideas?
>>>
>>> This is a known issue with the old playbin element. If I remember
>>> correctly, it will usually show the new subtitles after a flushing seek
>>> though. In totem this was ok when the user moved the seek slider, but it
>>> didn't work reliably when doing a flushing seek to the current position
>>> programmatically.
>>>
>>> You could try the newer playbin2 element. I think the issue is fixed
>>> there (but if not, we'll fix it).
>>>
>>> Cheers
>>>  -Tim
>>
>> Tim,
>>
>> Even with using playbin2, the subtitles don't seem to change unless I do
>> a seek in the media.
>>
>> I'm using the mewmew-vorbis-ssa.mkv sample file for testing.
>
> Probably because of your "old" (non-git) version of gst-plugins-base.
> gst-plugins-base in git master should have this working.
>
> Cheers
>

So gstreamer-plugins-base-0.10.25-5.fc12.x86_64 is probably to old?

Kevin
- --
Get my public GnuPG key from
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkr9rBQACgkQ6w2kMH0L1dEqUACfXrGEuawJhKy9AA8o7GHWqHxT
/goAnAlQ1AR1/uB/D68Y4dtPBOfF6us0
=J2A1
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel