Questions tagged [ffmpegkit]

12 questions
2
votes
2 answers

FFmpeg command to capture Audio from Android mobile

I'm trying to capture Audio from my Android mobile using FFmpeg. Tried the below commands and the recorded clip has no Audio in it, it's just a dark black screen with no audio/video. Basically, I want to stream the live microphone audio to the RTSP…
Uday
  • 1,619
  • 3
  • 23
  • 48
1
vote
2 answers

Missing Library Error in Mac Catalyst when distributed through Testflight

The iOS version of the app is functioning correctly on TestFlight, and there are no issues when building the Mac Catalyst version of the app from Xcode. However, when distributing the app to TestFlight for Mac Catalyst, the FFmpegkit library fails…
STerrier
  • 3,755
  • 1
  • 16
  • 41
0
votes
0 answers

I use the ffmpeg_kit_flutter which take a list of image and make a video and when i run my app it show error

I use the ffmpeg_kit_flutter which take a list of image and make a video and i am not be able to run my app. Future createVideoFromImages(List images) async { final tempDir = await getTemporaryDirectory(); final videoPath =…
0
votes
0 answers

how to add watermark to the videos without lossing its quality and faster in flutter

i have used ffmpeg_kit_flutter: ^5.1.0 to add watermark to the videos. using below command : "-i $videoPath -i $watermarkImagePath -filter_complex \"[1:v]scale=w=$scaledWatermarkWidth:h=$scaledWatermarkHeight[v1];[0:v][v1]overlay=W-w-5:H-h-5[v]\"…
Sumita Naiya
  • 387
  • 1
  • 13
0
votes
0 answers

How to combine multiple Audio Files into single using ffmpeg_kit_flutter

I want to play multiple Audio files in a sequence to form a question for the users. For that, I tried the AudioPlay package in the loop but they took some pause to play it in between which did not look good. So as the alternative I want to combine…
sunil kalwani
  • 636
  • 2
  • 11
  • 24
0
votes
0 answers

Convert m3u8 file to mp4 file in React Native Expo

How can I convert m3u8 file to mp4 file in React Native Expo? I have tried to convert m3u8 file to mp4 using FFmpegKit but I have this errors: 'Cannot read property 'getLogLevel' of null' and 'Cannot read property 'ffmpegSession' of null' Also…
DRx
  • 21
  • 4
0
votes
0 answers

Ffmpeg not working in background when target SDK updated to 33

I am using FFMPEGKit library in my android project. (https://github.com/arthenica/ffmpeg-kit). After updating the targetSdkVersion of my android app from 31 to 33, the compression feature stopped working in the background. The compression feature…
Rahul Vyas
  • 28,260
  • 49
  • 182
  • 256
0
votes
0 answers

Android FFmpegKit merging audio with video file has problem

I am using FFmpegKit to add audio to a video file. But it has a problem. I am recording video using camera2api. If I add raw music resource mp3 after writing it to a file it works. If I do voice recording and add it to the video it also works. But…
Rohaitas Tanoli
  • 624
  • 4
  • 16
0
votes
0 answers

ffmpeg kit android Cannot add audio to some videos

I am using the following ffmpeg kit libray in Android To add music to video file. implementation 'com.arthenica:ffmpeg-kit-full-gpl:5.1' And I am using the following command to add audio.mp3 file to the video.mp4 file. StringBuilder…
Rohaitas Tanoli
  • 624
  • 4
  • 16
0
votes
1 answer

Unable to find a suitable output format for ffmpeg android

This is the command. I am trying to merge audio into video. val tempFile = File(requireActivity().cacheDir, "output.mp4") tempFile.createNewFile() Log.e(TAG, ": " + tempFile.length()) val command: String = "ffmpeg \\\n" + " -i $video…
Rohaitas Tanoli
  • 624
  • 4
  • 16
0
votes
2 answers

Running 'nmake' '-?' failed with: The system cannot find the file specified

I am trying to run ./android.sh and command fails with below error on Git Bash. I am using windows 64 bit. I am following this Building ffmpeg-kit library for Android Architectures: arm-v7a, arm-v7a-neon, arm64-v8a, x86, x86-64 Libraries:…
Android Developer
  • 9,157
  • 18
  • 82
  • 139
-1
votes
2 answers

Can we Stream Live Audio from Android phone using FFmpeg?

Im using ffmpeg_kit_flutter package to Stream data to the RTSP server in Flutter. IOS : Working Android : Its not working Command Used : 'ffmpeg -f avfoundation -i ":0" -acodec aac -f rtsp -rtsp_transport tcp "$Url"' When i ran a "ffmpeg -devices"…
Uday
  • 1,619
  • 3
  • 23
  • 48