GPUVideo-android icon indicating copy to clipboard operation
GPUVideo-android copied to clipboard

Saving fails on some devices

Open mhtechdev opened this issue 5 years ago • 5 comments

Saving a video using the MP4Composer fails on some devices, mostly Samsung Galaxy devices and Redmi. It ends in the OnFailed of the Mp4Composer, with exception.getMessage() returning null.

It also seems to only happen with some videos, on some devices. I have received a video which fails on one of those devices, but it works fine on my phone.

Any idea what could cause this? Unfortunately I don´t own any of those devices myself, so I am unable to dig deeper into the issue. It works fine on any device I have tested on. I am using the library in my app and some users have reported this problem.

mhtechdev avatar Mar 19 '20 12:03 mhtechdev

@mhtechdev hi. have you found any solution for this ? i am also facing this issue on samsung s6.

Hassaan68 avatar Mar 30 '20 09:03 Hassaan68

No, unfortunately not. As I am unable to replicate it on any of my devices, it is hard for me to debug. Have you tried to figure out where exactly it fails?

mhtechdev avatar Mar 30 '20 09:03 mhtechdev

No, i am looking into it. the problem is that it fails randomly. not been able to find exact reason.

Hassaan68 avatar Mar 30 '20 09:03 Hassaan68

Ok, please let me know if you find anything. Also, make sure that you dont use the same instance of filters you use for preview (if applicable), as that has been causing problems for me before.

mhtechdev avatar Mar 30 '20 09:03 mhtechdev

@mhtechdev thanks. i will inform you if i found anything helpful. actually i am using this library to watermark videos. new instance of GlWatermarkFilter and GlFilterGroup for each video

Hassaan68 avatar Mar 30 '20 09:03 Hassaan68