[Attachment 70813 - Click to enlarge]When I keep trying to put the Effect.avs file into virtualdub, it just keeps saying this: AVIFileSource: couldn't open file"baseband artifect.wav" How can I fix this?
+ Reply to Thread
Results 1 to 30 of 32
-
Last edited by Angel3532; 6th May 2023 at 14:03.
-
Don't use AVIFileSource to open a wav file,...
users currently on my ignore list: deadrats, Stears555, marcorocchini -
No, you have to use another source filter if you want to load an audio file.
AVISource is for loading .avi files.
My guess is you need someone who knows what 'Effect.avs' you are reffering to, I suspect you are following some kind of tutorial and are doing something wrong.
Cu Selur
Ps.: going to bed, but wish you luckusers currently on my ignore list: deadrats, Stears555, marcorocchini -
Is this the script that adds a bunch of interference to the video to mimic VHS?
I got it working 2 or 3 years ago, but it didn't work as-is -
No that’s not the script and manono, I can’t show the full script right now because I’m not at home right now but when I get home I’ll show you the full script
-
Here's the script
#AviSynth Editing Script File - Made for AviSynth v2.58 (Might or might not work on other versions.)
#Drag this file into VirtualDub window.
#Commands in CAPITALS have notes/tips below.
#EXTERNAL FONT IS USED (Camcorder Monospaced)
#Download it from http://badmeangood.com/CAMCORDER_FONT_FAMILY/ -> Click "DOWNLOAD CAMCORDER FONT FAMILY (OPENTYPE)"
#In downloaded ZIP, locate this: CAMCORDER FONT FAMILY -> CAMCORDER MONOSPACED -> CAMCORDER_MS_REG.otf
#Extract and install CAMCORDER_MS_REG.otf font.
#If AVISOURCE below gives an error, use DirectShowSource or better yet, convert it into H.264/AVC or MPEG-4/ASP instead.
#Important! The video must contain an Audio stream!
#== VIDEO INPUT ==#
#SOURCEVIDEO: Your raw footage in AVI format (It should be encoded in H.264/AVC or MPEG-4/ASP)
#Note: You can omit file path if it is in the same folder as this file.
SOURCEVIDEO=DirectShowSource("my movie 37.avi").bilinearresize(392,480).resampleaudio(480 00)
loss=imagesource("mask\hsync_%03d.bmp",end=127).as sumefps(2997,100).loop(1000)
#ADDBORDERS of (32,20,32,20) is between title safe and action safe.
#use (8,0,8,0) for full image area. (4:3 Aspect Ratio source)
#use (8,80,8,80) for widescreen. (16:9 Aspect Ratio source)
original=converttorgb32(sourcevideo).LEVELS(0,1,25 5,4,200).ADDBORDERS(4,0,4,0).changefps(2997,100)
originalaudio=killvideo(sourcevideo)
#== GREYSCALE ==#
grey1=greyscale(original).bilinearresize(288,480). blur(-1,1).bicubicresize(400,480)
grey2=pointresize(grey1,800,480).crop(0,0,799,480) .addborders(1,0,0,0).bilinearresize(400,480)
hsyncloss1=mergeARGB(showgreen(loss),showblue(loss ),showblue(loss),showblue(loss)).pointresize(400,4 80)
hsyncloss2=invert(hsyncloss1,"A")
greysync1=layer(grey1,hsyncloss1)
greysync2=layer(grey2,hsyncloss2)
grey=overlay(greysync1,greysync2,mode="add",opacit y=1).converttoyv12
#== COLOR ==#
#ADDBORDERS: How off-set is the chroma channel from luma (X,Y,0,0) X=Horizontally, Y=Vertically (Both Even Number)
colorinputu=original.bilinearresize(100,480).blur( 1,0).bilinearresize(400,480).ADDBORDERS(4,2,0,0)
#For NTSC color (Hue Tinting)
colorinputv=converttoyv12(colorinputu).coloryuv(co nt_v=-160).converttorgb32
#For PAL color (No Tinting, removes blue tint)
#colorinputv=colorinputu
colorlossu=mergeARGB(showred(loss),showblue(loss), showblue(loss),showblue(loss)).pointresize(400,480 )
colorlossv=trim(colorlossu,32,0)
coloru=layer(colorinputu,colorlossu).converttoyv12
colorv=layer(colorinputv,colorlossv).converttoyv12
color=mergechroma(coloru,colorv,0.5).coloryuv(gain _y=-256, cont_u=128, cont_v=128)
#== AUDIO ==#
#You can disable the options by putting # at the beginning of the commands below.
#Make sure you don't disable or enable them both! (Hi-Fi or Baseband Audio)
#For Baseband Audio (Default pick, no further work required on audio!)
audnoise=wavsource("baseband artifect.wav").resampleaudio(48000).loop(600)
#Realistic: Equalization uses supereq. Normally use this:
vidaudio=converttomono(originalaudio).amplify(0.3) .supereq("vhs.feq")
#Compatibility: If the above create error, use this instead: (Not realistic)
#vidaudio=converttomono(originalaudio).resampleaud io(16000).amplify(0.7).resampleaudio(48000)
#For Hi-Fi Audio (Not quite realistic for the Hi-Fi audio artifect...)
#audnoise=aiffsource("hifi artifect.wav").loop(600)
#vidaudio=originalaudio
#Important! If the original audio is mono, use this instead:
#vidaudio=originalaudio
#For External audio, in case you can do an 80s tape effect, which can be more realistic)
#vidaudio=aifsource("[EXTERNAL AUDIO].wma").resampleaudio(48000)
#Use this to extract the original audio [VirtualDub: File -> Save WAV...]
#RETURN original
#== FINALIZING ==#
player=BLANKCLIP(length=0, color=$2222DD, fps=29.97, CHANNELS=1, audio_rate=48000).converttoyv12
#BLANKCLIP: Important! Set CHANNELS to 2 if you use Hi-fi audio or External Audio if it is in stereo. Else, set it to 1.
#Use this for Baseband or Hi-Fi Audio only.
finalaudio=mixaudio(vidaudio,audnoise,0.96,0.04)
#Use this if you use External Audio
#finalaudio=vidaudio
noise=avisource("noise-preprocess.avi").bilinearresize(400,480).loop(300)
finalsignal=overlay(grey, color, mode="add", opacity=1)
finalvideo=overlay(finalsignal, noise, mode="add", opacity=1).LEVELS(40,1,255,0,255).bilinearresize(6 40,480)
final=audiodub(finalvideo,finalaudio)
#== OUTPUT ==#
player+final
#If you don't want an OSD then disable these commands.
#SUBTITLE(" [HI-FI]",48,24,180,330,"Camcorder Monospaced",36,$DDDDDD)
#SUBTITLE in caps: Disable it if you use Baseband audio.
#== PREVIEWING ==#
#SELECTEVERY(3 ,0,2)
#SELECTEVERY(3,0)
#SELECTEVEN
#SELECTEVEN or SELECTEVERY: Enable if you want a smooth VirtualDub preview if it is freezing periodically. DISABLE before saving as AVI! -
What are you hoping this script will do for you?
It looks suspiciously like the VHS script I mentioned earlier -
Well I want it to stop saying AVIFileSource: couldn't open file "baseband artifect.wav" It's probably saying that something is wrong with that line? and what I'm trying to do with the script is to put the Effect. avs into virtualdub and can actually run and put it into an old vhs camera
-
This is the line its compaining about:
Code:69 audnoise=wavsource("baseband artifect.wav").resampleaudio(48000).loop(600)
-
No I don't have the 69 in it but It has all the same words except for the 69 at the beginning. Oh wait, do you mean the code at line 69, then yeah that's the line its complaning about it
Last edited by Angel3532; 6th May 2023 at 18:45.
-
Uhm I actually don't know If I have the wav file, how does the wav file look like? or how do you know if you have it?
Last edited by Angel3532; 6th May 2023 at 19:05.
-
The same way you see things in Windows Explorer when you know the location of the folder -
navigate to the folder and see what's there
"VHS Effect" is a package of 8 or 9 files, you need the whole thing -
Download the complete package from here:
https://archive.org/details/avisynth-vhs-effect-v-13.3.3 -
It doesn't say it anymore but now it says this
[Attachment 70821 - Click to enlarge] -
Do you have a 32 bit version of Windows?
Read through this thread, I was helping somebody 3 years ago.
https://forum.videohelp.com/threads/397802-VirtualDub-AVISynth-VHS-Effect-Script-Error -
-
Oh alright, well I’m going to try it out, but If I have any problems, then I’ll let you know
-
Hi I'm back, uhm can you show me how you edit the script to use it rather than Avisource and installing the LSMASH package
-
You can edit it in notepad, it's just a text file. I'm going to look at it a little more
tomorrow -
Here's the results showing the source file, script applied and the actual script.
The script seems to work well under Avisynth 2.5 - 2.6, but has problems when run with Avisynth plus
Are you running Windows 10 ?
Similar Threads
-
VLC failure
By 69Rixter in forum Video ConversionReplies: 2Last Post: 1st Apr 2023, 13:59 -
Avisynth+ GrainFactory3 failure
By Chief Mouse in forum Video ConversionReplies: 6Last Post: 26th May 2022, 16:10 -
HDVSplit transfer failure
By Ferggue in forum Capturing and VCRReplies: 4Last Post: 9th Dec 2021, 19:55 -
Avisynth Open Failure: (Please Help)
By EJN992 in forum RestorationReplies: 1Last Post: 2nd Feb 2021, 08:06 -
Avisynth/VirtualDub2 open failure Script error
By Pixl_talian in forum Newbie / General discussionsReplies: 29Last Post: 2nd Aug 2020, 16:10