Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
8th September 2021, 23:38 | #1 | Link |
Registered User
Join Date: Sep 2020
Posts: 135
|
FFMPEG freezing computer help?
Can anyone help me FFMPEG freezing on me when I use a command? I am not sure why this happens but it happens when I use a command that it seems to hang on me. I think it might be my build but can anyone help me with this? It does not normally do that and I think it might due to my computer not being very powerful.
|
9th September 2021, 01:05 | #2 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
Very mysterious, I wonder what that command might be.
[I also wonder what build your ffmpeg might be, and also how 'not powerful' your computer might be, basically, we got no info at all to go on.]
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? |
9th September 2021, 03:00 | #3 | Link | |
Registered User
Join Date: Sep 2020
Posts: 135
|
Here is my current FFMPEG build:
Quote:
Code:
ffmpeg -i input.avi -vf scale=iw*4:ih*4:flags=neighbor,scale=iw*4*6/7:ih*4:flags=lanczos,setsar=0 -c:v libx264 -crf 20 -c:a libvorbis -q:a 10 output.mkv Code:
ffmpeg -i input.avi -c:v libx264 -crf 16 -preset veryslow -bf 16 -rc-lookahead 250 -x264-params "no-dct-decimate=1:no-fast-pskip=1" -me_range 32 -deblock -3:-3 -threads 16 -vf zscale=1920:1080:f=spline36 -c:a copy output.mp4 Code:
ffmpeg -i input.avi -c:v libx264 -crf 16 -preset veryslow - rc-lookahead 250 -x264-opts "no-dct-decimate=1:no-fast-pskip=1" -me_range 32 -deblock - 3:-3 -threads 16 -vf zscale=1920:1080:f=spline36 -c:a copy output.mp4 Last edited by GAP; 9th September 2021 at 03:06. |
|
9th September 2021, 07:19 | #4 | Link |
Big Bit Savings Now !
Join Date: Feb 2007
Location: close to the wall
Posts: 1,546
|
You enabled everything in your build.
Incompatible patches ? System specs ? If you want someone to test your build, you may want to upload your binaries. Or start new from vanilla and start from there, enabling only one patch at a time.
__________________
"To bypass shortcuts and find suffering...is called QUALity" (Die toten Augen von Friedrichshain) "Data reduction ? Yep, Sir. We're that issue working on. Synce invntoin uf lingöage..." |
9th September 2021, 16:48 | #5 | Link | |
Registered User
Join Date: Sep 2020
Posts: 135
|
I think got the build the from Gyan dev to replace my old one: https://www.gyan.dev/ffmpeg/builds/p...-full_build.7z
I will try to get a new one from the site and see if I get a different result. System specs: Quote:
|
|
29th September 2021, 20:02 | #6 | Link | |
Registered User
Join Date: Aug 2013
Posts: 191
|
Quote:
Is there high CPU usage during this freeze/hang time? Does it freeze with a more basic copy (or encode) command? Code:
ffmpeg -i test.mp4 -acodec copy -vcodec copy testout.mkv ffmpeg -i input.avi -c:v libx264 -crf 20 -c:a libvorbis -q:a 10 testout.mkv Does it freeze with a 1 MB test file? |
|
7th October 2021, 02:37 | #7 | Link | |
Registered User
Join Date: Sep 2020
Posts: 135
|
Quote:
|
|
10th October 2021, 02:08 | #8 | Link |
Registered User
Join Date: Oct 2021
Posts: 13
|
Can you define what you mean by "freezing"? Do you have to hard shut off your computer? Is it just unresponsive for a few minutes or while the command is running? Additionally, what are the specs of your computer?
For something you can test right now, download prime95 and run it for benchmarking. If your computer "freezes" in the same way it's probably a hardware issue, not a ffmpeg issue. Last edited by sp4ce_c0wb0y; 10th October 2021 at 02:14. |
13th October 2021, 02:53 | #9 | Link | ||
Registered User
Join Date: Sep 2020
Posts: 135
|
Quote:
Quote:
I will try that to see if what you suggested is true. |
||
13th October 2021, 10:30 | #10 | Link |
Registered User
Join Date: Feb 2002
Location: San Jose, California
Posts: 4,407
|
It sounds like you simply ran out of memory and your system basically stopped responding. If you press ctrl-alt-del when it is "locked up" what happens?
-threads 16 is too many for your CPU, try 4 or 8.
__________________
madVR options explained |
19th October 2021, 04:44 | #12 | Link |
Registered User
Join Date: Feb 2002
Location: San Jose, California
Posts: 4,407
|
It likely just gets too big and you run out of memory. Is that 16x upscale intentional?!
How much memory is being used when you run it? Task Manager performance tab would show it (ctrl-shift-esc).
__________________
madVR options explained |
20th October 2021, 17:54 | #13 | Link |
Registered User
Join Date: Oct 2021
Posts: 13
|
So looking at your specs (sorry I missed them being posted earlier) it seems like you've got a laptop. That's not great and could be overheating.
Additionally as others have said 16 threads is too high (8 would be your max, as your CPU only has 8 threads, but I wouldn't use that flag at all on your machine). You still haven't really said what you had to do after it froze. Did you just wait some minutes and then it was fine or Did you have to hold the power button down to shut it off? Did it freeze immediately when you started the commands or was it okay for the first few minutes? |
22nd October 2021, 22:36 | #14 | Link | |
Registered User
Join Date: Sep 2020
Posts: 135
|
Quote:
|
|
2nd November 2021, 06:46 | #15 | Link |
Registered User
Join Date: Oct 2021
Posts: 13
|
If it froze completely like that I'm inclined to say it's a hardware issue. Since I think you're using a laptop (mobile CPU in your specs) I would make sure it's adequately cleaned and cooled (air vents/intake aren't blocked). Maybe run memtest. Did prime95 freeze your computer?
|
25th November 2021, 18:52 | #16 | Link | |
Registered User
Join Date: Sep 2020
Posts: 135
|
Quote:
|
|
6th December 2021, 13:03 | #18 | Link |
Registered User
Join Date: Sep 2020
Posts: 135
|
It looks the problem was with the command I used as someone pointed out int he thread. It seems like the command I used froze up the computer.
Edit: I did not restart my computer as it was on for a very long time and I had not restarted it properly to make the programs function well. Last edited by GAP; 10th December 2021 at 12:21. |
|
|