react-native-nodemediaclient
react-native-nodemediaclient copied to clipboard
Issue when using react-native-ffmpeg with react-native-nodemediaclient
Description I am experiencing a library configuration mismatch when using react-native-ffmpeg in the same project where im using react-native-nodemediaclient.
Expected behavior Process video data with FFmpeg and output processed file to new path.
Current behavior FFmpeg fails and displays message "Unable to find a suitable output format for '/path/to/output/file.mp4'"
Logs [Tue Mar 30 2021 08:12:04.318] LOG WARNING: library configuration mismatch [Tue Mar 30 2021 08:12:04.318] LOG avutil configuration: NodeMedia Build 1 [Tue Mar 30 2021 08:12:04.319] LOG avcodec configuration: NodeMedia Build 1 [Tue Mar 30 2021 08:12:04.319] LOG avformat configuration: NodeMedia Build 1 [Tue Mar 30 2021 08:12:04.319] LOG swscale configuration: NodeMedia Build 1 [Tue Mar 30 2021 08:12:04.320] LOG swresample configuration: NodeMedia Build 1 [Tue Mar 30 2021 08:12:04.320] LOG libavutil 56. 55.100 / 56. 22.100 [Tue Mar 30 2021 08:12:04.320] LOG libavcodec 58. 96.100 / 58. 35.100 [Tue Mar 30 2021 08:12:04.321] LOG libavformat 58. 48.100 / 58. 20.100 [Tue Mar 30 2021 08:12:04.321] LOG libavdevice 58. 11.101 / 58. 11.101 [Tue Mar 30 2021 08:12:04.321] LOG libavfilter 7. 87.100 / 7. 87.100 [Tue Mar 30 2021 08:12:04.322] LOG libswscale 5. 8.100 / 5. 3.100 [Tue Mar 30 2021 08:12:04.322] LOG libswresample 3. 8.100 / 3. 3.100
Hi @sammy1991 Are you able to fix this issue?
Hi @JeyShah i did find a solution for my project. Instead of using react-native-mediaclient, I made my own native module using https://github.com/shogo4405/HaishinKit.swift I can show you my source code if you wish.
Can you share your source code and explain what all things you wanted to achieve?
Hi @JeyShah i did find a solution for my project. Instead of using react-native-mediaclient, I made my own native module using https://github.com/shogo4405/HaishinKit.swift I can show you my source code if you wish.