Questions tagged [flutter-ffmpeg]
34 questions
1
vote
0 answers
FFMPEG Merge a video that has sound with an mp3 audio file outputs audio out of sync
An example for further explanation:
I'm recording a video singing at the same time the singer sings in a song.
So, I have a video file(Me singing) and the audio file(the song).
I tried this simple command:
-i $video-i $audio-c copy -map 0:0 -map 1:0…

Mahmoud Eidarous
- 185
- 1
- 2
- 17
1
vote
0 answers
flutter_ffmpeg - Can we trim a part of the video in flutter while recording
I am making a flutter app, in which a user can record a video and pause in between, and when the user pauses the video a clip is formed.
So if the 4 clips are there, then 4th clip can be removed from the video (according to the time of the last…

Mayur Agarwal
- 1,448
- 1
- 14
- 30
1
vote
1 answer
Flutter - How get use data in FFMPEG commands (input & output)
In Flutter, How to use data in FFMPEG commands (input & output).
Like:
ffmpeg -i 1.mp3 -i 2.mp3 -i 3.mp3 -i 4.mp3 -filter_complex "[0:a][1:a][2:a][3:a]amerge=inputs=4[aout]" -map "[aout]" output.mp3
2 Question regarding this command:
What is the…

AIX
- 61
- 2
1
vote
1 answer
How to get coordinates, scale, and rotation data of a widget in flutter?
I am working an app in flutter in which user can add image on a video like the given screenshot. The user should be able to move the image widget anywhere on the screen, resize it, and rotate it also.
For now I have used Stack and…

Sarthak Singhal
- 1,175
- 12
- 16
0
votes
0 answers
Flutter - FFmpeg Kit exit with code 1 when creating video but not converting video
I'm working on simple flutter video converting app, its returning with 'Conversion Failed'. here is my code.
Directory tempDir = await getTemporaryDirectory();
String timestamp = DateTime.now().millisecondsSinceEpoch.toString();
String…

Nasir
- 1
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 =…

توصیف خٹک
- 1
- 1
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
Flutter - FFmpeg Kit exit code 1 when creating video
I'm trying to make a video out of two things:
image
audio file
I want to combine these two things and make a video of it.
Here is my code:
import 'dart:io';
import 'package:ffmpeg_kit_flutter/ffmpeg_kit.dart';
import…

Asad Kareem
- 89
- 7
0
votes
0 answers
Flutter combine a video and audios files from url based strings! using ffmpeg or any tools
This is what I tried and I get the error below;
Error Message
Error: MissingPluginException(No implementation found for method
getTemporaryDirectory on channel plugins.flutter.io/path_provider) at
Object.throw_ [as throw]…
0
votes
0 answers
Below command works on android flutter but not working with ios flutter
This below command is properly working for android flutter but not working on ios flutter ..
It is a link of command ffmpeg can you check it and resolve…

Aman Choudhary
- 1
- 1
0
votes
0 answers
ErrorCode 1 while merging 2 videos
I am trying to merge two videos but have an error code 1.
My command is as follows:
final command =
'-y $commandPaths -filter_complex \'[0:0][1:0]concat=n=${paths.length}:v=1:a=0[out]\' -map \'[out]\' $outputPath';
I see the following…

Stéphane de Luca
- 12,745
- 9
- 57
- 95
0
votes
1 answer
File:: Protocol not found E/mobile-ffmpeg(16657): Did you mean file:File:?
here is the code for file name initialization and video to audio conversion through ffmpeg
Directory direc = (await getApplicationDocumentsDirectory());
Directory directory = Directory(direc.path+"/check");
print(directory.path);
String command =…

momin mobologics
- 1
- 1
0
votes
0 answers
How to position image that added as overlay on video using ffmpeg_kit_flutter
i am trying to overlay image on video using ffmpeg_kit_flutter with the follwoing command
paths
String imagePath = '/data/user/0/com.example.myapp/cache/file_picker/Screenshot_20220902-172941.png';
String videoPath =…

Mohammed Hamdan
- 1,006
- 5
- 23
0
votes
1 answer
Video crop command of FFMPEG not work in flutter
I am trying to crop video using ffmpeg_kit_flutter package in flutter. But my crop command does not work in Samsung M30 device. This device have Android version 10.In other devices crop command works fine. No error log is display from ffmpeg.
I am…

khushbu movaliya
- 127
- 1
- 1
- 12
0
votes
1 answer
Flutter FFMPEG Increases in processing time based on size of video even when only cutting the same size
I am by no means an expert with ffmpeg. But I'm finding it strange that the the time to create a gif and trim that section is increasing so much based on the size of the video since I am always grabbing only three seconds.
I am using flutter…

Chris Matthews
- 446
- 2
- 5
- 14