numandev1 / react-native-compressor

🗜️Compress Image, Video, and Audio same like Whatsapp 🚀✨

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question: can this lib convert files ?

JerakRus opened this issue · comments

Hello, I accidentally came across your library and became very interested. Our application has a chat functionality with the sending of various media files, but the problem is that Android and iOS support the playback of different formats, and also users on the other end can be in different messengers and send files in different formats. To solve these problems and correct playback, we use ffmpeg. Will this library be able to completely replace ffmpeg for us and will it allow converting files into specified formats?

👋 @JerakRus
Thanks for opening your issue here! If you find this package useful hit the star🌟!

@JerakRus Currently we don't support different formate but can add support for multiple output format

Thanks for the answer! @numandev1

If it is possible to complete it, then first of all, support for conversion from aac to ogg format and vice versa is important to us. (ogg is the most common audio message format for instant messengers whatsapp, viber, telegram and others. aac is the one that we can play on ios).

For other, most popular formats (mp3, mp4, jpeg, png, doc, pdf, etc.) it is enough for us that the library has support for them, maintaining the same format when processing them. I'm guessing that's how the latter works? Or are there restrictions on some file formats?