video-capture

Capturing video out of an OpenGL window in Windows

元气小坏坏 提交于 2019-11-28 23:38:06
I am supposed to provide my users a really simple way of capturing video clips out of my OpenGL application's main window. I am thinking of adding buttons and/or keyboard shortcuts for starting and stopping the capture; when starting, I could ask for a filename and other options, if any. It has to run in Windows (XP/Vista), but I also wouldn't like to close the Linux door which I've so far been able to keep open. The application uses OpenGL fragment and shader programs, the effects due to which I absolutely need to have in the eventual videos. It looks to me like there might be even several

Storing photos and videos in Core Data?

我是研究僧i 提交于 2019-11-28 23:28:40
问题 I am developing an app that lets the user record videos and photos. Now I am wondering what is the best way to store them? The first idea is of course to save it in the user's photo library, just as if he had recorded the photo from the Camera app, and use a reference to the files. Now there's the problem that the user can access and delete files from the Photos application, which may be still needed by my app. I don't think that I can prevent the user from deleting photos, but how do I deal

How to save video in documents folder then upload to server [duplicate]

拜拜、爱过 提交于 2019-11-28 20:58:34
This question already has an answer here: How to record a video clip in ipad app and store it in documents folder 3 answers I am recording video from the iPad app and I want that video may be saved in documents folder or directly we may upload that to server. I have store audio file in documents but how to save a video file. I am using following code for recording video. UIImagePickerController *picker = [[UIImagePickerController alloc] init]; picker.delegate = self; if ([UIImagePickerController isSourceTypeAvailable:UIImagePickerControllerSourceTypeCamera]) { NSArray *mediaTypes = [NSArray

Android preview processing while video recording

时间秒杀一切 提交于 2019-11-28 20:54:27
I am using Android development (SDK 2.2) and I would like to make a video recording with mediaRecorder and, at the same time, do some process on each preview frame. I record video with MediaRecorder in a project, in an other I use the onPreviewFrame(byte[] data , Camera camera ) (from PreviewCallback ) for processing preview pictures. I've tried to create a Camera and use it with mediaRecorder ( setCamera function) but it doesn't work. Is it possible to do both in the same time? Actually I don't understand how to link two things? My code : package ch.fraise; import java.io.IOException; import

How to write a video file with OpenCV?

北城余情 提交于 2019-11-28 20:42:30
I am trying to write a program to analyze emotional expressions like tears. As part of my tracker I am using OpenCV to record sample videos. Particularly, I am not certain about how to correctly choose FPS (10FPS seems like it ought to work). I am also not sure which Codec I should use on OS X, I have tried all possible CV_FOURCC from here as well but returned the following error: Stream #0.0: Video: rawvideo, yuv420p, 640x480, q=2-31, 19660 kb/s, 90k tbn, 10 tbc Assertion failed: (image->imageSize == avpicture_get_size( (PixelFormat)input_pix_fmt, image->width, image->height )), function

Simple alternatives to Red5 recorder and server for webcam video capture?

别说谁变了你拦得住时间么 提交于 2019-11-28 19:20:25
问题 I'm looking for a flash script/library to capture video and audio from a webcam and then somehow get a saved flv to my encoding server. I'm not looking for something that will host the videos for me. I just need something simple to capture and then upload. I really want this to be open source and free. I've done a fair amount of searching and it seems that most of what i can find is either a full blown service with hosting, or the red 5 suite. I've been trying for a day to get something going

Create Video File using PHP

邮差的信 提交于 2019-11-28 18:59:47
I have scenario for creating a video files using diff. assets like images, audio file. What I want to do is, Find audio files from the particular folder and set it as background music, and fetch images from particular folder and show those images one by one. So basically I have images and audio files and I want create a video file using those assets using PHP. Can any one please suggest the start up point for this? Have done image capture from video and converting the video using Ffmpeg so I have think of Ffmpeg but, I think it will not allow to create a video. ffmpeg will allow you to create

Video Capturing + Uploading + Processing + Streaming back - .NET & C#

扶醉桌前 提交于 2019-11-28 17:39:34
We are trying to find out any technologies/libraries available in .NET stack (even wrappers on top of 3rd party dlls) that'll help us to build an app that can 1 - Capture an image from a user's video device 2 - Upload it realtime to a server 3 - Process the video (in the server) - eg: Adding a watermark to the video 4 - Stream it back to the user/other users Preferably, the time delay/latency between step2 and 4 should be minimal The first requirement (capturing) seems pretty straight forward. The challenge is identifying a suitable way to do the upload, do the processing, and stream it back.

Capture Video of Android's Screen

吃可爱长大的小学妹 提交于 2019-11-28 14:56:42
Forget screenshots, is it posible to capture a video of the running application in android? Rooted or non-rooted, I don't care, I want atleast 15fps. Update: I don't want any external hardware. The intent is to make it perfectly portable and every frame is captured within Android OS. If it crosses the boundaries of the app sdk, I'm willing to go to OS level modifications but I would need a starting point. Android 4.4 (KitKat) and higher devices have a shell utility for recording the Android device screen. Connect a device in developer/debug mode running KitKat with the adb utility over USB and

How to capture image of Youtube Video and display on web site

此生再无相见时 提交于 2019-11-28 13:13:06
I am interested in creating a website that displays a few "screen captures" on the screen. These "screen captures" can be any image file type (ex: jpeg, png, etc.) I would like to be able to display the first frame screen capture of a Youtube Video. When the user clicks on this, the user will be redirected to the Youtube URL. How can I retrieve the screen shot or first frame image of a Youtube video, given it's URL? For example: http://www.youtube.com/watch?v=gbcmYbMB9mo Using this, I'd like to have an image of the GoPro camera. Is there an API to capture the first image of the Youtube Video?