iknow4x / Android-Video-Trimmer

The Android-Video-Trimmer project implements the selection of clips for long and short videos. It uses MediaMetadataRetriever to obtain video frames, and uses ffmpeg for video cropping and video compression.
Apache License 2.0
1.09k stars 262 forks source link

Avi files with codec MjPEG throws FIle not found exception #44

Closed rahulvyas closed 4 years ago

rahulvyas commented 4 years ago

Hi,

When I pick avi file encoded with MjPEG codec I am getting file not found exception in logs. Do you have any idea how to catch this exception or how to run the avi video ?

iknow4x commented 4 years ago

I need to test with an avi file. Can you upload an avi video file here?

rahulvyas commented 4 years ago

Here you go https://www.dropbox.com/s/iyo0pot2ryfyteq/PICT0021.AVI?dl=0

Download from dropbox to directly into your phone storage and then check.

rahulvyas commented 4 years ago

@iknow4 did you tested the AVI file ? You haven't replied anything and you closed the issue..

iknow4x commented 4 years ago

@iknow4 did you tested the AVI file ? You haven't replied anything and you closed the issue..

i have fix this issue and tested. this is the commit: https://github.com/iknow4/Android-Video-Trimmer/commit/91e77cf0db68f2842a2d7e3866a5a87564dd58e9

rahulvyas commented 4 years ago

Have you merged this into master or any other branch with this fix included ?

iknow4x commented 4 years ago

Have you merged this into master or any other branch with this fix included ?

yeah, i hava merged to the master branch.