† L4ugh Posted December 2, 2011 Report Share Posted December 2, 2011 Is there any code to view files uploaded to Pastebin.com inside forum posts? I'm not talking about links to Pastebin's site itself, but something like the youtube tags that will let you see the scripts inside your forum post. I'm trying to find something that will display scripts in my post the same way that AvsP displays them. I'm afraid I still don't know all the ins and outs of forum software yet, so I could be missing something. I don't know of any other way to do this, but if there is that would be awesome too. I was thinking about posting some of my avisynth scripts and didn't want to loose my spacing and format.Ok, I've been playing with the different options and if there isn't a better way I could just use the code tags and font colors. Link to comment Share on other sites More sharing options...
Koby Posted December 2, 2011 Report Share Posted December 2, 2011 Our code tags seem to still allow certain bb codes such as links to work if the bb code is used. I think the better tag to use would be the php tag. [*php*] stuff here [*/php*] minus the * As far as loading pastebin files, I'm not sure if they have some external method for doing so. Link to comment Share on other sites More sharing options...
† L4ugh Posted December 2, 2011 Author Report Share Posted December 2, 2011 I went ahead and put a script up there to play with, and it offers two methods of embedding the scripts that I noticed. JavaScript Embedding<script src="http://pastebin.com/embed_js.php?i=t1jYBq96"></script> Iframe Embedding<iframe src="http://pastebin.com/embed_iframe.php?i=t1jYBq96" style="border:none;width:100%"></iframe>The php does look alot better, but is there a way to control the color selected for different syntax, the blue is very bright on darker skins.###################################################################################################LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\DGDecode.dll") # plugin for MPEG2Source#LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\TIVTC.dll") # plugin for deinterlacingLoadPlugin("C:\Program Files\AviSynth 2.5\plugins\MCTemporalDenoise\mvtools.dll") # plugin needed for MCTempDeLoadPlugin("C:\Program Files\AviSynth 2.5\plugins\MCTemporalDenoise\FFT3DFilter.dll") # plugin needed for MCTempDeLoadPlugin("C:\Program Files\AviSynth 2.5\plugins\MCTemporalDenoise\TTempSmooth.dll") # plugin needed for MCTempDeLoadPlugin("C:\Program Files\AviSynth 2.5\plugins\MCTemporalDenoise\deblock.dll") # plugin needed for MCTempDeLoadPlugin("C:\Program Files\AviSynth 2.5\plugins\MCTemporalDenoise\DctFilter.dll") # plugin needed for MCTempDeLoadPlugin("C:\Program Files\AviSynth 2.5\plugins\MCTemporalDenoise\EEDI2.dll") # plugin needed for MCTempDeLoadPlugin("C:\Program Files\AviSynth 2.5\plugins\MCTemporalDenoise\SangNom.dll") # plugin needed for MCTempDeLoadPlugin("C:\Program Files\AviSynth 2.5\plugins\MCTemporalDenoise\gradfun2db.dll") # plugin needed for MCTempDeLoadPlugin("C:\Program Files\AviSynth 2.5\plugins\RemoveGrain.dll") # plugin needed for MCTempDeLoadPlugin("C:\Program Files\AviSynth 2.5\plugins\Repair.dll") # plugin needed for MCTempDeLoadPlugin("C:\Program Files\AviSynth 2.5\plugins\MaskTools158.dll") # plugin needed for LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\mt_masktools-25.dll") # plugin needed for LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\Toon-v1.0-lite.dll") # plugin for ToonliteLoadPlugin("C:\Program Files\AviSynth 2.5\plugins\AddGrainC.dll")#LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\Dither\dither.dll")#Import ("C:\Program Files\AviSynth 2.5\plugins\Dither\dither.avsi")#Import ("C:\Program Files\AviSynth 2.5\plugins\Dither\mt_xxpand_multi.avsi")#LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\Dither\mvtools2.dll")#LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\Dither\dfttest-1.9\dfttest.dll")###################################################################################################v=MPEG2Source("D:\Encodes\D2V\video.d2v", cpu=6, info=3) # for importing a video file, 4-6 recommended for cpua=NicAC3Source("D:\Encodes\D2V\audio.ac3") # for importing a audio file# a=NicAC3Source("D:\Encodes\D2V\audio.ac3") # for importing a audio file# a=NicAC3Source("D:\Encodes\D2V\audio.ac3") # for importing a audio fileAudioDub(v,a) # for dubbing the audio and video together# [Deinterlacer goes here] # to find the best method of deinterlacing use the built in analysis tool in MeGUI's Script Creator.# Trim() # for trimming out sections of the video you do not want, to cut from audio as well you will have to use the audiodub filter#Crop() # for removing letter & piller boxes#Lanczos4Resize() # for aspect ratio adjusting and resizingMCTemporalDenoise(settings="very low").RemoveGrain(mode=18) # for denoising and low level sharpeningToonLite(strength=.25).Warpsharp(depth=50) # for line darkening and line thinningLSFmod(defaults="slow", strength=100) # for advanced sharpening#DeHalo_alpha(rx=1.5, ry=1.5, darkstr=.6, brightstr=.9, ss=1.5) # for dehaloingColorMatrix(d2v="D:\Encodes\D2V\video.d2v") # for color correction only use the d2v tag with dgdecode sources# GradFun3(smode=1, lsb=false) # for debanding and dithering, setting lsb to true will output 16bit video# Dither_convert_8_to_16() # for converting 8 bit video to 16 bit, not needed if GradFun3 has lsb set to true# Dither_add_grain16() # for adding 16bit grain to video, helps prevent with banding# Dither_convey_yuv4xxp16_on_yvxx() # for outputing 16bit video to avs2yuv+x264@10bit# DitherPost() # for converting 16 bit video to 8 bit, needed for checking non-16 bit filters Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now