WyattBlue / auto-editor

Auto-Editor: Efficient media analysis and rendering
https://auto-editor.com
The Unlicense
2.88k stars 420 forks source link

-edit "audio:3%" => execution duration not consistent with file size. 22mn takes days of processing. 2mn video takes 3mn processing. #379

Closed alainpannetier closed 1 year ago

alainpannetier commented 1 year ago

Bug description

-edit "audio:3%"

File 1: MP4 2minutes 1654x930 => takes less than 3mn of execution. Duration of video reduced by 46%. File 2: MP4 22minutes 1654x930 => takes 2.5 days .

File 1 = first 2mn of File 2

Output: $ auto-editor example.mp4 --edit "audio:3%" Finished. took 162.69 seconds (0:02:43)
$ auto-editor 01\ Introduction\ and\ Release\ Overview\ -\ Ericsson\ Play.mp4 --edit "audio:3%" Finished. took 214832.04 seconds (2 days, 11:40:32)

What's your platform?

Python Version: 3.10.12 64-bit
Platform: Linux 5.15.0-79-generic x86_64
FFmpeg Version: 4.4.2-0ubuntu0.22.04.1
FFmpeg Path: ffmpeg
Auto-Editor Version: 23w35a

What command did you use

auto-editor myfile.mp4 --edit "audio:3%"

What properties does your input video have?

Comments

No response

WyattBlue commented 1 year ago

I can't replicate this. Try seeking if --no-seek helps..

alainpannetier commented 1 year ago

I did a try. outcome: marginal, non significative, improvement: 2d 10h instead of 2d 11h. I will put under debug or some coverage tool Thanks.

WyattBlue commented 1 year ago

Closing because running slow with outdated software isn't a bug that can be fixed.