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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reset

1appstudio opened this issue · comments

I have implemented your code, It works great. But I need to refresh all the component once I changed the video. Here I changed VideoTrimmerview, recycle Adapter but cant refreshing RangeSeekBarView. Please help us.

How can I reset the trimmer view on button click

commented

Can you tell me what problem you are encountering now, is there a screenshot or a related error log?

I have three placeholders, I can add three videos, selecting each placeholder, VideoTrimmerView is loaded. Now each video has different seconds.

The trimmer view & Adapter(Thumbnail & seconds) is not getting refreshed.

We are using the below code to load the videos into the VideoTrimmerview.
trimmerView.initVideoByURI(Uri.parse(selectedVideos.get(0).toString()))

I have loaded one video into the Trimmerview, now I want to change the video and its Thumbnail adapter & RangeSeekbar without going back to the previous screen, how can I achieve it.

commented

when you loaded one video into the Trimmerview, and you want to change the video and its Thumbnail adapter & RangeSeekbar without going back to the previous screen. now, I understand that what you mean is you need a button on Trimmerview page to select other videos to load to the Trimmerview page, right?

commented

I suggest you can send a few pictures to explain your intentions, you know, a picture is worth a thousand words!

when you loaded one video into the Trimmerview, and you want to change the video and its Thumbnail adapter & RangeSeekbar without going back to the previous screen. now, I understand that what you mean is you need a button on Trimmerview page to select other videos to load to the Trimmerview page, right?

Yes exactly

when you loaded one video into the Trimmerview, and you want to change the video and its Thumbnail adapter & RangeSeekbar without going back to the previous screen. now, I understand that what you mean is you need a button on Trimmerview page to select other videos to load to the Trimmerview page, right?

Yes, this is what I want. Please help us to implement

commented

when you loaded one video into the Trimmerview, and you want to change the video and its Thumbnail adapter & RangeSeekbar without going back to the previous screen. now, I understand that what you mean is you need a button on Trimmerview page to select other videos to load to the Trimmerview page, right?

Yes, this is what I want. Please help us to implement

I don't know how to help you, I think this is a problem of page friendly design.

Please find the preview of the player we are using https://www.dropbox.com/s/xmokrmpuxu99rcs/QueryImage.png?dl=0

Do you have any suggestion?

commented

Please find the preview of the player we are using https://www.dropbox.com/s/xmokrmpuxu99rcs/QueryImage.png?dl=0

Do you have any suggestion?

I think this page is well designed.