-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
[IOS] Is it possible to record a Mp4 video #2032
Comments
Well, we are using both I know for a fact that it works for us, the only thing that we do is we are swapping the extensions from If you want it to make it, as compatible as possible with as much devices as possible, I would recommend one of two solutions: P.S on Android we are using |
Currently it is not possible to record Also I can play both Also keep in mind that since iOS 11 Therefore I would always recommend you to convert your video files on the backend (e.g. using aws lambda function with ffmpeg or some SAAS service). Of course the current situation is not perfect and I would love some feedback and contributions in order to resolve some headaches. From an developer perspective I would expect both the android and the ios implementation to return the same container format. |
Sorry for late reply, that was my mistake, because after i command with react-native link, i did not check the react-native-video was integrated. So that's why the app was crash. @n1ru4l rename the file is work for me, but for your information, IOS 11 HVEC is not work for android and previous IOS version, and also android devices produce mp4 files that cannot be played on iOS devices and the QuickTime Player. So that why we need backend to convert all the video to mov which is fits all the android and IOS device, am i correct? |
@Iamivan1996 You do not have to convert it to |
I think MP4 with H264 codec set to profile:
So it seems Baseline level 3.0 would be enough for IOS, Android implementation of So in the end, maybe try H264 Baseline level 3.1. More sources: Hope it helps |
Question
To Do First
Ask your Question
I am going to develop an app is to recode a video and upload the video to server. Also, user can view their video. The supporting video player library is react-native-video, but it is only support Mp4 format
i have already find any solution on how to record a mp4 video or convert mov to mp4, i am just only found out react-native-beautiful-video-recorder can convert MOV to MP4 on iOS, it said the video recorder component that extends from react-native-camera. I have not test the react-native-beautiful-video-recorder is it work or not, but just want to know how to recode MOV or convert MOV to MP4 on iOS by react-native-camera without changing the library to react-native-beautiful-video-recorder
Even i have found the react-native-mov-to-mp4 library here , but it is not working or no longer work. Any idea?
Tags
The text was updated successfully, but these errors were encountered: