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.
Apache License 2.0
1.09k stars 262 forks source link

裁剪时间过长,压缩视频比裁剪的视频还大? #34

Closed fmliqi closed 5 years ago

fmliqi commented 5 years ago

1.看了下closed的问题,基本提到的是压缩时间,我感觉裁剪时间过长,问题比较大。15秒的视频裁剪8秒需要25s+的时间。

  1. 压缩后的视频大小比裁剪后的还要大一点。(...why)
iknow4x commented 5 years ago

这个不应该啊,你是哪设置不对吧。

On Dec 24, 2018, at 11:48 AM, 4 lines notifications@github.com wrote:

1.看了下closed的问题,基本提到的是压缩时间,我感觉裁剪时间过长,问题比较大。15秒的视频裁剪8秒需要25s+的时间。

  1. 压缩后的视频大小比裁剪后的还要大一点。(...why)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/iknow4/Android-Video-Trimmer/issues/34, or mute the thread https://github.com/notifications/unsubscribe-auth/AHDI1WI8mh21D5alYd8OnUoh2jx1drg8ks5u8E6TgaJpZM4ZgGp_.

fmliqi commented 5 years ago

这个不应该啊,你是哪设置不对吧。

哪个问题不应该啊,两个都是哦。没有设置什么,运行了之后,发现比较慢,有手环计时了。压缩后的视频是compress.mp4吧要比裁剪后的大1M,但是有的时候也会小1M左右,不懂。。。

fmliqi commented 5 years ago

补充一下,裁剪的时候应该做了压缩处理,然后压缩的时候又做了一次压缩。我感觉裁剪的命令可能有点不对,我对ffmpeg不太了解,建议查查。按理说裁剪不需要那么长的时间。