a914-gowtham / android-video-trimmer

Helps to trim local videos with compress option on Android applications using Exoplayer 2 and FFmpeg.
Other
380 stars 117 forks source link

protocol not found. "failed to trim" #96

Closed angelkoh closed 1 year ago

angelkoh commented 1 year ago

I got the following error in the logcat

   E  content://com.android.providers.media.documents/document/video%3A1000022504: Protocol not found
   E  Did you mean file:content://com.android.providers.media.documents/document/video%3A1000022504?

this is what i did: I pass in the video Uri string to TrimVideo.activity() .

   TrimVideo.activity(it.toString()) .start(this, requestTrimVideo)

I can see the video and I can move the slider around. but after that, when I click the tick to accept the changes, I get the "failed to trim" popup.

how do I resolve this ?

angelkoh commented 1 year ago

it seems to be linked to this stackoverflow issue https://stackoverflow.com/questions/72159779/android-studio-ffmpeg-protocol-not-found

a914-gowtham commented 1 year ago

it seems to be linked to this stackoverflow issue https://stackoverflow.com/questions/72159779/android-studio-ffmpeg-protocol-not-found

@angelkoh will look into it

a914-gowtham commented 1 year ago

@angelkoh and can you try using v1.7.3

angelkoh commented 1 year ago

v1.7.3 works.

a914-gowtham commented 1 year ago

@angelkoh great. removed v1.7.4 changes in v1.7.5