Questions tagged [slowmotion]

46 questions
15
votes
4 answers

Android capturing slow motion video

How can i capture slow motion video in my app? I tried using mMediaRecorder.setVideoFrameRate(100); but app crashes if i set the value 20 or more with IllegalStateException. I have researched a lot.Normal video is between 24 and 30 fps.To see slow…
Android Developer
  • 9,157
  • 18
  • 82
  • 139
11
votes
1 answer

Android capturing slow motion video using CamcorderProfile

I am trying to capture slow motion video on my Nexus 5x. This is how I am configuring the media recorder: CamcorderProfile profile = CamcorderProfile.get(CamcorderProfile.QUALITY_HIGH_SPEED_HIGH); mMediaRecorder = new MediaRecorder(); // Step 1:…
4
votes
1 answer

No slow motion effect in exported from camera roll video on iPhone 6/6+

I'm developing app that works with video. It makes short movies from recorded or exported from camera roll videos. I need help with some unexpected behavior. When I export video recorded with apple slow motion effect - such effect is lost in video…
Evgeny Karkan
  • 8,782
  • 2
  • 32
  • 38
3
votes
1 answer

ffmpeg motion interpolation for 2x and 4x slowmotion

I recently learn that I can use minterpolate option of ffmpeg for frame interpolation in a video. One of the configuration of this option is fps(frame per second) and I am not sure how I should set it to generate 2x and 4x slow-motion videos. Here…
Mary
  • 31
  • 1
  • 4
3
votes
1 answer

Save Slow motion video with ffmpeg on android devices

I want to save videos in slow motion through my android app.I tried to convert videos into slow motion by changing frame rate. I used the following commands,first command is dumping 30 frames per second from videos to a temp directory, and then…
nkalra0123
  • 2,281
  • 16
  • 17
3
votes
0 answers

iOS set video frame rate

I want to set the frame rate for a specific video (whose fps value is < 30.0f) to make it with a slow-motion effect. I tried to look at the nominalFrameRate property of AVAssetTrack, but this property is read-only. Does anybody know a way in the iOS…
Evgeny Karkan
  • 8,782
  • 2
  • 32
  • 38
2
votes
0 answers

Slow Motion Video Recording with CameraConstrainedHighSpeedCaptureSession not working on Android 11 devices

I need to implement a feature in the Android application where I need to record a slow motion video with at least 120fps, if a device supports it. Now I found the Slow Motion example in the camera2 repository for Slow Motion video…
2
votes
0 answers

Custom Buffer Rendering in NextLevel's slow motion mode

There's a NextLevel video capture library in Swift called "NextLevel". According to NextLevel's description, https://github.com/NextLevel/NextLevel, it supports Custom Buffer Rendering. But I'd like to know it's supported for slow motion mode. So…
SharpAffair
  • 5,558
  • 13
  • 78
  • 158
2
votes
3 answers

Recording slow motion video using MediaCodec on Android

I'm implementing video recording with Android camera. I use MediaCodec to encode frames from onPreviewFrame() callback. Now I want to record slow motion video. How can I set the camera capture rate or frame rate? Where can I set these parameters,…
Zebin Xu
  • 101
  • 1
  • 2
  • 7
1
vote
1 answer

Slowmotion time limit

I made a player in my game, such that it goes into slow-motion when you hold down the space bar. But I want the player to only be available to be in slow-motion for 5 seconds at a time. After 10 seconds the player will be available to go into…
1
vote
1 answer

RuntimeError: CUDA out of memory. Tried to allocate 754.00 MiB (GPU 0; 2.00 GiB total capacity; 1.21 GiB already allocated ...)

I'm trying transform video into high FPS footage using Super-SloMo https://www.youtube.com/watch?v=mXwXtIiOjRA&t=329s and when I run this process in Anaconda prompt it stops after about 30 seconds and shows me this "RuntimeError: CUDA out of…
Nika Maisuradze
  • 45
  • 1
  • 1
  • 5
1
vote
1 answer

Slow motion in C++

I want to do slow motion. I've seen an implementation here: https://github.com/vaibhav06891/SlowMotion I modified the code to generate only one frame. #include #include #include…
Beto
  • 579
  • 1
  • 5
  • 15
1
vote
0 answers

How to export slow motion video (240 fps) from camera roll in objective c?

I am going to work with slow motion video (240fps) selected from camera roll. I've used following code to load asset from camera roll. PHVideoRequestOptions *options = [PHVideoRequestOptions new]; options.version =…
gstream
  • 525
  • 6
  • 18
1
vote
2 answers

Camera2 API Samsung Galaxy S9+ no supported FPS ranges higher than 240?

I have been writing an app using the Camera2 API to capture slow motion footage. I know that the Samsung Galaxy S9+ can record slow motion up to 960 fps and for this particular project I need to record 480 fps. The problem I have is that…
Joao Ventura
  • 65
  • 1
  • 11
1
vote
0 answers

Slow Motion Video Recording in Android

I want to implement slow motion feature in our app. Here is the code that I used. Its making video to move slowly but not smoothly. We want slow motion feature as in default camera app. Is it possible to do so or…
1
2 3 4