Questions tagged [mobile-ffmpeg]

49 questions
1
vote
1 answer

Android - how to register a new FontConfig using FFmpegKitConfig.setFontDirectory

I am using ffmpeg-kit to burn a subtitle into a mp4 file , based on their tips here, I need to register a font or specify a fontconfig configuration under Android , but I dont know how to do that. in the tips , they suggest to use…
ebdaa app
  • 11
  • 2
1
vote
0 answers

No audio to youtube stream using ffmpeg

My Stream File.. stream.sh #! /bin/bash VBR="1500k" FPS="30" QUAL="ultrafast" YOUTUBE_URL=" rtmp://a.rtmp.youtube.com/live2" YOUTUBE_KEY="**********" VIDEO_SOURCE="video.mp4" AUDIO_SOURCE="Selfish.mp3" AUDIO_ENCODER="aac" ffmpeg \ -stream_loop…
Devil
  • 11
  • 2
1
vote
0 answers

Compress video with FFmpeg directly from mobile camera

Is there a way to record video in mobile and compress it with FFmpeg along the way, instead of recording it and only then using FFmpeg to compress it? This solution would allow the device to record videos even when the available space in disk is…
fff
  • 199
  • 2
  • 10
1
vote
0 answers

Is it possible to preview ffmpeg's output using ffplay in react native?

Am building a mobile-based video editor using ffmpeg-kit/react-native https://github.com/tanersener/ffmpeg-kit/tree/main/react-native. when I use complex filter it took me approx 0.5-1 mins to apply filter and then I become able to present how the…
1
vote
0 answers

How to reduce compression time and maintain quality of video at same time, FFMPEG library android

i am using FFMPEG library to compress video and able to achieve a normal quality also. But if i try improving the resolution, compression time increases. The output should be such where a standard video output is achieved, along with very high…
Ankit Ostwal
  • 1,033
  • 3
  • 14
  • 32
1
vote
2 answers

Android - merge videos taken with front and back cameras

I am having an orientation problem when merging videos taken with front and back cameras in portrait, recorded using Android CameraX. This issue is explained here, but I am yet to find a working solution. I have tried multiple solutions, such as…
1
vote
1 answer

FFmpeg error while adding watermark: Not overwriting - exiting

I'm implementing a video editing feature on my Flutter App using the Flutter-FFmpeg package, [Adding watermarks on video] specifically, while executing the code I got this error: E/mobile-ffmpeg( 5731): Not overwriting - exiting D/flutter-ffmpeg(…
1
vote
0 answers

mobile-ffmpeg: No such file or directory

I'm using mobile-ffmpeg to convert a .mp4 file to .mjpeg file so that it can be processed by opencv, the problem is it cannot find the file this is my code: File video = new File(GlobalValue.uri.getPath()); File dfanFolder = new…
Thong
  • 11
  • 2
1
vote
0 answers

My ffmpeg commands result in very compressed video when blending with music. TYIA

I have a flutter app that combines music with video. Below is the command I am using, but the resulting video has a very blurry/compressed look. Any help would be greatly appreciated! -i $pathOfVideo -i $_localMusic -y -map 0:v -map 1:a -shortest…
DCnative
  • 11
  • 3
1
vote
0 answers

Not Able to trim my video using "mobile-ffmpeg" / "ffmpeg-kit"

I am using 'com.arthenica:ffmpeg-kit-full:4.4.LTS' for trimming my video. I posted my code below, which I used to trim the video but every time it goes to the else block(every time my trimming fails) . Please help me out val cmd = arrayOf("-i",…
UMESH GARG
  • 11
  • 1
1
vote
1 answer

Flutter FFMPEG: Error setting profile baseline

Flutter-ffmpeg unable to set profile parameter. (I need to use profile so the rendered video can be played on WhatsApp). I am converting.bmp images into a mp4 video. Other I have tested other praramets and the work great it's only -profile:v which…
Raj Dhakad
  • 852
  • 2
  • 17
  • 39
1
vote
1 answer

Cannot use Mobile FFmpeg and LibVLCSharp together in Xamarin.Forms project

I am adding video stream capture functionality to a Xamarin Forms project. I am trying to use VLC's LibVLCSharp.Forms (https://github.com/videolan/libvlcsharp) package and the Mobile ffmpeg Xamarin wrapper package, Laerdal.Xamarin.FFmpeg.*…
1
vote
1 answer

Ffmpeg Android - Minimum binary size to convert WAV to MP3

The only thing I want to do is convert wav files to mp3 inside my Android application. I am currently using https://github.com/tanersener/mobile-ffmpeg and with audio-release everything is working fine. As the lib size is about 40 MB and I only need…
timson
  • 43
  • 3
0
votes
0 answers

Ffmpeg - Reading header information takes too long

I am using ffmpeg-kit to encode videos on android devices. For some files ffmpeg takes too long to read the header information. This issue happens very randomly. Sometime the execution completes within 1 or 2 seconds, sometime it takes longer than…
Yeamin Chowdhury
  • 502
  • 1
  • 9
  • 19
0
votes
1 answer

Run FFMPEG command with commas and single quotes

I am using FFMPEG-Kit for iOS BUT this issue applies to all releases of FFMPEG-Kit... within my command I run [1:v]format=argb,geq=r='r(X,Y)':a='0.5*alpha(X,Y)'[withOpacitySet] but it does not work, if I run the command without that it runs…
sivafe9540
  • 23
  • 7