MasayukiSuda / Mp4Composer-android

This library generate an Mp4 movie using Android MediaCodec API and apply filter, scale, trim, transcode, crop, timeScale, mute and rotate Mp4.
MIT License
956 stars 219 forks source link

Adjust the video to slow #73

Closed luych888 closed 4 years ago

luych888 commented 4 years ago

Dear Masayuki-san,

Thanks for your share! When I set the timeScale, the video become fast, but no method to set the video slow, can you give me some advice.

Best Regards! Luther

thilojaeggi commented 4 years ago

Try to make the speed in negative, for example "-20"

luych888 commented 4 years ago

Dear Zarkex,

Thanks for your replay。

What do you mean about "make the speed in negative"? It's set the timeScale to "-20"? I think it's not work, because the minimum value will be set to 1 in the Mp4Composer.java line #280.

Best Regards! Luther

MasayukiSuda commented 4 years ago

https://github.com/MasayukiSuda/Mp4Composer-android/pull/78

luych888 commented 4 years ago

Dear Masayuki-san,

Thank you very much!

I will test it as soon as possible.

Base Regards! Yongchun Lu