Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > General > Newbies

Reply
 
Thread Tools Search this Thread Display Modes
Old 26th March 2020, 20:26   #1  |  Link
OverZerg
Registered User
 
Join Date: Mar 2015
Posts: 1
Making sample file with avisynth

In a guide for encoding I found info that if i put strings

selectTotal1=framecount()/100
selectTotal2=selectTotal1*2
selectrangeevery(selectTotal2,50)

at the end of avisynth script, then it gives an output file containing frames from different parts of source file, so I could encode resulting file with different parameters and see how it goes. But the problem is I completely new to avisynth, so I read that I can do a text file with strings in it and rename it to .avs, but what to do with it and is everything should go before those strings? How to make it work as intended?
OverZerg is offline   Reply With Quote
Old 26th March 2020, 21:26   #2  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 8,006
You can just play in a video clip player (not usually VLC, it dont work), eg MPC-HC or PotPlayer, or load into Virtualdub2.
Can just use like you would use an Avi File.

You might have to use "Open With".

Code:
Colorbars(Pixel_type="YV12")  # Test clip
#AviSource("D:\Parade.avi")   # Some video clip loaded via a source filter.
                              # Above assigns clip to special variable Last (as not explicitly assigned to anything else)
ShowFrameNumber               # Can Comment out (ie precede with '#' character)

selectTotal1=framecount()/100
selectTotal2=selectTotal1*2
selectrangeevery(selectTotal2,50)

return last
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???
StainlessS is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 08:04.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.