Publisher
Joined: 4/23/2009
Posts: 1283
Hetfield90 wrote:
I see. Switching to x264 solves that issue, but now I am getting sound desyncs. Pretty sure I still have everything set to default in my configurations. Is there anything I should change there that might fix it?
You could also retry Lagarith without NULL frames. That's probably what is really causing it. Edit: H.264 in AVI is a bad idea. I would recommend not doing it that way.
Skilled player (1248)
Joined: 8/29/2014
Posts: 302
I was still having the same issue with Lagarith without null frames enabled.
Publisher
Joined: 4/23/2009
Posts: 1283
Hetfield90 wrote:
I was still having the same issue with Lagarith without null frames enabled.
Well, so much for that, lol. It's too bad YT doesn't like Lagarith. Oh well, I would go with feos' suggestion.
Skilled player (1248)
Joined: 8/29/2014
Posts: 302
feos wrote:
Try camstudio lossless codec too.
All issues fixed after switching to camstudio. Thanks!
Post subject: Problem with VirtualDub and avs scripts
Stovent
He/Him
Publisher
Joined: 8/23/2016
Posts: 165
Location: France
Hi, I try to encode a movie, but when I launch my script with VirtualDub, he tells me : "variable 'LoadPlugin' not found" Does anyone knows how to fix this ?
[17:37:00]<TheCoreyBurton> It's N64 - it's ALWAYS bad news.
Site Admin, Skilled player (1255)
Joined: 4/17/2010
Posts: 11492
Location: Lake Char­gogg­a­gogg­man­chaugg­a­gogg­chau­bun­a­gung­a­maugg
Warning: When making decisions, I try to collect as much data as possible before actually deciding. I try to abstract away and see the principles behind real world events and people's opinions. I try to generalize them and turn into something clear and reusable. I hate depending on unpredictable and having to make lottery guesses. Any problem can be solved by systems thinking and acting.
fsvgm777
She/Her
Senior Publisher, Player (226)
Joined: 5/28/2009
Posts: 1215
Location: Luxembourg
Do you have AviSynth installed?
Steam Community page - Bluesky profile Oh, I'm just a concerned observer.
Stovent
He/Him
Publisher
Joined: 8/23/2016
Posts: 165
Location: France
Yes, it is installed and i have DeDup too
[17:37:00]<TheCoreyBurton> It's N64 - it's ALWAYS bad news.
Joined: 10/14/2013
Posts: 335
Location: Australia
What about loading the AVS script in another program (like Media Player Classic)? That way we can narrow it down to whether it's Virtualdub or AVISynth causing the issue.
I'm not as active as I once was, but I can be reached here if I should be needed.
Post subject: Re: Problem with VirtualDub and avs scripts
Publisher
Joined: 4/23/2009
Posts: 1283
Stovent wrote:
Hi, I try to encode a movie, but when I launch my script with VirtualDub, he tells me : "variable 'LoadPlugin' not found" Does anyone knows how to fix this ?
Can you post your script on Pastebin.com and give us a link?
Stovent
He/Him
Publisher
Joined: 8/23/2016
Posts: 165
Location: France
[17:37:00]<TheCoreyBurton> It's N64 - it's ALWAYS bad news.
Publisher
Joined: 4/23/2009
Posts: 1283
If you make a new AVS with only the following line and open it in VirtualDub, what happens?:
Language: avisynth

Version()
Spikestuff
They/Them
Editor, Publisher, Expert player (2655)
Joined: 10/12/2011
Posts: 6446
Location: The land down under.
It's because you don't have DeDup in the specified location which you provided. DeDup: http://akuvian.org/src/avisynth/dedup/ I modified the script a bit (with a bow) so it shouldn't encounter any future issues, after solving your first one: http://pastebin.com/dEb83tPU
WebNations/Sabih wrote:
+fsvgm777 never censoring anything.
Disables Comments and Ratings for the YouTube account. Something better for yourself and also others.
Stovent
He/Him
Publisher
Joined: 8/23/2016
Posts: 165
Location: France
Aktan wrote:
If you make a new AVS with only the following line and open it in VirtualDub, what happens?:
Language: avisynth

Version()
As a video file, VirtualDub tells me : "AVI Import Filter error: (Unknow) (80040154) and as a script : "Variable 'Version' not found". I've verifed and I have DeDup installed in the correct folder, the path is correct. I've unistalled/reinstalled AVISynth and VirtualDub and it still doesn't work
[17:37:00]<TheCoreyBurton> It's N64 - it's ALWAYS bad news.
fsvgm777
She/Her
Senior Publisher, Player (226)
Joined: 5/28/2009
Posts: 1215
Location: Luxembourg
Are you running the 64-bit version of VirtualDub (Veedub64.exe)? If so, please try on the 32-bit version of VirtualDub (VirtualDub.exe).
Steam Community page - Bluesky profile Oh, I'm just a concerned observer.
Stovent
He/Him
Publisher
Joined: 8/23/2016
Posts: 165
Location: France
Still not working : "Avisynth open failure: LoadPlugin: unable to load "<path>", Module not found. Install missing library?". My path is set as : C:\Program Files (x86)\AviSynth\plugins\dedup\DeDup.dll I've tried to open it without the "loadplugin" line and it tells me : "Avisynth open failure: Splice: Video formats don't match" but I think it's normal
[17:37:00]<TheCoreyBurton> It's N64 - it's ALWAYS bad news.
Spikestuff
They/Them
Editor, Publisher, Expert player (2655)
Joined: 10/12/2011
Posts: 6446
Location: The land down under.
Looks at the Image Looks at the Script Looks at the Image Looks at the Script Looks at the Image Looks at the Script sighs Replace line 1 with this:
Language: avisynth

