Menu

Multi-File Encoding EXTREMEMLY slow

2024-06-18
2024-06-20
  • Steven T Pippin

    Steven T Pippin - 2024-06-18

    I just installed version 3.0.7 this morning and ran into trouble increasing the volume when processing multiple files at the same time. I don't think it's important, but the command I used is: -map 0:0 -map 0:1 -map 0:2 -map 0:3 -c:v copy -af "volume=1.7" -c:a ac3 -metadata:s:a:0 language=eng. FYI, all 3 files use AC3 for audio.

    If I load the three files and process them using the "Sequential Encoding" button, all three movies processed in about 5 or 6 minutes... about what I would normally expect. If I process them by clicking the "Multi-File Encoding" button, the estimated time for processing all three is over an hour. Nothing is different, other than the button I chose to encode. I am using the very latest version of FFmpeg (7.01 Essentials x64).

    Everything was working fine before I upgraded to the latest version. Any ideas what may have happened? I'm attaching two short videos so you can see for yourself.

     
  • Abel

    Abel - 2024-06-18
    • Could you post the log file for multi-file?
    • Have you tried with previous ffmpeg.exe 7.0
    • Are input files stored in a HDD o SSD/NVMe drive? Drive destination is in the same drive.
     
  • Steven T Pippin

    Steven T Pippin - 2024-06-19

    Sure. The log file is attached as a PDF. I was going to just paste the text below, but it was 5,688 pages long and over 20MB. Keep in mind that I aborted the process around the 4m 30s mark. According to the "Time Remaining" estimate, I would've had to wait over 3 hours for the three movies to finish encoding.

    The files are on my internal HDD (not a solid-state drive). The output was the standard \FFbatch sub-folder on the same drive. I don't specifically remember using the program with FFmpeg 7.0, but I've used FFmpeg Batch AV Converter for a really long time. I'm sure that I have used it with 7.0 in the past. This is the first time I've had this issue, regardless of the FFmpeg.exe version.

    Thank you! I really appreciate you helping me figure this out.

    Steve

     

    Last edit: Steven T Pippin 2024-06-19
  • Steven T Pippin

    Steven T Pippin - 2024-06-19

    One more thing... I thought I'd see what happened if I tried multi-file encoding with FFmpeg Batch Portable (version 3.06. I haven't updated it to 3.07). Even though it's one version behind, it is still using FFmpeg.exe v7.01. It worked perfectly. It would've processed the batch in less than 2 minutes total. If you want me to update Portable and try it again, let me know.

     

    Last edit: Steven T Pippin 2024-06-19
  • Abel

    Abel - 2024-06-19

    Thanks for the info. Could you first try to disable verbose logs in 3.0.7, before updating portable 3.0.6?

    It is really the only change that could affect performance,

     

    Last edit: Abel 2024-06-19
  • Steven T Pippin

    Steven T Pippin - 2024-06-19

    Wow, that fixed it. Thank you!

     
  • Abel

    Abel - 2024-06-20

    Looks like new verbose logs are a drag on performance, better to use them only for debugging.
    I'll set them to a lower level in the future.

     

    Last edit: Abel 2024-06-20
    • Steven T Pippin

      Steven T Pippin - 2024-06-20

      Great! Again, thank you very much!

       
    • Steven T Pippin

      Steven T Pippin - 2024-06-20

      Great! Again, thank you very much!

       
    • Steven T Pippin

      Steven T Pippin - 2024-06-20
       

      Last edit: Steven T Pippin 2024-06-20

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.