1 (edited by vxu 18-08-2013 15:08:40)

Topic: [Feature Request] handle pseudo 50Hz / SelectEvery(2,0)+num in profile

hello,

problem
handling video material broadcasted in pseudo 50Hz (every 2nd frame is identical, e.g. german public tv). running svp out of the box on this video makes no sense. every 2nd frame needs to be dropped and then afterwards the framerate need to be increased.

current workaround
edit MANUALLY and FOR EACH VIDEO the avs-script to add "SelectEvery(2,0)" and double the num-value, then skip in video to have script reload

feature request
add checkbox in profile page to add "SelectEvery(2,0)" and double num value / account for required changes to avs-script. that way you could create a profile for pseudo 50hz-videos and just need to select it to have svp work nicely.

thx for your time.

Re: [Feature Request] handle pseudo 50Hz / SelectEvery(2,0)+num in profile

i really doubt this feature is needed by anyone else but it's very easy to implement so here it is:

1. add new profile option to the end of ProfileCfg/MSmoothFps file:

DropEven#2;Drop every other frame
-true;Enabled
-false;Disabled;default

2. add JScript code using the new option to generate.js file:

if(valueProfile("DropEven") == "true")
{
    smooth.rate.num*=2;
    avs.WriteLine("SelectEvery(2,0)");
}

Find both modified files attached (for SVP 3.1.5).

Post's attachments

generate.js 11.58 kb, 975 downloads since 2013-08-18 

MSmoothFps 2.48 kb, 1017 downloads since 2013-08-18 

Re: [Feature Request] handle pseudo 50Hz / SelectEvery(2,0)+num in profile

awesome! works like a charm! thx so much!

it would be nice if this could get added also to future releases - due to "disabled" being the default it should not interfere wih other profiles / users.

all videos which seem to need this option are 1280x720@50 - maybe you also want to add a new single profile having this enabled by default...