Sudden problem encoding video
-
I regularly use ffmpeg to encode videos (from mpeg2 to mpeg4) for my ipod. I've been doing this for nearly a year with no problems. Now, every time I start an encode, my system is suddenly under a lot of pressure - I can't use any other application. If I go into the windows task manager and set the priority to 'below normal', all is fine again.Anyone have any idea why this change might have occured, or any idea how I can get around it (preferably without using task manager)? For info - i think this is a windows problem, rather than an ffmpeg problem. I suspect windows isn't allocating resourced properly anymore, for some reason. The same symptoms happen with other software sometimes - ffmpeg is just the one i use most.
-
Answer:
That's odd. Have you upgraded to a new build of ffmpeg recently? Could be that it's setting a more aggressive scheduling priority than it did before. Or maybe this is just another reason to be suspicious of the Windows scheduler. How do you start ffmpeg? One option is to use the windows "start" command on the commanline, which will let you set the scheduling priority without dealing with task manager. For example: "start /LOW ffmpeg [your usual ffmpeg parameters]"
ascullion at Ask.Metafilter.Com Visit the source
Other answers
nope, haven't changed ffmpeg. don't use the windows scheduler either. what i have, without boring you with the details, is an epg programme (digiguide) which i use to put programmes on my ipod automatically. so, digiguide knows when i programme i like starts. it sends a message to my tv capture programme to record. when the recording is finished, it starts an ffmpeg process to encode to ipod format. using the start command is a great idea though, will try that...
ascullion
By "windows scheduler" I was referring to the thing that decides how to allocate CPU resources to running applications, not the little automatic command runner. Sounds like setting the priority using the start command will help with your immediate issue, but offers no explanation why windows seems to be locking up on your more often lately. Good luck.
Good Brain
ah, i see. thanks for the help. i'll probably do a complete reinstallation in the next month or two anyway, maybe an upgrade to vista even. so just need a sticking plaster for now.
ascullion
for info if anyone's interested.. i am using the start command, but with /p so it runs in the same dos window, instead of launching a second one. thanks good brain!
ascullion
Related Q & A:
- Is this problem a knapsack problem?Best solution by Programming Puzzles & Code Golf
- My video card speed problem?Best solution by Yahoo! Answers
- Video Format Problem?Best solution by Yahoo! Answers
- How do I fix a PC video game problem?Best solution by windows.microsoft.com
- MSN Messenger video call problem?Best solution by answers.yahoo.com
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.