View Single Post
Old 26th March 2011, 18:41   #8  |  Link
Didée
Registered User
 
Join Date: Apr 2002
Location: Germany
Posts: 5,391
Quote:
Originally Posted by bazz View Post
i tried this but im getting somthing like 4-6 fps , really slow (Phenom II 940BE)
is this not meant to quicken the process
Yes, it's meant to quicken the process. I tried your very script (however with mpeg2source on a PAL SD input video) with x264 --preset fast, and got 81.5 fps. CPU is i7-860.

- Try to avoid DirectShowSource. Use DGDecodeNV or ffms2 instead.

- Regardless of the Source filter, do NOT use SetMTmode(2) prior to the source filter. (Might work in a few special cases, but in general, it just causes trouble or crashes)

- final speed also depends on the encoder settings (a/o application) you're using, about which you told nothing. (e.g. with --preset placebo, your speed would be quite reasonable...)

- I've found that putting ChangeFPS(last,last,true) immediately after the source filter seemingly is good practice. It's not generally needed, but it seems to make strange breakdowns (like reported above by Taurus) much more seldom.
__________________
- We´re at the beginning of the end of mankind´s childhood -

My little flickr gallery. (Yes indeed, I do have hobbies other than digital video!)
Didée is offline   Reply With Quote