博客园 - shaobin0604
uuid:24b78886-0ed1-41c2-8670-e3f31dcf42c4;id=28892
2023-08-17T09:49:30Z
shaobin0604
https://www.cnblogs.com/shaobin0604/
feed.cnblogs.com
https://www.cnblogs.com/shaobin0604/p/17638374.html
[Multimedia] 多媒体工具收集 - shaobin0604
## 媒体资源分析 - https://github.com/axiomatic-systems/Bento4 - https://gpac.github.io/mp4box.js/ - https://github.com/gpac/gpac/wiki/MP4Box - https://githu
2023-08-17T09:50:00Z
2023-08-17T09:50:00Z
shaobin0604
https://www.cnblogs.com/shaobin0604/
【摘要】## 媒体资源分析 - https://github.com/axiomatic-systems/Bento4 - https://gpac.github.io/mp4box.js/ - https://github.com/gpac/gpac/wiki/MP4Box - https://githu <a href="https://www.cnblogs.com/shaobin0604/p/17638374.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/shaobin0604/p/17635134.html
[Multimedia][ffmpeg] 音频音量获取 - shaobin0604
```bash ffmpeg -i ~/media/test.mp4 -filter_complex volumedetect -c:v copy -f null /dev/null ... [Parsed_volumedetect_0 @ 0x7f83a481c000] n_samples: 23
2023-08-16T07:07:00Z
2023-08-16T07:07:00Z
shaobin0604
https://www.cnblogs.com/shaobin0604/
【摘要】```bash ffmpeg -i ~/media/test.mp4 -filter_complex volumedetect -c:v copy -f null /dev/null ... [Parsed_volumedetect_0 @ 0x7f83a481c000] n_samples: 23 <a href="https://www.cnblogs.com/shaobin0604/p/17635134.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/shaobin0604/p/17466479.html
[Multimedia][ChatGPT] 如何使用 ffmpeg 将一个包含绿幕的前景视频叠加到背景视频上,并将前景视频中的绿幕设置为透明色 - shaobin0604
要使用 `ffmpeg` 将包含绿幕的前景视频叠加到背景视频上,并将前景视频中的绿幕设置为透明色,您需要以下步骤: 1. 安装 `ffmpeg`。首先确保您已安装了最新版本的`ffmpeg`。如果还没有安装,请访问官方网站下载并安装相应版本。 2. 使用 `chromakey` 过滤器将绿幕替换为透
2023-06-08T06:47:00Z
2023-06-08T06:47:00Z
shaobin0604
https://www.cnblogs.com/shaobin0604/
【摘要】要使用 `ffmpeg` 将包含绿幕的前景视频叠加到背景视频上,并将前景视频中的绿幕设置为透明色,您需要以下步骤: 1. 安装 `ffmpeg`。首先确保您已安装了最新版本的`ffmpeg`。如果还没有安装,请访问官方网站下载并安装相应版本。 2. 使用 `chromakey` 过滤器将绿幕替换为透 <a href="https://www.cnblogs.com/shaobin0604/p/17466479.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/shaobin0604/p/14395910.html
[Network] 判断设备是否能访问 Internet - shaobin0604
Android API Level 21 新增 API android.net.NetworkCapabilities 判断是否能访问 Internet val networkCapabilities = connectivityManager.getNetworkCapabilities(conn
2021-02-10T07:44:00Z
2021-02-10T07:44:00Z
shaobin0604
https://www.cnblogs.com/shaobin0604/
【摘要】Android API Level 21 新增 API android.net.NetworkCapabilities 判断是否能访问 Internet val networkCapabilities = connectivityManager.getNetworkCapabilities(conn <a href="https://www.cnblogs.com/shaobin0604/p/14395910.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/shaobin0604/p/14218336.html
[Multimedia] 下载 m3u8 格式视频 - shaobin0604
ffmpeg -i <m3u8 url> -c copy out.mp4
2020-12-31T10:33:00Z
2020-12-31T10:33:00Z
shaobin0604
https://www.cnblogs.com/shaobin0604/
【摘要】ffmpeg -i <m3u8 url> -c copy out.mp4 <a href="https://www.cnblogs.com/shaobin0604/p/14218336.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/shaobin0604/p/14186497.html
[Multimedia] 合并两个 MP4 文件 - shaobin0604
背景说明 相机 SD 卡存储空间太小(4GB),视频录到一半,SD 卡就满了。只好把已录制好的前半段视频先导出,再录制剩下的后半段视频,然后再把两个 MP4 视频文件合并 操作步骤 新建一个目录,并将两个视频文件移动到这个目录 mkdir tmp mv 1.mp4 tmp mv 2.mp4 tmp
2020-12-24T13:30:00Z
2020-12-24T13:30:00Z
shaobin0604
https://www.cnblogs.com/shaobin0604/
【摘要】背景说明 相机 SD 卡存储空间太小(4GB),视频录到一半,SD 卡就满了。只好把已录制好的前半段视频先导出,再录制剩下的后半段视频,然后再把两个 MP4 视频文件合并 操作步骤 新建一个目录,并将两个视频文件移动到这个目录 mkdir tmp mv 1.mp4 tmp mv 2.mp4 tmp <a href="https://www.cnblogs.com/shaobin0604/p/14186497.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/shaobin0604/p/13603874.html
[Multimedia] FLV 相关分析工具 - shaobin0604
https://pypi.org/project/flvlib/ https://github.com/zymill/flvAnalyser https://github.com/imagora/FlvParser https://github.com/riverlight/FlvParser Fl
2020-09-02T12:08:00Z
2020-09-02T12:08:00Z
shaobin0604
https://www.cnblogs.com/shaobin0604/
【摘要】https://pypi.org/project/flvlib/ https://github.com/zymill/flvAnalyser https://github.com/imagora/FlvParser https://github.com/riverlight/FlvParser Fl <a href="https://www.cnblogs.com/shaobin0604/p/13603874.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/shaobin0604/p/13595798.html
[Android] 从 logcat 日志中获取设备的 mac 地址信息 - shaobin0604
关键 TAG WifiStateMachine 09-01 02:01:21.450 3624 3762 D WifiStateMachine: CMD_START_CONNECT sup state UninitializedState my state DisconnectedState nid
2020-09-01T05:56:00Z
2020-09-01T05:56:00Z
shaobin0604
https://www.cnblogs.com/shaobin0604/
【摘要】关键 TAG WifiStateMachine 09-01 02:01:21.450 3624 3762 D WifiStateMachine: CMD_START_CONNECT sup state UninitializedState my state DisconnectedState nid <a href="https://www.cnblogs.com/shaobin0604/p/13595798.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/shaobin0604/p/13086294.html
[Android Tips] 33. Lottie 在 RecyclerView onBindViewHolder 中 playAnimation 不生效 - shaobin0604
现象 解决 @Override public void onBindViewHolder(@NonNull ViewHolder holder, int position) { lavCircleProgress.post(new Runnable() { @Override public void
2020-06-10T08:42:00Z
2020-06-10T08:42:00Z
shaobin0604
https://www.cnblogs.com/shaobin0604/
【摘要】现象 解决 @Override public void onBindViewHolder(@NonNull ViewHolder holder, int position) { lavCircleProgress.post(new Runnable() { @Override public void <a href="https://www.cnblogs.com/shaobin0604/p/13086294.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/shaobin0604/p/12736318.html
[Multimedia] 旋转 MP4 视频方向 - shaobin0604
两种方案: 1. 给 MP4 文件设置 rotation 属性( 无需重编码 ) 2. 旋转每一帧视频画面( 需要重编码 ) 给 MP4 文件设置 rotation 属性 方法1:exiftool(brew install exiftool) exiftool rotation= video.mp4
2020-04-20T02:34:00Z
2020-04-20T02:34:00Z
shaobin0604
https://www.cnblogs.com/shaobin0604/
【摘要】两种方案: 1. 给 MP4 文件设置 rotation 属性( 无需重编码 ) 2. 旋转每一帧视频画面( 需要重编码 ) 给 MP4 文件设置 rotation 属性 方法1:exiftool(brew install exiftool) exiftool rotation= video.mp4 <a href="https://www.cnblogs.com/shaobin0604/p/12736318.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/shaobin0604/p/12564071.html
[Jenkins] Jenkins changes 显示 git log 乱码解决 - shaobin0604
Jenkins 是通过 apt 安装,修改 /etc/default/jenkins 在 JAVA_ARGS 配置增加参数 -Dfile.encoding=utf-8 参考 Jenkins Git 中文乱码问题解决
2020-03-25T01:35:00Z
2020-03-25T01:35:00Z
shaobin0604
https://www.cnblogs.com/shaobin0604/
【摘要】Jenkins 是通过 apt 安装,修改 /etc/default/jenkins 在 JAVA_ARGS 配置增加参数 -Dfile.encoding=utf-8 参考 Jenkins Git 中文乱码问题解决 <a href="https://www.cnblogs.com/shaobin0604/p/12564071.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/shaobin0604/p/12559979.html
[Jenkins] Jenkins 时区设置 - shaobin0604
Jenkins 是通过 apt 安装,修改 /etc/default/jenkins 在 JAVA_ARGS 配置增加参数 -Dorg.apache.commons.jelly.tags.fmt.timeZone=Asia/Shanghai 参考 How to add Java arguments
2020-03-24T08:50:00Z
2020-03-24T08:50:00Z
shaobin0604
https://www.cnblogs.com/shaobin0604/
【摘要】Jenkins 是通过 apt 安装,修改 /etc/default/jenkins 在 JAVA_ARGS 配置增加参数 -Dorg.apache.commons.jelly.tags.fmt.timeZone=Asia/Shanghai 参考 How to add Java arguments <a href="https://www.cnblogs.com/shaobin0604/p/12559979.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/shaobin0604/p/11284359.html
[Gradle] 解决高德 jar 包打包到 aar 后 jar 包中的 assets 内容丢失 - shaobin0604
问题描述 将高德 SDK 的 jar 包放到 android library project libs 目录下,发布为 aar 包后,发现高德 jar 包中的 assets 目录下的内容不见了 原因见: "打包APK导致Assets文件夹丢失地图白屏怎么办?" 如何解决 将高德 SDK 的 jar
2019-08-01T10:04:00Z
2019-08-01T10:04:00Z
shaobin0604
https://www.cnblogs.com/shaobin0604/
【摘要】问题描述 将高德 SDK 的 jar 包放到 android library project libs 目录下,发布为 aar 包后,发现高德 jar 包中的 assets 目录下的内容不见了 原因见: "打包APK导致Assets文件夹丢失地图白屏怎么办?" 如何解决 将高德 SDK 的 jar <a href="https://www.cnblogs.com/shaobin0604/p/11284359.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/shaobin0604/p/11038386.html
[Gradle] 发布 library 到本地 maven 仓库 - shaobin0604
Java Library Android Library 如何使用 1. 在 library project 的 中 该脚本 2. 执行命令 参考 "bundleRelease has been changed to bundleReleaseAar in Android Gradle Plugin
2019-06-17T02:30:00Z
2019-06-17T02:30:00Z
shaobin0604
https://www.cnblogs.com/shaobin0604/
【摘要】Java Library Android Library 如何使用 1. 在 library project 的 中 该脚本 2. 执行命令 参考 "bundleRelease has been changed to bundleReleaseAar in Android Gradle Plugin <a href="https://www.cnblogs.com/shaobin0604/p/11038386.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/shaobin0604/p/10240444.html
删除 Linux /tmp 目录下的临时文件 - shaobin0604
使用 "How to install and use tmpreaper" "How to Remove Files Older than N days using tmpreaper in Linux" "Ubuntu Manpage: tmpreaper removes files which
2019-01-08T09:59:00Z
2019-01-08T09:59:00Z
shaobin0604
https://www.cnblogs.com/shaobin0604/
【摘要】使用 "How to install and use tmpreaper" "How to Remove Files Older than N days using tmpreaper in Linux" "Ubuntu Manpage: tmpreaper removes files which <a href="https://www.cnblogs.com/shaobin0604/p/10240444.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/shaobin0604/p/9688160.html
[Gradle] 输出构建 APK 的版本名到文件 - shaobin0604
```groovy
android { // 输出版本名到 build 目录下的 version_name.txt 文件 applicationVariants.all { variant -> project.tasks["assemble${variant.name.capitalize()}"].doLast { new File(pr...
2018-09-21T11:35:00Z
2018-09-21T11:35:00Z
shaobin0604
https://www.cnblogs.com/shaobin0604/
【摘要】```groovy
android { // 输出版本名到 build 目录下的 version_name.txt 文件 applicationVariants.all { variant -> project.tasks["assemble${variant.name.capitalize()}"].doLast { new File(pr... <a href="https://www.cnblogs.com/shaobin0604/p/9688160.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/shaobin0604/p/9680621.html
[Jenkins] 批量删除构建历史 - shaobin0604
Manage Jenkins Script Console groovy def jobName = "Some_Job_Name" def maxNumber = 64 Jenkins.instance.getItemByFullName(jobName).builds.findAll { it.
2018-09-20T06:18:00Z
2018-09-20T06:18:00Z
shaobin0604
https://www.cnblogs.com/shaobin0604/
【摘要】Manage Jenkins Script Console groovy def jobName = "Some_Job_Name" def maxNumber = 64 Jenkins.instance.getItemByFullName(jobName).builds.findAll { it. <a href="https://www.cnblogs.com/shaobin0604/p/9680621.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/shaobin0604/p/9398216.html
[Android Tips] 32. 解决 Android Device Monitor 在 Mac OS X 卡住 - shaobin0604
Alternatively you can keep latest jdk and update swt used by monitor: get updated swt: https://www.eclipse.org/downloads/download.php?file=/eclipse/do
2018-07-31T12:54:00Z
2018-07-31T12:54:00Z
shaobin0604
https://www.cnblogs.com/shaobin0604/
【摘要】Alternatively you can keep latest jdk and update swt used by monitor: get updated swt: https://www.eclipse.org/downloads/download.php?file=/eclipse/do <a href="https://www.cnblogs.com/shaobin0604/p/9398216.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/shaobin0604/p/9376480.html
[Gradle] 查看项目依赖 - shaobin0604
查看项目的编译依赖 $ ./gradlew :app:dependencies configuration compile 查看具体某个库的依赖 $ ./gradlew q :app:dependencyInsight dependency configuration compile $ ./gra
2018-07-27T03:14:00Z
2018-07-27T03:14:00Z
shaobin0604
https://www.cnblogs.com/shaobin0604/
【摘要】查看项目的编译依赖 $ ./gradlew :app:dependencies configuration compile 查看具体某个库的依赖 $ ./gradlew q :app:dependencyInsight dependency configuration compile $ ./gra <a href="https://www.cnblogs.com/shaobin0604/p/9376480.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/shaobin0604/p/9325377.html
[Gradle] 获取 gradle 命令行参数 - shaobin0604
project.gradle.startParameter 参考 "StartParameter | Gradle API 4.9"
2018-07-17T11:19:00Z
2018-07-17T11:19:00Z
shaobin0604
https://www.cnblogs.com/shaobin0604/
【摘要】project.gradle.startParameter 参考 "StartParameter | Gradle API 4.9" <a href="https://www.cnblogs.com/shaobin0604/p/9325377.html" target="_blank">阅读全文</a>