expo-ffmpeg-kit-example icon indicating copy to clipboard operation
expo-ffmpeg-kit-example copied to clipboard

This doesn't work in expo sdk 49

Open Aycom366 opened this issue 1 year ago • 2 comments

I followed the example project and anytime I run ffmpeg.init(), I'm always greeted with ffmpegKitConfig.init() Cannot read property 'getLogLevel' of null

This happens both in Android and IOS. Any help will be appreciated because I don't wanna start another project but this time around with react native CLI because of this issue. Thanks. @dpolyakov

Aycom366 avatar Jan 14 '24 14:01 Aycom366

I followed the example project and anytime I run ffmpeg.init(), I'm always greeted with ffmpegKitConfig.init() Cannot read property 'getLogLevel' of null

This happens both in Android and IOS. Any help will be appreciated because I don't wanna start another project but this time around with react native CLI because of this issue. Thanks. @dpolyakov

Did you ever find a solution to this @Aycom366 ? I encounter the same error although I noticed one thing. The first time I attempt to run the code I get:

Possible Unhandled Promise Rejection: TypeError: Cannot read property 'getLogLevel' of null

and the second time I get

Possible Unhandled Promise Rejection: TypeError: Cannot read property 'ffmpegSession' of null

cdb8987 avatar Feb 05 '24 16:02 cdb8987

@cdb8987 delete both your Android and Ios folders and build both platforms fresh.

It will work after doing the above

Aycom366 avatar Feb 06 '24 08:02 Aycom366