-
-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iPhone 16 Pro and Pro Max compression issues #313
Comments
👋 @paulsizer |
I too am seeing this bug on iOS devices. The compressor (version 1.9.0) is returning the original uncompressed URL. Here is the code I am using:
|
Any help with this and how to go about fixing this? Seems to be mostly happening with iPhone 16 users on my end. |
@numandev1 Any info on this? |
Same issue here, I get a few progress updates, up to like 0.008, and then it returns the original URI no matter what params I use. It doesn't matter if I use HEVC or H264. Using 16 Pro Max. With an XS Pro Max things work. |
the same here |
I had the same issue. I converted the file to MP4 format using ffmpeg-kit-react-native and then compressed it, and it worked. |
@LazyGeniuss I did the same in the end and used ffmpeg-kit-react-native for conversion and compression. |
@LazyGeniuss What were your params for ffmpeg-kit-react-native? Could you share? |
@paulsizer I used this command as this single command handle both compression and conversion.
Before executing this command you have create a outputFile with mp4 extension. For detailed explanation about each param you can to https://transloadit.com/devtips/reducing-video-file-size-with-ffmpeg-for-web-optimization/ |
I dug further into this issue and found that this library uses NextLevelSessionExporter under the hood, which is unable to process the APAC audio codec. The following comment provides the fix for the problem. |
@LazyGeniuss can you make a pull request for this fix? |
@LazyGeniuss let me make PR for it |
@paulsizer @LazyGeniuss could someone check if this issue is fixed in 1.10.1-alpha.0 or not, so I can release proper version after verification |
@numandev1 It works. |
v1.10.1 released |
can someone check the 1.10.3 version if this version fixes the issue or not |
@numandev1 Tried 1.10.3, it works fine |
Current behavior
I seem to be having issues compressing videos recorded on iPhone 16 Pro and 16 Pro Max devices that are in the high efficiency setting for capturing video. This videos are in a .mov video file.
If I record a video on my iPhone 14 Pro the video compresses as normal but when testing with a video recorded on the 16 Pro models and trying to compress it results in the exact same file being returned.
Expected behavior
The file compresses to a MP4 file
Platform
React Native Version
0.74.1
React Native Compressor Version
1.9.0
Reproducible Steps And Demo
The text was updated successfully, but these errors were encountered: