View Single Post
Old 30th January 2019, 01:06   #85  |  Link
spoRv
Registered User
 
Join Date: Nov 2016
Posts: 151
Dear StainlessS, first of all, thanks for all your scripts!



Back to topic: DynaCrop (https://forum.doom9.org/showthread.p...85#post1633485)

I have a video with variable vertical borders; they are pixel perfect (no "smearing" like in analog captures).
I want to get fixed borders for the whole video, so it seems your DynaCrop is the right script.

Some questions:
Quote:
Return SC_ShowMetrics().ConvertToYV12() # Show metrics to get best Threshold 'th', use before SC_MakeTrimFile()
Borders are pure black ($000000); could I skip this step?

Quote:
return SC_MakeTrimFile().ConvertToYV12() # Make Trims file for DynaCrop(), Must Play all way through.
This writes actually the crop info file, right?

Quote:
DynaCrop(CropThresh=CROPTHRESH,show=SHOW,debug=DEBUG).ConvertToYV12(
Then at the end this produces the script needed to crop and resize the video, right?

Now, let's say that I want the video to be resized at 1920x816, where should I set these figures?

Last thing:
Quote:
x,y,w,h sets border to ignore crud
not understood, can you explain?

Thanks a lot in advance, hope to not abuse (well, not too much!) of your infinite patience!
spoRv is offline   Reply With Quote