How to connect webcam to playbin2 ?

Won J Jeon wjjeon at gmail.com
Wed Aug 24 13:46:20 PDT 2011


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?

Regards,
Won

On Tue, Aug 23, 2011 at 10:47 AM, Stefan Kost <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>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 listgstreamer-devel at lists.freedesktop.orghttp://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
>>
>>
>
> _______________________________________________
> gstreamer-devel mailing listgstreamer-devel at lists.freedesktop.orghttp://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/20110824/6e87e091/attachment.html>


More information about the gstreamer-devel mailing list