Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Something is wrong with the interaction between the new ffmpeg and ffmpeg_batch #85

Open
iG8R opened this issue Oct 20, 2023 · 18 comments

Comments

@iG8R
Copy link

iG8R commented Oct 20, 2023

Hi.
ffmpeg_batch (FFmpeg_Batch_AV_Converter_Portable_3.0.0_x64) doesn't correctly interact with the new ffmpeg.
Here are the examples.

  1. Old ffmpeg from 04.03.20023
    image
ffmpeg_batch-04.03.2033-Video_2023-10-20_161034.webm
  1. New ffmpeg from 07.09.2023
    image

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
@iG8R
Copy link
Author

iG8R commented Oct 24, 2023

Is it possible that everything works for everyone and such a problem does not arise with the new version?

@iG8R
Copy link
Author

iG8R commented Oct 24, 2023

I've checked all versions of fmmpeg after 6.0 2023-03-04 and they all don't work correctly with ffmpeg_batch.

@eibol
Copy link
Owner

eibol commented Oct 24, 2023

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.

@iG8R
Copy link
Author

iG8R commented Oct 24, 2023

@eibol
Copy link
Owner

eibol commented Oct 24, 2023

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

@eibol
Copy link
Owner

eibol commented Oct 24, 2023

Release version should also work: https://www.gyan.dev/ffmpeg/builds/ffmpeg-release-essentials.zip

@iG8R
Copy link
Author

iG8R commented Oct 24, 2023

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

@eibol
Copy link
Owner

eibol commented Oct 25, 2023

Thanks for the detailed report, this is going to be tough to debug, I"ll do my best.

@iG8R
Copy link
Author

iG8R commented Oct 25, 2023

Thanks a lot for your efforts!

@iG8R
Copy link
Author

iG8R commented Oct 25, 2023

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.

@eibol
Copy link
Owner

eibol commented Oct 25, 2023

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

@iG8R
Copy link
Author

iG8R commented Oct 25, 2023

Thanks a lot, but the problem still exists and even a new one has appeared.

FFBatch-3.0.1-Video_2023-10-25_180249.webm
FFBatch-3.0.1-dif-ffmpegs-Video_2023-10-25_183416.webm

@eibol
Copy link
Owner

eibol commented Oct 25, 2023

I will have to generate a full release package for better testing.

@eibol
Copy link
Owner

eibol commented Oct 25, 2023

V3.0.1

@iG8R
Copy link
Author

iG8R commented Oct 25, 2023

Unfortunately, still the same result.

FFBatch-3.0.1-in-bundle-Video_2023-10-25_220737_FFB.webm

@eibol
Copy link
Owner

eibol commented Oct 26, 2023

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:

ffbatch.log
FFBatch.zip

If this does not work, I would uninstall/reinstall application.

@iG8R
Copy link
Author

iG8R commented Oct 26, 2023

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?

@eibol
Copy link
Owner

eibol commented Oct 26, 2023

:(

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants