video-capture

How to capture and record video from webcam using JavaCV

◇◆丶佛笑我妖孽 提交于 2019-12-03 20:40:36
I'm new to JavaCV and I have difficult time finding good tutorials about different issues on the topics that I'm interested in. I've succeed to implement some sort of real time video streaming from my webcam but the problem is that I use this code snippet which I found on the net : @Override public void run() { FrameGrabber grabber = new VideoInputFrameGrabber(0); // 1 for next // camera int i = 0; try { grabber.start(); IplImage img; while (true) { img = grabber.grab(); if (img != null) { cvFlip(img, img, 1);// l-r = 90_degrees_steps_anti_clockwise cvSaveImage((i++) + "-aa.jpg", img); // show

IKsPropertySet interface is not supported in IMFMediSource

為{幸葍}努か 提交于 2019-12-03 20:30:07
I am porting my Direct Show camera based SDK to MFT. In my old code I have KSProxy interface like IksTopolgy,IKsControl and IKsProperty . IksTopolgy,IKsControl is used to enumerate the property set and IKsProperty to get/set the property value. Now I was trying to same in new code.I am able to enumerate the property i.e following code is supported in MFT. CComPtr<IKsTopologyInfo> ksTopology = NULL; hRet = m_pMediaSource->QueryInterface(&ksTopology); But IKsProperty interface which is used to get/set the property value is not working returning E_NOINTERFACE. hRet = m_pMediaSource-

How to start/stop video recording on Canon camera via SDK?

回眸只為那壹抹淺笑 提交于 2019-12-03 17:26:53
I have a Canon 7D digital camera and I'd like to have an ability to control video recording from PC. I've downloaded Canon SDK 2.8, read all the document it contains but still cant figure out how to start or stop video recording on the camera. Is there any possibility to control video recording via Canon SDK? Thanks. the latest canon camera sdk document contains an answer: 6.4.3 Begin/End movie shooting You can begin/end movie shooting with the following operations. EdsUInt32 record_start = 4; // Begin movie shooting err = EdsSetPropertyData(cameraRef, kEdsPropID_Record, 0, sizeof(record_start

Play video on the android recorded from the iPhone

人盡茶涼 提交于 2019-12-03 17:20:01
问题 I am writing video based social app for iOS and android(WinPhone is under waiting). I recorded video in mov format using AVFoundation framework on the iPhone and uploaded it to the server. It can be downloaded and played on the iPhone client. But on the android device, downloaded video can not be played since it's format is not supported on the android. What is the best solution of the video record and play for supporting multiple mobile devices platforms? 回答1: Blog post @Why Apple Is Winning

Video recorded with Android MediaRecorder is corrupted on Samsung Galaxy S2

 ̄綄美尐妖づ 提交于 2019-12-03 15:52:25
Good day! I'm learning how to record video with MediaRecorder but recorded video is corrupted when I play it. See this screenshot: http://www.4shared.com/photo/QtmJCHRi/corrupted-video.html . Picture marked with red rectangle in the left upper corner is what camera can see. But it is so small, it's repeating and there is many green areas. Please advise what am I doing wrong. HW is Samsung Galaxy S2 (GT-I9100, Android 2.3.5). I tried to follow this tutorial: http://developer.android.com/guide/topics/media/camera.html#saving-media Thank you in advance! CameraRecorderActivity.java package cz.ryvo

Video capture SDKs and Frameworks for Windows [closed]

时间秒杀一切 提交于 2019-12-03 14:41:08
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 5 years ago . I cannot find a list describing all of the different options for video capture in Windows. I would like to keep this list to non-proprietary SDKs (i.e. ImageSource has their own SDK that works with only ImageSource capture cards). To set an age limit on suggestions, everything

Creating synchronized stereo videos using webcams

人盡茶涼 提交于 2019-12-03 13:54:58
问题 I am using OpenCV to capture video streams from two USB webcams (Microsoft LifeCam Studio) in Ubuntu 14.04. I am using very simple VideoCapture code (source here) and am trying to at least view two videos that are synchronized against each other. I used Android stopwatch apps (UltraChron Stopwatch Lite and Stopwatch Timer) on my Samsung Galaxy S3 mini to realize that my viewed images are out of sync (show different time on stopwatch). The frames are synced maybe in 50% of the time. The frame

Near Real Time Video Upload from iPhone

£可爱£侵袭症+ 提交于 2019-12-03 13:49:15
问题 I am trying to find the best way to upload video from an iPhone (iOS5) as fast as possible - real time if possible. I found this previous question and answer very useful. streaming video FROM an iPhone But it has left me with several unanswered questions. I dont have enough rep to post comments in that question- and I think my questions are getting beyond the scope of the original question anyway. So: Is using AVCaptureSession/AVAssetWriter and chopping the video into short clips the best way

DirectShow - Getting video frames

强颜欢笑 提交于 2019-12-03 13:42:24
I'm creating a Windows video capture application and am using DirectShow for capture. As each frame comes in, I want to grab it as a raw RGB bitmap into a buffer, at which point my code will do whatever processing I need. I've been searching for samples similar to what I want to do, and everywhere I look online, people recommend using either the IMediaDet and/or the ISampleGrabber interface to do frame-by-frame capture. Unfortunately, both are deprecated and aren't even in the newest version of the Windows SDK. What is the best (modern) way to do frame-by-frame capture in DirectShow? If there

How to create virtual webcam in Windows 10?

99封情书 提交于 2019-12-03 11:31:11
I would like to take video from a webcam, render some text on the frames and do some motion tracking and pass it on to a virtual webcam so it can be streamed easily. I found some answers on stackoverflow suggesting that I should use DirectShow. According to information in DirectShow documentation , the DirectShow SDK is part of Windows SDK. So I installed the latest Windows SDK but it seems that it doesn't include DirectShow because there are no DirectShow samples under C:\Program Files (x86)\Microsoft SDKs\Windows . (The stackoverflow answers are also pretty old - dated around 2010) Can you