Nstd
Nstd
后来查了下,是因为这个地方的设置有问题: https://github.com/wuxiaoqiang625/VideoCompress/blob/4b5e00a43dea85c0a79eae9d5e0059f252f8c300/silicompressor/src/main/java/com/iceteck/silicompressorr/videocompression/VideoController.java#L438 `MediaFormat.KEY_I_FRAME_INTERVAL` 的单位是秒,这里设置成了10秒一个关键帧 在用mediaPlayer seek进度以及获取关键帧都会定位不准 试了下设置成0(每帧都是关键帧),视频会变模糊,设置成1就好了
是因为这里的67行缓存了图片的尺寸导致的。 `mRect` 可以一开始就初始化一个对象(去掉66行),然后67行改成设置 ``` java this.mRectF.set((float)(bounds.left + this.mShadowRadius - this.mOffsetX), (float)(bounds.top + this.mShadowRadius - this.mOffsetY), (float)(bounds.right - this.mShadowRadius - this.mOffsetX), (float)(bounds.bottom - this.mShadowRadius - this.mOffsetY)); ``` https://github.com/zhengcx/ShadowHelper/blob/1d96c3996bfaff6d31a4fb3125ab6f737fbceb84/library/src/main/java/cn/davidsu/library/CustomShadowBackground.java#L63-L76
> 请问目前有解决办法了么。同为webpack5报错,显示 defineOptions is not defined @qq619433305 vue 3 webpack 5 非 TS 使用这个可以:https://github.com/sxzz/unplugin-vue-macros/issues/23#issuecomment-1285433093 ``` js defineOptions({ include: [/\.vue$/, /\.vue\?vue/], }) ```
@ShaneLee-9 你用的啥环境(版本)?配置文件看看
> @Nstd 对了,`node` 版本是 `14.19.2`,`npm` 是 `9.1.1`,系统是 Win10 22H2 @ShaneLee-9 需要再加个一个配置: https://github.com/sxzz/unplugin-vue-macros/issues/23#issuecomment-1170283222
> This combination worked for me: > > ``` > implementation 'com.iceteck.silicompressorr:silicompressor:2.2.3' > implementation ('com.googlecode.mp4parser:isoparser:1.0.6') { > exclude group: 'org.aspectj', module: 'aspectjrt' > } > ``` Thanks @UrbanFercec, some video...
还有个问题,在4.4的系统上,使用StatusBarUtil,如果是在setContent()之后设置的状态栏颜色,会导致`KPSwitchRootLayoutHandler` 中的 `mIsTranslucentStatus` 为false(首次初始化以后就不更新了),但是`KPSwitchConflictUtil` 中的`isHandleByPlaceholder(final Activity activity)` 方法是动态检测ViewUtil.isTranslucentStatus(activity)的,检测时会变成true,两边不一致,会导致,4.4的机器上,无法正常打开(或者关闭)panel。 我现在的做法是,在一切初始化完成以后,手动反射 `KPSwitchRootLayoutHandler` 中的 `mIsTranslucentStatus`,更新其实际状态值,可以修复这个问题,能否开个方法动态更新这个值,或者每次重新计算?
https://github.com/WahdanZ/SpockAdb/blob/b561510f756e6cb9294c99468679002c3c84f75b/src/main/kotlin/spock/adb/command/GetApplicationIDCommand.kt#L13-L14 replace by the code below will fix it: ``` kotlin AndroidModel.get(it)?.applicationId ``` [com.wahdan.spockAdb-2.0.3-fix.jar.zip](https://github.com/WahdanZ/SpockAdb/files/10029206/com.wahdan.spockAdb-2.0.3-fix.jar.zip) You can use this version. But the fragment detection method is different from WahandZ.
> 不会吧, 我几台电脑之间也是 github 拉下来运行的. 是没问题的撒 现在是直接新建了一个Plugin项目,然后把代码拷过去的