[gst-devel] EOS : which element should receive this signal?
thiagoss
thiagossantos at gmail.com
Tue Jun 30 02:08:31 CEST 2009
On Mon, Jun 29, 2009 at 11:59 AM, florian iragne <
florian.iragne at viewsurf.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>
> i've a multithreaded soft that launchs several gstreamer pipelines. I
> store references to the created bus and pipelines in order to be able to
> post eos signal and thus, properly stop the pipelines (and thread, etc)
>
> You've probably guessed that it doesn't work. The eos signal is well
> send and well received (the listening function properly handle the
> signal, stop the GMainLoop and tell me that everything is fine), but the
> produced files are unusable (i produce h264/mp4 files and the moov atom
> is not in the file).
>
Maybe you can post the relevant parts of your code in pastebin and let us
take a look.
Also, what pipeline are you using? That will help us help you.
> If i launch the pipelines with gst-launch, everything is fine.
>
> So, i wonder whether i'm sending the eos to the proper element or not.
> I've tried these cases :
> * send eos to the pipeline : doesn't work
Sending to the pipeline should work, you can use: gst_element_send_event
(pipeline, gst_event_new_eos()),
and then you should wait for the EOS to be posted at the bus. gst-launch
does exactly this, maybe you should take a look at its code
here<http://cgit.freedesktop.org/gstreamer/gstreamer/tree/tools/gst-launch.c>
.
>
> * send eos to the sink elements of the pipeline : KO
> * send eos to the sources : KO
> * send eos to all elements : KO
>
>
> any idea is welcome!
>
> cheers
>
> Florian
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iEYEARECAAYFAkpI1sQACgkQO8DE9K7b371PygCeLsQRAV1QcItHMdiEQqSbXt9f
> Cd4AoJ7fbHXcoK95cNPQJE5QxA1TxTfk
> =eo4C
> -----END PGP SIGNATURE-----
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
--
Thiago Sousa Santos
Embedded Systems and Pervasive Computing Lab (Embedded)
Center of Electrical Engineering and Informatics (CEEI)
Federal University of Campina Grande (UFCG)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20090629/66d528cc/attachment.htm>
More information about the gstreamer-devel
mailing list