ffmpeg_batch
ffmpeg_batch copied to clipboard
[Bug] Something is wrong with the interaction between the new ffmpeg and ffmpeg_batch
Hi. ffmpeg_batch (FFmpeg_Batch_AV_Converter_Portable_3.0.0_x64) doesn't correctly interact with the new ffmpeg. Here are the examples.
- Old ffmpeg from 04.03.20023
ffmpeg_batch-04.03.2033-Video_2023-10-20_161034.webm
- New ffmpeg from 07.09.2023
First encoding attempt.
ffmpeg_batch-07.09.2023-Video_2023-10-20_161541.webm
Second encoding attempt.
ffmpeg_batch-07.09.2023-2nd-attempt-Video_2023-10-20_161541.webm
Is it possible that everything works for everyone and such a problem does not arise with the new version?
I've checked all versions of fmmpeg after 6.0 2023-03-04 and they all don't work correctly with ffmpeg_batch.
I don't have any similiar report about problems with other ffmpeg.exe versions. It must be related to your system, of your input file. You could send me some samples for testing purposes.
Here is the original video sample: https://drive.google.com/file/d/1bHlHWA1ONjlXKgKMvGA5YV0FvlTQ3gFQ/view?usp=sharing
Hi, ffmpeg console displays errors with this file that seem to freeze the user interface:
[vost#0:0/libx264 @ 0000024c274e7c40] More than 1000 frames duplicated 0.4kbits/s dup=973 drop=0 speed=0.229x [vost#0:0/libx264 @ 0000024c274e7c40] More than 10000 frames duplicated6.3kbits/s dup=9965 drop=0 speed=0.214x [out#0/mp4 @ 0000024c274ab740] video:6893kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead:
It generates a useless grey file.
First of all, do not include in parameters -i %1 (it is automatically added) Also -y is added by default. Second, vp9 encoding is extremely slow. Third, ffmpeg.exe included version seems to work erratically in FFmpeg Batch, please try replacing it with this one
Release version should also work: https://www.gyan.dev/ffmpeg/builds/ffmpeg-release-essentials.zip
Third, ffmpeg.exe included version seems to work erratically in FFmpeg Batch, please try replacing it with this one
Release version should also work: https://www.gyan.dev/ffmpeg/builds/ffmpeg-release-essentials.zip
All these "ffmpeg.exe"s, mentioned above, they match the one in the archive with ffmpeg_batch version 2.8.8 and work fine with version 3.0.0. My issue arises because of newer versions, newer than those that you provided in the messages above, in particular, the version that goes in the same archive with the 3.0.0 version, dated 2023-09-07, does not work with any version of ffmpeg_batch, although it successfully processes any files through the console, the same situation with newer ones ffmpeg versions, for example, from 2023-10-23. By the way, regardless of whether -i %1 -y are present or absent in the parameter string, they have no effect on the operation of ffmpeg_batch with working ffmpeg from 2023-04-03.
Here are my attempts to use new ffmpegs with ffmpeg_batch. And as you can see in this video, all console ffmpegs (old and new) successfully process the original video sample.
FFBatch-3.0-issue-with-ffmpeg-Video_2023-10-24_221358_FFB.webm
Thanks for the detailed report, this is going to be tough to debug, I"ll do my best.
Thanks a lot for your efforts!
Finally some light at the end of the tunnel. I found out that the new builds with the exact version number 6.0 in their names from here https://github.com/BtbN/FFmpeg-Builds/releases/tag/latest work well with ffmpeg_batch.
That's good. It's weird, the standard output in new ffmpeg versions sinks into a void and encoding never ends. This patched version should work fine with all ffmpeg versions. FFBatch.zip
Thanks a lot, but the problem still exists and even a new one has appeared.
I will have to generate a full release package for better testing.
Unfortunately I'm not experiencing the issue anymore. You could try deleting current FFbatch.exe and replacing it again with this tested one in both portable/installed versions:
If this does not work, I would uninstall/reinstall application.
It' a pity, but it doesn't work either:( I've done everything I can think of, but it only works well with ffmpeg's 6.0 versions. Is it possible to compile FFBatch so that it can record extended debug information during its operation?
:(
I'll upload newest 3.0.1 code, you will be able to pull and compile it with VS Studio.
Can you please point to a ffmpeg.exe not working at all for you? What is the sympton? What's the log file?
You can enable "Verbose logs" in settings for more log information.