How to connect webcam to playbin2 ?

Stefan Kost ensonic at hora-obscura.de
Fri Sep 9 02:30:25 PDT 2011


On 08/24/11 22:46, Won J Jeon wrote:
> Dear Stefan,
>
> If I use camerabin, how can I disable a popping preview window and
> instead copy the captured frame to my own image buffer in the application?

I don't knopw how you are using it. Is your code online somehwere? If an
extra window pops up, you want to take the video-sink under your control.

Stefan

>
> Regards,
> Won
>
> On Tue, Aug 23, 2011 at 10:47 AM, Stefan Kost <ensonic at hora-obscura.de
> <mailto:ensonic at hora-obscura.de>> wrote:
>
>     On 08/23/11 18:41, Won J Jeon wrote:
>>     Dear Stefan,
>>
>>     Thanks for your response. I'm modifying the existing code, so
>>     reusing playbin2 is one of constraints that I have.
>>     Basically I'd like to use a captured frame (as in camerabin's
>>     source) as an input of playbin2.
>
>     Well if you are not able to share more about what you want to do,
>     I won't be able to help you any futher. With the given input I can
>     only repeat that sticking live camera input into playbin2 is weird.
>
>     Stefan
>
>>
>>     Won
>>
>>     On Tue, Aug 23, 2011 at 1:25 AM, Stefan Kost
>>     <ensonic at hora-obscura.de <mailto:ensonic at hora-obscura.de>> wrote:
>>
>>         On 08/23/11 05:26, Won J Jeon wrote:
>>>         Hello all,
>>>
>>>         I'm trying to modify playbin2 so that it can use a webcam's
>>>         captured frame as a  source to playbin2.
>>
>>         What do you want to really do. Would perhaps using camerabin
>>         be more appropriate? What features in playbin2 do you need to
>>         be applied to the live-camera stream?
>>
>>         Stefan
>>
>>>         I notice that playbin2 - actually uridecodebin defines a
>>>         file descriptor (fd://) to specify the source, so I wonder
>>>         if this could be used for connecting the webcam's captured
>>>         frame.
>>>         I appreciate if you have any comments or suggestions.
>>>
>>>         Regards,
>>>         Won
>>>
>>>
>>>         _______________________________________________
>>>         gstreamer-devel mailing list
>>>         gstreamer-devel at lists.freedesktop.org <mailto:gstreamer-devel at lists.freedesktop.org>
>>>         http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>
>>
>>         _______________________________________________
>>         gstreamer-devel mailing list
>>         gstreamer-devel at lists.freedesktop.org
>>         <mailto:gstreamer-devel at lists.freedesktop.org>
>>         http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>
>>
>>
>>     _______________________________________________
>>     gstreamer-devel mailing list
>>     gstreamer-devel at lists.freedesktop.org <mailto:gstreamer-devel at lists.freedesktop.org>
>>     http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
>     _______________________________________________
>     gstreamer-devel mailing list
>     gstreamer-devel at lists.freedesktop.org
>     <mailto:gstreamer-devel at lists.freedesktop.org>
>     http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110909/a8028a3a/attachment.htm>


More information about the gstreamer-devel mailing list