[gst-devel] Switching between videos with input-selector

victor héry victor.hery.polytech at gmail.com
Fri Aug 20 14:34:34 CEST 2010


  Ow, I haven't foud this example, it is very interresting !
I will take a closer look, thank you.

Perhaps it will help with my problem to synchronize stop time and start 
time.

For information, I think that the problem I spoke about yesterday is 
because of autovideosink.
To be clear, when the first video is launched through inputselector, 
autovideosink opens a window which has the name of the file playing.
And once I switch, this file stop. But, the window's name doesn't 
change, and there isn't any other window opening.
It appears that the switch works, but there is just a problem of 
displaying, no doubt because of this window's name. I don't know how to 
deals with the problem, but I will try with an udp diffusion instead of 
a local display. As there is no window with specific name during a 
streaming, I hope the problem will disappear by itself.

For what interest you Luciana, the block and switch signal works with 
me. I join a simple code I have made to learn about inputselector. It's 
quite simple, it allows to switch between videotestsrc plugin and a 
webcam stream, with a synchronization between two beeps.
I hope it could help you how the signals works. Don't hesitate to ask me 
if anything is not clear in the code, it would me my pleasure to help you :)
I use the gstreamer 0.10 version, the one in ubuntu 10.04.

Thank you for all your help,

Regards

Victor Hery


Le 20/08/2010 15:12, Andres Gonzalez a écrit :
> On 19/08/10 15:30, victor héry wrote:
>> I tried without inputselector, and after some adaptations and tests,  it
>> works well !
>> Now I tests with the input selector.
>> Links seems to work, but when I switch between videos, it stops without
>> apparents reasons. I am working on it.
>>
> Have you seen this example? it may help.
>
> http://cgit.freedesktop.org/gstreamer/gst-python/tree/examples/switch.py
>
> Regards,
>
> Andres
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by
>
> Make an app they can't live without
> Enter the BlackBerry Developer Challenge
> http://p.sf.net/sfu/RIM-dev2dev
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SwitchVideoSound.py
Type: text/x-python
Size: 2490 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20100820/1f0ee49f/attachment.py>


More information about the gstreamer-devel mailing list