-
Notifications
You must be signed in to change notification settings - Fork 298
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
App crashes on some videos on iOS #31
Comments
@Martibis I also encountered this problem, I tried your PR, but I don’t have permission to merge your PR. |
That makes the two of us I hope @jonataslaw will find some time to take a look at it, and if it's all good hopefully merge and update the package accordingly. |
@Martibis @jonataslaw This PR is effective and solved my crash. |
@jonataslaw can you update in pub.dev too? |
i have this issued. please drop new version for solved it. |
EDIT TWO:
This might be the fix: https://github.com/rurico/flutter_video_compress/pull/61/files I created a pull request based on this
Description
On iOS (possibly on Android too, but not tested extensively enough), with certain video files the app crashes. Is this the behavior if it finds a file it can not compress? If so, would it be possible to share a list with the video types that are supported?
EDIT: Just tested on Android the problem does not persist.
Platform
IOS
More info
The file with following media info does not work on iOS (complete different on phone as I transferred it to my desktop):
General
Complete name : C:\Users\Msi\Desktop\F910ADD0-059A-4592-9303-B22A0B810922.MP4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom (isom/iso2/avc1/mp41)
File size : 6.38 MiB
Duration : 1 min 10 s
Overall bit rate mode : Variable
Overall bit rate : 754 kb/s
Encoded date : UTC 2015-04-27 16:53:10
Tagged date : UTC 2015-04-27 16:53:10
Writing application : Lavf52.62.0
Comment : FlixEngine_8.1.0.2
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Baseline@L3
Format settings, CABAC : No
Format settings, ReFrames : 1 frame
Format settings, GOP : M=1, N=60
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 1 min 10 s
Bit rate : 655 kb/s
Width : 270 pixels
Height : 480 pixels
Display aspect ratio : 0.563
Frame rate mode : Variable
Frame rate : 30.000 FPS
Minimum frame rate : 29.412 FPS
Maximum frame rate : 30.303 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.168
Stream size : 5.51 MiB (86%)
Encoded date : UTC 2015-04-27 16:53:10
Tagged date : UTC 2015-04-27 16:53:10
Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 1 min 10 s
Bit rate mode : Variable
Bit rate : 96.0 kb/s
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 kHz
Frame rate : 46.875 FPS (1024 spf)
Compression mode : Lossy
Stream size : 832 KiB (13%)
Encoded date : UTC 2015-04-27 16:53:10
Tagged date : UTC 2015-04-27 16:53:10
The text was updated successfully, but these errors were encountered: