On Sun, Jul 17, 2022 at 1:30 AM Arik <[email protected]> wrote:

> Hi, I have currently been working on a project for 4 months where I am
> subtitling videos with the DRAWTEXT filter using ffmpeg. The way I am doing
> this is by using a filter  complex  script (file linked below). So I just
> chained a bunch of draw text filters together to individually add it to
> each frame with the proper scaling. The problem I have encountered is that
> it works fast for relatively short videos but with longer videos the time
> increases exponentially. a 30 second video can take 15 seconds, but a 5
> minute video can take over an hour. I was hoping we could solve this
> together and at least get this time to be 1:1, so if a 30 second video
> takes 15 seconds, a 5 minute video takes 2 and a half minutes.
>
> below is the command I used to start the process
>
> -y -i <input> -threads 6 -c:v libx264 -preset ultrafast -r 60 -s
> 1920x1080 -filter_complex_script <complex_script> <output>
>

Tried to add new filter 'perms=rw' after fps filter?



> _______________________________________________
> Libav-user mailing list
> [email protected]
> https://ffmpeg.org/mailman/listinfo/libav-user
>
> To unsubscribe, visit link above, or email
> [email protected] with subject "unsubscribe".
>
_______________________________________________
Libav-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/libav-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to