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 > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Search this Thread Display Modes
Old 14th January 2019, 19:14   #1  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
RandomSource - v1.01 - 14 Jan 2019

RandomSource(), Simple source filter producing RGB32 640x480@24 FPS clip by default, random colored for test purposes.

dll's for avs v2.58, Avs/+ v2.60 x86 & x64.
Requires VS2008 CPP Runtimes,

First posted in Devs forum:- https://forum.doom9.org/showthread.p...t=Randomsource
Code:
RandomSource(), Produces (by default) a 640 x 480 @ 24FPS RGB32, 1 hour (24*60*60 frame) clip [No audio].     # by StainlessS @ Doom9

dll's for avs v2.58, Avs/+ v2.60 x86 & x64.
Requires VS2008 CPP Runtimes,


RandomSource(Int "seed"=0,Int "Length"=(24*60*60),Int "Width"=640,Int "Height"=480)

    Seed,       Default 0 (always same). -1, Random Seed(different every script run), other supplied seeds set that value seed (again repeatable, same every time).
    Length,     Default 24 * 60 * 60 = 1hour @ Default 24 FPS.
    Width,      Default 640.
    Height,     Default 480.

Create a YV24, 720x576 @ 25.00, 1 Hour, Always same random pattern at each script run [different random patterns for each frame], no audio.

return RandomSource(Seed=0, length=25*60*60, Width=720, Height=576).ConvertToYV24.AssumeFPS(25)
See MediaFire in sig below this post for zip.
zip includes 3 dll's 2.58, v2.60 x86 and x64 + source + full VS2008 project files for easy rebuild.

EDIT: Below image default args converted to YV12 prior to creating jpeg.


EDIT: Oops, should have no clip arg.
RandomSource(clip c,Int "seed"=0,Int "Length"=(24*60*60),Int "Width"=640,Int "Height"=480)
Re-Posted at MediaFire & SendSpace
__________________
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 ???

Last edited by StainlessS; 15th January 2019 at 01:14.
StainlessS is offline   Reply With Quote
Old 14th January 2019, 20:14   #2  |  Link
wonkey_monkey
Formerly davidh*****
 
wonkey_monkey's Avatar
 
Join Date: Jan 2004
Posts: 2,493
Quote:
Create a YV24
Not RGB32?
__________________
My AviSynth filters / I'm the Doctor
wonkey_monkey is offline   Reply With Quote
Old 14th January 2019, 22:32   #3  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
return RandomSource(Seed=0, length=25*60*60, Width=720, Height=576).ConvertToYV24.AssumeFPS(25)
__________________
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
Old 14th January 2019, 23:00   #4  |  Link
wonkey_monkey
Formerly davidh*****
 
wonkey_monkey's Avatar
 
Join Date: Jan 2004
Posts: 2,493
Duh.

__________________
My AviSynth filters / I'm the Doctor
wonkey_monkey is offline   Reply With Quote
Reply

Tags
grain

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 16:48.


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