vvvirani / flutter_audio_trimmer

Trimming an audio file means cutting a portion of the audio from the beginning or end of the file or removing some part from the middle.
MIT License
1 stars 2 forks source link

error on clicking trim file after selecting the audio file #1

Closed shabaad closed 1 year ago

shabaad commented 1 year ago

I/flutter ( 3277): MissingPluginException(No implementation found for method trim on channel vvvirani/flutter_audio_trimmer)

vvvirani commented 1 year ago

Ok i will check and update you.

shabaad commented 1 year ago

Now shows "lateinit property ffmpeg has not been initialized" in snackbar after selecting file and clicking trim audio

screenshot : ac163028-3d9a-4bd5-9d86-a67eec71bad1

vvvirani commented 1 year ago

Are you using the latest version ?

vvvirani commented 1 year ago

Hello, I have fixed error

User flutter_audio_trimmer 0.0.4 version

shabaad commented 1 year ago

Used latest version 0.0.4 but showing invalid arguments in snackbar... Also checked with different device Error : D/FFmpeg ( 9829): Build.CPU_ABI : arm64-v8a I/FFmpeg ( 9829): Loading FFmpeg for armv7 CPU W/com.example.flutter_application_1222( 9829): type=1400 audit(0.0:95590): avc: granted { execute } for comm=4173796E635461736B202331 name="ffmpeg" dev="dm-9" ino=185655 scontext=u:r:untrusted_app:s0:c171,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c171,c257,c512,c768 tclass=file app=com.example.flutter_application_1222 E/FFmpeg ( 9829): Exception while trying to run: [Ljava.lang.String;@e8c145c E/FFmpeg ( 9829): java.io.IOException: Cannot run program "/data/user/0/com.example.flutter_application_1222/files/ffmpeg": error=13, Permission denied E/FFmpeg ( 9829): at java.lang.ProcessBuilder.start(ProcessBuilder.java:1050) photo_6192986384772478194_y