Open KY-Jung opened 5 months ago
Hi, I'm a flutter developer.
I want to create audio file changer which does trim. With flutter audio trimmer, mp3 is not allowed in android environment. Like following code, when m4a is used, it will succeed.
File? trimmedAudioFile = await FlutterAudioTrimmer.trim( inputFile: file, outputDirectory: directory, fileName: DateTime.now().millisecondsSinceEpoch.toString(), //fileType: Platform.isAndroid ? AudioFileType.mp3 : AudioFileType.m4a, fileType: AudioFileType.m4a, time: AudioTrimTime( start: const Duration(seconds: 1), end: const Duration(seconds: 2), ), );
Hello @KY-Jung
Yes, currently I am working on it. Please give me some time. I will update you
Hi, I'm a flutter developer.
I want to create audio file changer which does trim. With flutter audio trimmer, mp3 is not allowed in android environment. Like following code, when m4a is used, it will succeed.