From c3a50e28f079b6522f565bbac6ac2f466a9d1812 Mon Sep 17 00:00:00 2001 From: xufuji456 <839789740@qq.com> Date: Sun, 6 Mar 2022 20:23:46 +0800 Subject: [PATCH] Remove unused code --- .../frank/ffmpeg/activity/VideoHandleActivity.kt | 13 ------------- doc/multimedia_protocol.md | 2 -- 2 files changed, 15 deletions(-) diff --git a/app/src/main/java/com/frank/ffmpeg/activity/VideoHandleActivity.kt b/app/src/main/java/com/frank/ffmpeg/activity/VideoHandleActivity.kt index c55725c..44e9919 100644 --- a/app/src/main/java/com/frank/ffmpeg/activity/VideoHandleActivity.kt +++ b/app/src/main/java/com/frank/ffmpeg/activity/VideoHandleActivity.kt @@ -388,19 +388,6 @@ class VideoHandleActivity : BaseActivity() { ffmpegHandler!!.executeFFmpegCmds(commandList) } - private fun moov(srcFile: String) { - if (!srcFile.endsWith(FileUtil.TYPE_MP4)) { - showToast(getString(R.string.tip_not_mp4_video)) - return - } - val filePath = FileUtil.getFilePath(srcFile) - var fileName = FileUtil.getFileName(srcFile) - fileName = "moov_" + fileName!! - outputPath = filePath + File.separator + fileName - val commandLine = FFmpegUtil.moveMoovAhead(srcFile, outputPath) - ffmpegHandler!!.executeFFmpegCmd(commandLine) - } - /** * Combine pictures into video */ diff --git a/doc/multimedia_protocol.md b/doc/multimedia_protocol.md index d8600af..8c3d02f 100644 --- a/doc/multimedia_protocol.md +++ b/doc/multimedia_protocol.md @@ -26,8 +26,6 @@ WebRTC网络传输协议有SDP、ICE、NAT、STUN、TURN等,常用视频编码 | MP4 | https://pan.baidu.com/s/13WrU60CYPCRshPrmLOTtKA | fa0f | | DASH | https://pan.baidu.com/s/1-38Erd4a9mtEUKzD3GMaig | ctz7 | | DASH(ISO) | https://pan.baidu.com/s/1UnxkaPeKVIsmddaYIrADdw | buav | - | HEVC(ISO) | https://pan.baidu.com/s/15rIFfNqkpD4Ssm9GpOHxxw | unk5 | - | HEVC(JCT) | https://pan.baidu.com/s/16I8eWihxzQxDQTH3ZxIbqg | wdhv | | H265(ITU-T) | https://pan.baidu.com/s/1SypB6m9cQbB-IYyUy4EvFg | n8tz | ### 多媒体书籍