LoadPlugin("C:\Program Files (x86)\AviSynth\plugins\dedup\DeDup.dll")
Spikestuff wrote:
It's because you don't have DeDup in the specified location which you provided.
The location you actually placed the dll is within the subfolder of the plugin directory. Which isn't part of the intended path. This is the reason why it failed. Another way to bypass the entire "LoadPlugin" (Once you get this to work) is to place the dll file into the plugin folder without placing a subfolder into the mix and deleting the first line of the script.
WebNations/Sabih wrote:
+fsvgm777 never censoring anything.
Disables Comments and Ratings for the YouTube account. Something better for yourself and also others.
Publisher
Joined: 4/23/2009
Posts: 1283
I'm with fsvgm777, if even a simple AVS with just Version() in it doesn't work, it sounds like 32-bit/64-bit problem. Where did you get your install of AviSynth and where did you get your install of VirtualDub. Exact URLs please.
Stovent
He/Him
Publisher
Joined: 8/23/2016
Posts: 165
Location: France
Acvisynth : https://sourceforge.net/projects/avisynth2/ VirtualDub : http://virtualdub.sourceforge.net/ for 32 and 64 bits DeDup : http://akuvian.org/src/avisynth/dedup/dedup-0.17.zip (spikestuff's link) and it still doesn't work... if you wanna check again : script : http://pastebin.com/YbdSzJ0H file folder : http://www.hostingpics.net/viewer.php?id=965978dedup.jpg If you want, i can skype from 9 to 11 pm GMT+1. Send me a PM and i'll give you my skype
[17:37:00]<TheCoreyBurton> It's N64 - it's ALWAYS bad news.
Publisher
Joined: 4/23/2009
Posts: 1283
I'm on vacation right now, so when I get back, I can
Joined: 10/14/2013
Posts: 335
Location: Australia
If you're in doubt, you could always make a backup of your plugins folder and uninstall AVISynth. Then reinstall the 32-bit version and make sure you're running the 32-bit virtualdub. I do this on a 64-bit OS for compatibility reasons so there's no harm there. It's a long shot, but this could help resolve your problem prior to Aktan's return! I have a question of my own, too. What's the best way to get FFV1 AVI files produced with Dolphin into AVISynth on Windows? AVISource and FFMS2 produce a grey video (it seems they can't decode it); LSMASHSource can't decode it (it gives off an error message). LWLibavVideoSource can load it up and display it correctly but the process eventually hangs after playback or encoding of a few frames (there's no common point in the video or number of frames before the freeze, it's usually just happens after a few minutes). How do you guys import these clips?
I'm not as active as I once was, but I can be reached here if I should be needed.
Joined: 10/14/2013
Posts: 335
Location: Australia
Looked into it a bit further since my last post. Seems like the reason LSMASH didn't work but LibAV did is because they use different ways of demuxing the clip (and from what I can tell, the demuxer LibAV has more success than the one LSMASH uses but still can't handle the file correctly which is what leads to the inconsistent freezing). I'm not sure what's up, I think it's either a missing codec on my behalf or the source filters struggling to demux the clip in conjunction with this particular codec. Remuxing a short portion to MKV and loading it up with FFVideoSource worked perfectly, but the file's well over 1tb in size so remuxing the whole thing isn't possible. Plus, I'd rather solve the issue and load the file directly. in terms of codecs, I can't actually play back the video file. I use MPC-HC and have ffdshow tryouts (and a whole other host of various codecs) installed, but I get the same grey screen which leads me to believe my issue might be solvesble with a simple codec - then I could perhaps use AVISource. Additionally, the file's in good condition. Programs like AVIDemux load the clip without issue. Hopefully this information is helpful in some way!
I'm not as active as I once was, but I can be reached here if I should be needed.
Publisher
Joined: 4/23/2009
Posts: 1283
This is a known issue with FFV1. Basically FFV1 codec version 2 or 3 (I forgot) is not well supported in AviSynth. The workaround is to set Dolphin to use version 1 of FFV1. Or reencode to version 1 with FFMPEG (which seems like it isn't possible). Fog had add the option to encode to version 1 (since the options for FFV1 used to be hard coded) but I'm not sure if it actually got in. I think it did.
Joined: 10/14/2013
Posts: 335
Location: Australia
Thank you. I messaged Fog and he helped me import the file (I believe it was an oversight on my behalf). The correct way to do so is to use FFVideoSource, for anyone else coming across this message.
I'm not as active as I once was, but I can be reached here if I should be needed.
Publisher
Joined: 4/23/2009
Posts: 1283
thecoreyburton wrote:
Thank you. I messaged Fog and he helped me import the file (I believe it was an oversight on my behalf). The correct way to do so is to use FFVideoSource, for anyone else coming across this message.
If I remember correctly, while you can load the file with FFVideoSource, the timestamps were not correct however. If the AVI has dup frames though, wrong timestamps shouldn't matter.