Thanks Ren for trying this, :D it took me hours to try and get a working formula and even then I was confused :? . You are right, the number of frames per sample WILL be different. Its the only way I can get almost exactly 10% of the number of frames sampler would produce.
For example, Sampler(length=24) produces 2280 frames (perfectly divisible by 24) for my sample. I want to get as close to 228 frames. To do that I tried this first. Code:
oldfps = framerate http://www.kvcd.net/forum/viewtopic.php?t=2820 where doubling the frame rate will halve the number of total frames in Sampler. Therefore multiplying by 10 will give only 10%!! What I found was that because the length was 24, the closest number of frames I was getting was 240 instead of 228 (because it is a multiple of 24). Quote:
If I haven't lost you so far... 8O As with everything, the bigger the sample the more accurate your analysis. That's why I think it's a difficult trade off. It may work well in fewer cases than when using just Sampler, in which case lengthy encodes could have been prevented! Quote:
oldfps = framerate # my case 25 AssumeFps(oldfps * 10) # 250 fps now! Sampler(length=24) # Sampler makes movie 10 times shorter! AssumeFps(oldfps * 10) # back to 25 fps now! Let me know the results and maybe others can test this as well. (I'm at work and can't do any encodes today :cry: ) |
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.