<div dir="ltr">A project you may really like is Snowmix. It is based on gstreamer and is a sinch to learn. <a href="http://sourceforge.net/projects/snowmix/">http://sourceforge.net/projects/snowmix/</a><br></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Mon, Apr 21, 2014 at 7:07 PM, Alexandre Quessy <span dir="ltr"><<a href="mailto:alexandre@quessy.net" target="_blank">alexandre@quessy.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div>Hello everyone,</div><div>I am working on a simple video mixer for theatrical shows. It should play video clips, looping them or pausing them when they are done playing, and it should be able to do crossfade transitions between clips. Everything worked well until I implemented the crossfades, using "alpha" elements and "videomixer". Now, when the end (EOS) of a clip is reached, the image become black. Here is an ASCII art representation of my pipeline:</div>

<div><br></div><div>filesrc -> decodebin -> videoscale -> alpha -> videomixer -> ffmpegcolorspace -> xvimagesink</div><div>filesrc -> decodebin -> videoscale -> alpha -/</div><div><br></div><div>

This brings some questions:</div><div><br></div><div>* How can I catch the EOS signal of a specific video file, and then start over the playback of that file without affecting the other one? I use filesrc and decodebin. Do I need to enclose them in a bin?</div>

<div>* How can I stop the playback of a single file and let the other one play?</div><div><br></div><div>Here is a link to my (quite alpha grade) source code, in case you want to try it out, but it is far from minimal and require some video file with a JSON config file, if you want to try it. <a href="https://github.com/aalex/videocontrol/blob/crossfade/vctrl/gui.py" target="_blank">https://github.com/aalex/videocontrol/blob/crossfade/vctrl/gui.py</a></div>

<div><br></div><div>I the hope for some guidance.</div><div>Thank you.</div><div>Best,</div><span class="HOEnZb"><font color="#888888"><div><br></div>-- <br><div dir="ltr">Alexandre Quessy<br><a href="http://alexandre.quessy.net" target="_blank">http://alexandre.quessy.net</a> - Artiste en nouveaux médias<br>

<a href="http://perte-de-signal.org" target="_blank">http://perte-de-signal.org</a> - Membre de Perte de signal<br></div>
</font></span></div>
<br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br></div>