'Convert .mp4 to .webm on react native

i am using expo-camera to record a video but the uri response comes with a .mp4 url, is there a way to convert .mp4 to webm?, just by changing the type to video/webm is not enough once my video, on expo camera documentation i had no lucky

https://docs.expo.dev/versions/latest/sdk/camera/

      const formData = new FormData()
      formData.append('videoFile', {
        uri: video.uri,
        name: video.uri,
        type: 'video/mp4',
      })

      console.log(JSON.stringify(formData))

      setVideo('')
    }```


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source