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

[Better FFmpeg Process] invalid literal for int() with base 10: 'N/A' #23

Closed
WALLY-TAMER opened this issue May 1, 2024 · 3 comments
Closed

Comments

@WALLY-TAMER
Copy link

Version : 2.1.4

I get this error nearly on every single conversion and i think i know where is the problem ( my knowledge isn't that good )
the value variable is what causing this in line 81
seconds_processed = round(int(value) / 1_000_000, 1)
I printed The Value just before this line and that was the output :

Running: ffmpeg -i D:\Python_FFMPEG\Input\Sickflick - Copy (2).mp4 D:\Python_FFMPEG\Output\Sickflick - Copy (2).mp4 -hide_banner -loglevel verbose -progress pipe:1 -nostats

1%|██ | 0/10.3 [00:00<?, ?s/s]

Value : 3200000
31%|█████████████████████████████████████████████████████▍ | 3.2/10.3 [00:05<00:12, 1.74s/s]
Value : N/A
[Better FFmpeg Process] invalid literal for int() with base 10: 'N/A'

@CrypticSignal
Copy link
Owner

@WALLY-TAMER Thank you for reporting this. I will fix this issue and get back to you.

@CrypticSignal
Copy link
Owner

@WALLY-TAMER This issue should no longer occur in v2.1.5. Could you upgrade with pip3 install better-ffmpeg-progress --upgrade and confirm this?

@WALLY-TAMER
Copy link
Author

@CrypticSignal I've been testing it for the last 2 days and it seems to be working fine, Thanks for your effort ♥

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