video-recording

is there a way to record videos in kivy?

别说谁变了你拦得住时间么 提交于 2021-02-10 14:10:42
问题 I am displaying the camera video in Kivy, but I can't find a way to record the video, I tried to use OpenCV Videowriter but because of the updating ( Clock.schedule_interval(self.update, 1.0/33.0)) it is constantly overwriting so the video that it saved is one image, does anybody have an alternative way. 回答1: Please look into the below code which may serve your purpose. The main code is taken from the link: https://www.codingforentrepreneurs.com/blog/how-to-record-video-in-opencv-python. I

is there a way to record videos in kivy?

杀马特。学长 韩版系。学妹 提交于 2021-02-10 14:07:33
问题 I am displaying the camera video in Kivy, but I can't find a way to record the video, I tried to use OpenCV Videowriter but because of the updating ( Clock.schedule_interval(self.update, 1.0/33.0)) it is constantly overwriting so the video that it saved is one image, does anybody have an alternative way. 回答1: Please look into the below code which may serve your purpose. The main code is taken from the link: https://www.codingforentrepreneurs.com/blog/how-to-record-video-in-opencv-python. I

Video compatibility issue: android recorded video not played in iphone

情到浓时终转凉″ 提交于 2021-02-07 03:01:51
问题 I am recording a video in android like this List<Camera.Size> list = myCamera.getParameters().getSupportedPictureSizes(); Parameters parameters = myCamera.getParameters(); parameters.setColorEffect(coloreffects.get(index_color_effect)); myCamera.setParameters(parameters); mediaRecorder = new MediaRecorder(); myCamera.unlock(); mediaRecorder.setCamera(myCamera); mediaRecorder.setOrientationHint(90); mediaRecorder.setAudioSource(MediaRecorder.AudioSource.CAMCORDER); mediaRecorder.setVideoSource

Record video using ffmpeg on mac os

痴心易碎 提交于 2021-02-07 02:53:33
问题 I want to record live webcam video on mac OS using ffmpeg in any format. I tried a lot but not able to find out command for recoding of video. So Please any one can tell me ffmpeg command for capture video using web cam for mac os. Thanx in advance. 回答1: for mac os try: ffmpeg -f avfoundation -i "0" -f mpeg1video -b:v 800k -r 30 回答2: FFmpeg can't record using the iSight camera. But, this dude shows how to record a time lapse video on Mac using the cmd-line. 来源: https://stackoverflow.com

Record video using ffmpeg on mac os

混江龙づ霸主 提交于 2021-02-07 02:53:31
问题 I want to record live webcam video on mac OS using ffmpeg in any format. I tried a lot but not able to find out command for recoding of video. So Please any one can tell me ffmpeg command for capture video using web cam for mac os. Thanx in advance. 回答1: for mac os try: ffmpeg -f avfoundation -i "0" -f mpeg1video -b:v 800k -r 30 回答2: FFmpeg can't record using the iSight camera. But, this dude shows how to record a time lapse video on Mac using the cmd-line. 来源: https://stackoverflow.com

How to record SurfaceView preview

老子叫甜甜 提交于 2021-01-29 14:55:52
问题 I am working on an app in which I am using Surface View only for preview of frames. Can anyone tell me how can I record videos of this SurfaceView preview? 回答1: You have 3 possibilities : 1 - Capture each frame of your SurfaceView and store all the captured bitmaps into an array, after that you can encode it to a video file using MediaRecord Here's a full example of how it works : ViewRecorder 2 - Using EZFilter (I've already tested) , It's a little long but it's worth a try : XML :

GPUImageMovieWriter - occasional black frames at either ends of the recorded video

|▌冷眼眸甩不掉的悲伤 提交于 2021-01-27 07:07:52
问题 I have recording app implementation where user can tap the "record" button to start/stop recording. I achieve this with a basic GPUImageVideoCamera with output set to a GPUImageView as well as a GPUImageMovieWriter . 50% of the time, the recorded clip ends up with a couple (or a single) black frame at either ends, sometimes both. The implementation is fairly straightforward, but here is it anyway. gpuImageView = [[GPUImageView alloc] initWithFrame:cameraView.frame]; gpuImageView.fillMode =