video-recording

Add Date and time on recorded video

断了今生、忘了曾经 提交于 2020-01-01 00:46:10
问题 In my application there feature of recording video, I want to add time and date details on the recorded video. Simply i can add while it running within the app but what i want to do is If i export that video in Photo app or email that video, than also date and time should be there. I checked this sample code from apple but in this text can be static that will remain same all time. AVSimpleEditor Can any one guide me or any link ? How to add time stamp detail on video.. Thanks for any help.

How to record video using AudioVideoCptureDevice in WP8

萝らか妹 提交于 2019-12-31 02:02:04
问题 Here its stated that I can record video using AudioVideoCaptureDevice but there is no sample or help provided. I need to do the following things: - record the video into a stream DONE - display a thumbnail of video recorded (can be a frame captured while video recording) DONE - replay the video recorded DONE - change resolution and type of camera (front/back) DONE How to achieve this? Are there any samples? I am unable to find them. Please help me. DONE - record the video into a stream -

What is the best way to record a video with augmented reality

亡梦爱人 提交于 2019-12-28 18:39:11
问题 What is the best way to record a video with augmented reality? (adding text, images logo to frames from iPhone/iPad camera) Previously I was trying to figure out how to draw into CIImage (How to draw text into CIImage?) and convert CIImage back to CMSampleBuffer (CIImage back to CMSampleBuffer) I almost did everything, only have problem with recording video using new CMSampleBuffer in AVAssetWriterInput But this solution anyway isn't good at all, it eats a lot of CPU while converting CIImage

Unable to copy file to destination

假装没事ソ 提交于 2019-12-25 18:58:10
问题 I'm trying to record a video of the emulator. But I'm getting this error. Unable to copy file to destination: C:\Users\Ali The Greatest.android\avd\Nexus_5X_API_29_x86.avd\tmp.webm Are there anyone that had this error before? Or do you know how to change the default destination? 回答1: If you are using an AVD, make sure "Use host GPU" is disabled . To take a video recording of your app: Start your app as described in Run your App in Debug Mode. Click Android to open the Android DDMS tool window

how to get the time duration of recorded video in iphone app

蓝咒 提交于 2019-12-23 21:01:49
问题 I am recording video in iPhone I want to get the recorded duration time of video. Is there any way to get the recorded video duration time. Here is the code where I get the recorded video along with path. if ([type isEqualToString:(NSString *)kUTTypeVideo] || [type isEqualToString:(NSString *)kUTTypeMovie]) { NSURL*videoURL = [info objectForKey:UIImagePickerControllerMediaURL]; videoData = [[NSData dataWithContentsOfURL:videoURL] retain]; NSArray *paths = NSSearchPathForDirectoriesInDomains

gStreamer Video Recording Memory Leak

此生再无相见时 提交于 2019-12-22 11:11:08
问题 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" !

Selenium Grid Video Recording

感情迁移 提交于 2019-12-21 01:41:27
问题 I'm trying to record videos of my Selenium-Tests. These Tests run parallel on Selenium Grid. I wanted to open a VNC-Server for each firefox and then start recording. So one grid-node would open 5 vncservers and then a program like 'recordMyDesktop' would record each one of them and store them in a different file. I found this: http://www.theautomatedtester.co.uk/blog/2010/castro-selenium-video.html but not for Java and Grid... Thank you in advance Richard (My environment is Firefox on Linux)

Record Video using surface view android

拈花ヽ惹草 提交于 2019-12-20 09:55:15
问题 I have to create an android app in which i am trying to record video and capture image using surface view. Up to now i am able to capture video but facing problem in record video. My code for video recording is - onCreate(){ .. surfaceHolder = surfaceView.getHolder(); surfaceHolder.addCallback(this); surfaceHolder.setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS); startRecording(); . . } protected void startRecording() throws IOException { if(mCamera==null) mCamera = Camera.open(); String

How to video record with specific sound programmatically in android?

断了今生、忘了曾经 提交于 2019-12-18 16:50:11
问题 I have created functionality to record video in my app. When I play a song, that song is recorded with video and a video file is created, similar to a dubshmash application. Now the problem that I am facing is that other voices such as near by sounds also get recorded. The song file is recorded in the video record screen and I play the song when video recording activity launches. How can I have my application record only song with video? mediaRecorder.setAudioSource(MediaRecorder.AudioSource

how to record from front camera

爱⌒轻易说出口 提交于 2019-12-18 07:08:37
问题 I have to record the video from the front camera only, I Googled a lot, but have not been able to find a solution (simple) if i set the cameratype to 1, the app crashes .. here is my code import java.io.File; import java.io.IOException; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.pm.ActivityInfo; import android.media.CamcorderProfile; import android.media.MediaRecorder; import