Comments (3)
将MAX_COUNT_RANGE设置为VIDEO_MAX_TIME后,可以规避这个问题,但是出现个新问题,seekbar显示的时长比真实时长差1秒。
还有就是以上问题我是用30秒以上的视频测试的
from android-video-trimmer.
将
public static final int THUMB_WIDTH = (SCREEN_WIDTH_FULL - RECYCLER_VIEW_PADDING * 2) / VIDEO_MAX_TIME;
改为
public static final int THUMB_WIDTH = (SCREEN_WIDTH_FULL - RECYCLER_VIEW_PADDING * 2) / MAX_COUNT_RANGE;
后正常了
from android-video-trimmer.
@Noah1991 thanks,
for everyone wants to change VIDEO_MAX_TIME
just change public static final int THUMB_WIDTH = (SCREEN_WIDTH_FULL - RECYCLER_VIEW_PADDING * 2) / MAX_COUNT_RANGE;
from android-video-trimmer.
Related Issues (20)
- android.view.InflateException: Binary XML file line #9: Error inflating class com.example.VideoTrimmerView HOT 1
- 三星手机裁剪视频失败,”正在裁剪视频“Dialog长时间不消失 HOT 2
- Avi files with codec MjPEG throws FIle not found exception HOT 6
- 剪辑的时候 锁屏 在解锁 所剪裁的视频时长会变长 。设置剪裁时间 截图会比较模糊。
- 老铁,这么多分支,那个是最新维护的呢 HOT 2
- 视频合成 HOT 2
- Reset HOT 11
- android Q 没有适配 HOT 20
- 裁剪时间不一致 HOT 4
- I'am trying loop VideoTrimmerUtil.trim, but only one save to cache directory. HOT 2
- No such file or directory HOT 2
- 怎么改成视频拖动马上播放,不需要按播放键 HOT 1
- 裁剪的过程中,切换到后台,app 会被杀死。 HOT 1
- Stuck on the trimming video dialog in Samsung phone. HOT 11
- 没有实现视频录制吗 HOT 1
- mov and wmv format not woking in library HOT 1
- apk 包太大
- Unable to compile this project in android studio HOT 2
- Not showing Video List after compiling HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-video-trimmer.