record two stream simultaneously

Thiago Santos thiagoss at osg.samsung.com
Mon Jan 19 02:55:05 PST 2015


On 01/17/2015 05:12 AM, Briner Cédric wrote:
> Hello,
>
> I'm having trouble to record two streams simultaneously in a single 
> container. As you see, I simply add two input in my gstreamer pipe, 
> both of them are encoded and then redirected in a mp4mux.
>
> streams with real device not working : http://pastebin.com/KL641ULY
>
> All this seems to work well with videotestsrc as input. But when I 
> replace them with my webcam and a Datapath-E1S. It stops to work well.
>
> 2streams with fake device : working : http://pastebin.com/x78H861d
>
> When a use vlc to read it, two windows appear. In each of them is only 
> one stream. But when I play them there is only one video that plays 
> when the other one is frozen, and this switch from one video to the 
> other.
>
> So I have
> time video1 vide2
> -------------------------
>  1      play    frozen
>  2      play    frozen
>  3      play    frozen
>  4      frozen play
>  5      frozen play
>  6      play    frozen
>  7      play    frozen
>  8      play    frozen
>  9      play    frozen
>
> Does someone have any idea of what is wrong.
Perhaps you could share the resulting files and/or a GST_DEBUG=6 log of 
the failing recording. It would make it easier to debug this issue.

Regards,
>
> Thanks in advance.
>
> cED
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


-- 
Thiago Sousa Santos
Senior Multimedia Engineer, Open Source Group
Samsung Research America - Silicon Valley



More information about the gstreamer-devel mailing list