video-capture on Mac OSX

Jack Jansen Jack.Jansen at cwi.nl
Tue Apr 16 14:10:44 PDT 2013


I have found that qtkitvideosrc is very finicky (and I assume that wrappercamerabinsrc is just a wrapper around it).

With gstreamer 1.0 I have never managed to get a direct pipeline with both the video source and any displaying video sink to work. ximagesink always hangs on one frame, osxvideosink gives the spinning beach ball and doesn't show any frame.

With gstreamer 0.10 it sometimes worked if you inserted an extra ! queue.

What does work is to run two gstreamer processes: one to grab the camera, then transmit over a socket to a second process, then display there.

And if you are using qtkitvideosrc programmatically you *must* run your gst/gobject main loop in the main thread.

On  15-Apr-2013, at 04:55 , Haiming Wang wrote:

> Hi Dear Friends,
> 
>     Can anyone give me some guide about my question?
> "
> 
> 
> When I used below command line:
> 
>   gst-launch wrappercamerabinsrc mode=2  ! video/x-raw, width=320, height=240 !  ximagesink 
> 
> 
> but I just get a still image displayed.
> 
> Can anyone tell me why for the second line, I just got a still image, and how to get a video playback?
> 
> 
> 
> "
> What's more,  anyone known if there is any camerasrc and audiosrc on Android?   If h264 encoding  plugin available on android?
> 
> 
> Thank you very much !
> 
> 
> Best Regards,
> Haiming Wang
> 
> From: whm_buaa at hotmail.com
> To: gstreamer-devel at lists.freedesktop.org
> Subject: video-capture on Mac OSX
> Date: Sun, 14 Apr 2013 00:05:00 +0800
> 
> Hi ,
> 
>    I am now trying to record video from camera on my Mac Osx and playback it.  
> 
> when I use :   gst-launch wrappercamerabinsrc mode=2  ! video/x-raw, width=320, height=240 !  osxvideosink 
> 
> it just give me a sigv and get-launch enter spinning..
> 
> 
> When I used below command line:
> 
>   gst-launch wrappercamerabinsrc mode=2  ! video/x-raw, width=320, height=240 !  ximagesink 
> 
> 
> but I just get a still image displayed.
> 
> Can anyone tell me why for the second line, I just got a still image, and how to get a video playback?
> 
> 
> I really appreciate your  help.
> 
> 
> Thanks and Regards,
> Haiming Wang
> 
> 
> 
> _______________________________________________ gstreamer-devel mailing list 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

--
Jack Jansen, <Jack.Jansen at cwi.nl>, http://www.cwi.nl/~jack
If I can't dance I don't want to be part of your revolution -- Emma Goldman



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130416/d4f1017b/attachment.html>


More information about the gstreamer-devel mailing list