How to connect webcam to playbin2 ?

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

How to connect webcam to playbin2 ?

Won J Jeon
Hello all,

I'm trying to modify playbin2 so that it can use a webcam's captured frame as a  source to playbin2.
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
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How to connect webcam to playbin2 ?

Stefan Sauer
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 [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How to connect webcam to playbin2 ?

Won J Jeon
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.

Won

On Tue, Aug 23, 2011 at 1:25 AM, Stefan Kost <[hidden email]> 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 [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How to connect webcam to playbin2 ?

Stefan Sauer
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 <[hidden email]> 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 [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How to connect webcam to playbin2 ?

Won J Jeon
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 <[hidden email]> 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 <[hidden email]> 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 [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How to connect webcam to playbin2 ?

Stefan Sauer
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 <[hidden email]> 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 <[hidden email]> 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 [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel