video-capture on Mac OSX

Jack Jansen Jack.Jansen at cwi.nl
Wed Apr 17 08:07:32 PDT 2013


I have a patch for 720p video (and even 1080p video), but I still need to work out how to use this git stuff to extract it in such a way that I can send it to the maintainers.

Actually, I would like to do a patch that qtkitvideosrc can do any size video, based on the actual size (just like v4l2videosrc does) but for that I need to actually understand more of gstreamer than I currently do:-)

On Apr 17, 2013, at 04:16 , Brian Quandt wrote:

> My experience on pre 1.0 is still images were the result of an incompatibility in the audio frequency (ie my video device versus my audio device).  For instance since video can have audio, but say I chose not to use it but rather used another audio input, and the video's audio rate was 44khz, and my audio I was choosing externally was 48khz, voila everything seemed to work fine, except I'd have a still image on video.   Not yet tried 1.0.   Frankly, I was hoping a rework as I think qtkit is now deprecated in 10.8?  Also, the qtkit plug-in seemed hardwired for 640x480 video (which kind of sucked for 720p new usb device, or even older fw devices which supported 16x9 aspect.)
> 
> On Tue, Apr 16, 2013 at 2:10 PM, Jack Jansen <Jack.Jansen at cwi.nl> wrote:
> 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
> 
> 
> 
> 
> _______________________________________________
> 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





More information about the gstreamer-devel mailing list