I have VirtualDub 1.9.11 and AVISynth 2.5.8.
I wanted to convert a MKV file to an AVI file. So I created an AVS. It looks like this:
Then I opened it up in VirtualDub - it successfuly opened up without any problems. Then I wanted to remove theCode:DirectShowSource("C:\Users\ADAM\Desktop\Katanagatari.EP01(BD.720p.FLAC).mkv")
subtitle stream from the MKV but didn't know how to do that in VirtualDub.
So I opened the MKV file with MKVmerge and deselected the subtitle stream and so I created a new
MKV without subtitles. The new file was the same size as the original and there was no quality loss or anything
like that. It was the same as original.
Then I created a new AVS file for the new MKV file without subtitles. The code looks the same as the first one.
Then I opened the AVS in VirtualDub and gave me this error:
I have no idea what's wrong. The only difference I made is removed the subtitle stream using MKVmerge. Please help!Code:Avisynth open failure: Evaluate: System exception - Access Violation (C:\Users\ADAM\Desktop\Katanagatari.avs, line 1)
(Note: I also tried using VirtualDubMod but that doesn't seem to load the video successfuly and always gives me errors)
+ Reply to Thread
Results 1 to 4 of 4
-
Last edited by CryADsisAM; 20th Feb 2013 at 07:26.
-
VirtualDub isn't making the subtitles, it's whatever Windows uses to open the MKV, as Avisynth uses Windows codecs to display files when you use DirectShowSource.
Could be DirectVobSub.
You could configure that (turn it off) and see if the original AVS works.
However, I find it more reliable to use FFmpegSource2 instead of DirectShowSource.
That uses code from ffmpeg, as you might deduce, to open just about any file.
It ignores subs, only video and audio.
Get it from http://code.google.com/p/ffmpegsource/
Then you use this in the AVS:
Code:FFmpegSource2("Katanagatari.EP01(BD.720p.FLAC).mkv",atrack=-1,fpsnum=-1,fpsden=1)
If you actually do want subs, use Textsub, which you can get from http://avisynth.org/warpenterprises/ -
Thanks a lot. It appears to be working now.
I wondered first why this "atrack=-1,fpsnum=-1,fpsden=1" is needed but I soon noticed that the audio
doesn't work if I don't use it.Last edited by CryADsisAM; 20th Feb 2013 at 08:02.
-
It's all explained in the documentation.
"atrack=-1" chooses the first available audio track. You can use 0, 1, 2, etc. if you have multiple tracks and want to choose which.
"fpsnum=-1,fpsden=1" set the frame rate; -1 is no change, so it can be omitted. But I find it useful to have in case I need to adjust it here.
e.g. if it's "25.0001" and should be 25, I do "fpsnum=25,fpsden=1"
Similar Threads
-
Any way to use DESHAKER in AviSynth?? (searched)
By RogerTango in forum EditingReplies: 12Last Post: 18th Sep 2014, 15:00 -
AviSynth open failure in VirtualDub
By fatcharlie in forum Newbie / General discussionsReplies: 5Last Post: 3rd Mar 2011, 21:32 -
Avisynth question open failure FF3TdGPU.dll
By duster1234 in forum Video ConversionReplies: 4Last Post: 15th Oct 2008, 07:29 -
AviSynth open failure:
By rocky12 in forum Newbie / General discussionsReplies: 11Last Post: 29th Jul 2008, 20:35 -
Avisynth open failure for cropping
By php111 in forum Newbie / General discussionsReplies: 51Last Post: 26th Mar 2008, 12:24