video-recording

How to Record WebCam Video in MPEG or AVI files using C# Desktop Application

流过昼夜 提交于 2019-12-08 12:21:11
问题 I am developing a Desktop Application which requires me to connect to webcam(s) and record(save) the video in MPEG, AVI, MP4 and WMV formats and Burn into the CD/DVD. The application is in Win Forms. I am only Looking for free or open source solutions or controls. I had done saving as AVI using Aforge.Net but its taking more size to save(like 60-100MB for 15sce 320x240 Video ). I am expecting 1MB for 10sec. Here is the Code : using System; using System.Drawing; using System.Windows.Forms;

Android Video Recording using Media Recorder is Not working

拟墨画扇 提交于 2019-12-08 11:21:10
问题 I am trying to Record a Video, But It's getting crash at Media Record starts and Media Record Prepare .please Help Me... Here Is My Code... private boolean startRecording() { camera.unlock(); try { mediaRecorder = new MediaRecorder(); mediaRecorder.setOnErrorListener(new MediaRecorder.OnErrorListener() { @Override public void onError(MediaRecorder mr, int what, int extra) { Log.i(TAG, "Error"); } }); second=0; minute=0; recordCountTimer = new CountDownTimer(Long.MAX_VALUE,1000) { @Override

FFMPEG Video Recorder Issue

大憨熊 提交于 2019-12-08 11:17:30
问题 I'm using FFmpegVideoRecorder - Customizable Video Recording Library for Android in my app for video recording. I followed the instructions on GitHub and installed the library. When I run the app I'm getting the following error. Error opening camera java.lang.NullPointerException: Attempt to invoke interface method 'java.lang.Object[] java.util.Collection.toArray()' on a null object reference at com.google.common.collect.ImmutableSet.copyOf(ImmutableSet.java:247) at com.amosyuen.videorecorder

OpenCV VideoWriter does not open

时光怂恿深爱的人放手 提交于 2019-12-08 06:07:14
问题 Running Windows 7, x64 with OpenCV 2.4.8 (pre-built binaries). Trying the following basic code: VideoWriter wrt; wrt.open("video.mp4", -1, 29, Size(480, 640)); This does nothing. The expected popup for codec selection does not open, nor is the writer getting open (i.e. a call to wrt.isOpen() returns false). Also, the internal pointer inside the writer class wrt.writer remains null. Tried: Both Debug and Release OpenCV binaries. Copying opencv_ffmpeg248.dll to the executable's directory

Rotate video with Mp4parser

谁说我不能喝 提交于 2019-12-07 01:13:41
问题 I need to rotate a video to adjust some of my needs. I'll explain the details on the following list. I'm creating a Vine like app. I have to record video segments and then merge all the parts into just one file. I'm doing this without issue on an Android app using mp4 parser library with last version 1.0-RC-26 using the example provided on their website: here The append video example works fine if all the videos have the same orientation but I discovered some issues recording video from the

Camera issue with Motorola DROID RAZR When I recording the video

荒凉一梦 提交于 2019-12-06 08:22:34
问题 I have tested my application on various mobile phones. My applications main functionality is taking pictures and recording video through the phones camera. I didn't face an issue on most of the mobile phones, but I did face this issue on Motorola DROID RAZR. My application works fine when i take a picture. But I'm facing an issue when I record a video. When I record a video, I get a blank screen. There is no preview showing on the mobile screen. I don't why its happening, but on most of the

Can we pause the camera while recording

故事扮演 提交于 2019-12-06 06:10:18
In my application I have timer driven video recording functionality. When the camera is in recording mode and if I click on a button on anywhere on the screen the recording should pause. I should be able to continue recording on clicking again. But there is no pause action for recording video in many of the android devices. Is there any other ways of doing it? I found this link but it doesn't give me any hope. can anybody help me? maddy you can't do that as no inbuilt function is there what you can do it is that whenever you want to pause your app, stop it and start another part, then combine

QT's QMediaRecorder not working - Unable to record from webcam

旧时模样 提交于 2019-12-06 00:59:34
I've been searching everywhere for a solution to this and I've seen some threads here about this problem but without a solution. I'm trying to record a video from two different webcams that I have on my computer. I am able to show the video for both of them but the problem is recording. When I try it nothing happens. No file is saved and the states also never change. Bellow I have attached the code that loads the cameras and the code that loads the QMediaRecorders. I also tried with just one of the cameras and it still doesn't work. The QT example "camera" does not work as well, the option for

gStreamer Video Recording Memory Leak

有些话、适合烂在心里 提交于 2019-12-06 00:22:43
HI I am trying to record rtsp stream coming from camera(H264 format). I am using following gst command to do recording in MPEG4 Format gst-launch -e rtspsrc location=rtsp://10.17.8.136/mediainput/h264 latency=100 ! decodebin ! ffenc_mpeg4 ! avimux ! filesink location=test.mp4 and H264 format gst-launch-0.10 -e rtspsrc location="rtsp://10.17.8.136/mediainput/h264" latency=100 ! rtph264depay byte-stream=false ! capsfilter caps="video/x-h264,width=1920,height=1080,framerate=(fraction)25/1" ! mp4mux ! filesink location=testh264.mp4 Both are doing recording but i have observed that There is RAM

Rotate video with Mp4parser

不问归期 提交于 2019-12-05 05:41:40
I need to rotate a video to adjust some of my needs. I'll explain the details on the following list. I'm creating a Vine like app. I have to record video segments and then merge all the parts into just one file. I'm doing this without issue on an Android app using mp4 parser library with last version 1.0-RC-26 using the example provided on their website: here The append video example works fine if all the videos have the same orientation but I discovered some issues recording video from the front camera so the quick solution was to set the video orientation recording on 270. The bad part on