Dear all,
While I am doing AVIscript for my video, I kept having error stating Mpeg2 Source couldn't open file.
I open the TMPfull.avs and locate Line25 error:
ideostream=mpeg2source(video)
I have no idea what is it missing out there.
I do have this AVIScript installed in other computer by other people before, hence no idea what is it lacking of.
I badly need help from you guys.
Appreciate a lot.
Under Plugins, I have MPEG2DEC.dll already.
What else am I lacking of?
I am running AVIscript 2.9
I did a test on TOOLs, only AVS - Preview seem to give me issue
+ Reply to Thread
Results 1 to 26 of 26
-
-
Last edited by Alex_ander; 19th Aug 2010 at 07:14.
-
Thanks all for the input. I do notice the last update is donkey years ago. The reason I am using it because of work nature which my ex coll taught me so.
Alex_ander, I gotten the .d2v out from AVIscript.
But I need the .d2v merge with .wav as .avs using that. During the Generate Video stage, I also require to key in script for converting NTSC to PAL.
Here's my workflow.
If anyone can tell me the easiest way, I will be glad.
My end product must be .wmv
Decrypt DVD using DVD decrypter
.VOB and .IFO
.VOB to DVD2AVI for .d2v
Launch AVI script>
Convert Audio (.ac3 to .wav)
Convert Video (.d2v and .wav) - at this point of time, key in script for Subtitle path and NTSC to PAL. (to become .avs at this stage)
After which, I drop .avs to CCE (Cinema Craft Encoder 2) to encode out .MPV
Then under transcoding stage: .MPV to Procoder for .WMV / .AVS to Procoder for .WMA
Merge them using Window Media Stream Editor. -
Hi all,
It seem like using DGIndex.exe to get .d2v out is not workable.
Also, I had replace MPEG2DEC.dll to DGDecode.dll in AVIscript 2.9 full version PLUGIN folder. Now workable.
The error kept showing out whenever I hit Generate Video.
Apparently, I think there's one codec or plugin missing because one of the computer I have now is workable. The rest of the 2 comps are not. -
I am still unable to get it work.
really hope someone can help me out.
Is there any codec that I have to put in tho? -
Thanks tho.
May I know that if avisynth allow me to key in script for changing NTSC to PAL, convert audio from .ac3 to wav and convert video (merging of audio and video together)?
This is what I had been using aviscript tho.
<
#================================================= =============
# AVISynth-Script to generate Stream: [- No Resize -]
# created from [AviScript] at: 24.08.2010, 10:53
#================================================= =============
# 01________________________________________________ ___________
# Variables generated by AviScript
video = "D:\NetMovie\POLICE_ACADEMY\AVI\POLICE_ACADEMY_4x3 _NTSC.d2v"
audio = "D:\NetMovie\POLICE_ACADEMY\AVI\POLICE_ACADEMY_4x3 _NTSC AC3 T02 1_0ch 192Kbps DELOLD -83ms_5.1Downmix_44.1kHz_CorrectDelay.wav"
masktop = 0
maskbuttom = 0
maskleft = 0
maskright = 0
#End01
# 02________________________________________________ ___________
# Load AviSynth PlugIns
# DLL - for mpeg2source, SmartDeInterlace and TemporalSmoother
LoadPlugIn("C:\Program Files\AviScript 2.9 (Fullversion)\PlugIns\mpeg2dec.dll")
#End02
# 03________________________________________________ ___________
# Load Video & Audio
# read MPEG videostream
ideostream=mpeg2source(video)
# read WAV audiostream and mux together
audiostream=wavsource(audio)
audiodub(videostream,audiostream)
# Set userdefined YUY2 - Colorspace
ConvertToYUY2()
#End03
# 06________________________________________________ ___________
# Filtering
# deinterlace with SmartDeInterlace
ConvertToYUY2().SmartDeinterlace(2,15,false,false, false)
#End06
#EndAll
> -
It depends what the source is , and if you used forced film to make it native progressive (or inverse telecined by some other method)
You script has some deinterlacing in it , so I'm not sure what you are doing . If it's NTSC source , you would IVTC it normally, then do a PAL speedup (for both audio & video 24000/1001 => 25 ) . It's unlikely an interlaced source, so you would not deinterlace probably (especially since it says "police academy" - this suggests it's a film source)
And yes, it can be done in avisynth . I suspect a lot of the code is similar , and maybe aviscript is just a front end or tool GUI for avisynth. I personally would resample the audio in eac3to or besweet , and do the video in avisynthLast edited by poisondeathray; 23rd Aug 2010 at 22:03.
-
What normally I did is to get the DVD to decrypt, then on DVD2AVI to get D2V, which about the same as DGindex.
Hence, dropping to AVI Script to do the converting of audio and video.
I have a script to change the NTSC to PAL. While playing back, there's no issue on my end. It is rather an easy step.
Now I have downloaded avisynth2.5, I do not see any .exe file for me to start up tho. -
you have a typo ; it should be
videostream=mpeg2source(video)
because audiodub(videostream,audiostream) calls "videostream" not "ideostream"
It really looks to me like this is just a script writing tool for avisynth, everything else looks familiar , although you should still use dgindex and dgdecode.dll , because mpeg2dec.dll has been documented in causing decoding errors
The earlier comments on deinterlacing are still important - I'm guessing you are deinterlacing when you shouldn't be if it's a telecined source . And even if it was interlaced, the filter you are using is very very poor in quality. It is very old, there are much better ones now
*The very 1st thing you should do is determine what your source is: is it telecined film source ? or interlaced ?
http://neuron2.net/faq.html#analysisLast edited by poisondeathray; 23rd Aug 2010 at 22:22.
-
Thanks, I will get on starting and figure to change the whole working process if avisynth work on my end.
The script that you mention about the interlacing is auto generate from aviscript. As for that, it load AVI Synth plugins as well according to the script posted here.
Seriously speaking, I just joined this company for 6months and it is my ex coll taught me to use aviscript. I have to tally the subtitle and audio delay as well.
If there's 2 disc (part 1 and 2) involved, I have to make sure disc 2 audio does not drift.
The final result will be .avs which we will drop in CCE for encoding. (According to my superior, she claimed that by doing through CCE, everything will be fine, hence the step required)
I guessed that their intention is to script the feature by having the subtitle and changing of NTSC to PAL format.
The final result must be in .wmv (for VOD)
Sorry, the typo of videostream is human error (me)Last edited by pboong; 23rd Aug 2010 at 22:41.
-
There is no exe to start up . Everything is done in scripts. You can use avsp for example. Or even notepad , and rename the .txt extension to .avs . I think you might still be able to use the aviscript that you are using now, I would just update a few of the plugins and decoders . It' s probably just an avisynth script writing tool
You should really consider updating your whole process . All the filters, decoders are newer . Lots of people can help you if you use avisynth with modern filters , but not very many can help you if you use outdated tools and filters -
Yes, when I took over and did a lot of research about aviscript, it is way too outdated.
Hence, I decided to change the entire working process.
I will use DGindex to get the .d2v from .VOB
Right now, all I can use for aviscript is to get the .ac3 out to .wav
But I am lost at this point.
How do I start using avisynth for converting of audio and video? As above script shown, that is the result after I generate the video of audio and video together.
If I were to use avi synth, how do I get it going to generate video tho? -
Everything is almost the same in terms of syntax as what you are using now. It's just some filters and plugins you were using were outdated (may give errors or worse quality) . I recommend Avsp as a script editor
You can use NICAC3Source() for the AC3 audio, you don't have to convert to WAV. Avisynth feeds uncompressed audio .
Avisynth is a frame server . It decodes video (+/- audio) and serves uncompressed to another application. You still have to feed that script to another encoder that accepts .avs scripts (same as you were doing before with CCE)
Instructions are in the DGIndex zip file . You can read avisynth mediawiki for more information . If you get stuck, ask questions, but everything is almost the same (but use DGIndex instead of mpegdec.dll) , and figure out your source characteristics as mentioned above (ie.. don't deinterlace for a film source)
http://avisynth.org/mediawiki/Main_Page
http://avisynth.org/mediawiki/First_script
http://avisynth.org/mediawiki/Getting_started -
Great.
Procoder 3 read .ac3 as well. Because at this stage, I got to transcode to .wma tho.
Actually can I copy paste the script from aviscript to avisynth (using avsP)?
Something like that?
#================================================= =============
# AVISynth-Script to generate Stream: [- No Resize -]
# created from [AviScript] at: 24.08.2010, 12:35
#================================================= =============
# 01________________________________________________ ___________
# Variables generated by AviScript
video = "D:\NEW_VOD\Oceans_Eleven\VOB\MainMovie\OCEANS ELEVEN 2001_NTSC_16x9.d2v"
audio = "D:\NEW_VOD\Oceans_Eleven\VOB\MainMovie\OCEANS ELEVEN 2001VTS_TEST T80 3_2ch 448Kbps DELAY -16ms.ac3"
masktop = 0
maskbuttom = 0
maskleft = 0
maskright = 0
#End01
# 02________________________________________________ ___________
# Load AviSynth PlugIns
# DLL - for mpeg2source, SmartDeInterlace and TemporalSmoother
LoadPlugIn("C:\Documents and Settings\AVGuys.MERCURY\Desktop\dgmpgdec158\DGDecode.dll")
#End02
# 03________________________________________________ ___________
# Load Video & Audio
# read MPEG videostream
videostream=mpeg2source(video)
# read WAV audiostream and mux together
audiostream=wavsource(audio)
audiodub(videostream,audiostream)
# Set userdefined YUY2 - Colorspace
ConvertToYUY2()
#End03
# 06________________________________________________ ___________
# Filtering
# deinterlace with SmartDeInterlace
ConvertToYUY2().SmartDeinterlace(2,15,false,false, false)
#End06
#EndAll
Apart from there, I do not know what else I need to edit.
This is origin generate from aviscript, I only change the Plugin and Movie/Audio path -
Why are you deinterlacing a progressive movie (and using an old and out of date deinterlacer to do it)?
-
Hi Manono,
You mean aviscript as very old right?
I am at the midst of trying to use avisynth, however, I have zero idea how to start with.
BTW, all progressive movie does not require to deinterlace? Please advise me on that.
What if I captured the movie from Digibeta? Do I need to deinterlace during CCE?
Appreciate for everyone's help. -
About the audio:
Does this work -- do you hear audio when you play it?
Wavsource plays waves, as far as I know, not AC3.
You can use several "source" functions to load AC3, as mentioned by others, eg NicAC3Source("file.ac3").
Though the built-in DirectShowSource("file.ac3") may work if you have, eg, ffdshow codecs.
But why bother if you are going to convert this all to WMP?
How are you going from AVS to WMP anyway? Can you just use the AC3 file in that?
If you're not using any Avisynth filters to modify the video, just converting it, simpler to use a dedicated converter like XMediaRecode to go directly from your source to your final format. -
Hi AlanHK,
Yes, actually it is purely converting.
The only thing I need to add on is the YUV and changing of NTSC to PAL.
this is what i do from .avs stage to .wmv
drop .avs to CCE - Encode out as .mpv
(According to my superior, she said that anything go into CCE will be stable)
Then .mpv to Procoder to get .wmv
For audio,
.avs to Procoder for get .wma
If there are 2 audio involved, I use Window Stream Editor to merge them together. If not, Procoder will do just fine with 1 audio.
My superior do not want to get any drop of quality during any stage. -
Movies are progressive. If it was NTSC and encoded as progressive you would make the D2V using Forced Film and get a progressive 23.976fps D2V. If it's hard telecined you make the D2V using Honor Pulldown Flags (the default and probably what you used) and then IVTC in the script (not deinterlace). If PAL you use Honor Pulldown Flags and do nothing more (no deinterlace). And in the off chance it's field-blended you unblend it (probably not the case here). A small 10 second sample, one with steady movement, uploaded somewhewere would allow us to advise better. Deinterlacing it will ruin it.
My superior do not want to get any drop of quality during any stage. -
Thanks manono.
I am trying to change anything that is possible to get the .vob to .wmv tho.
However, what if i have a Disc 1 and 2? How do I merge them together then?
BTW, if the DGIndex tell me that the movie is progressive, I should not try to deinterlace them, right? By doing that, it will be hard telecined. How will the image look like if it is hard telecined? -
When you run the preview and it says film and progressive set the Field Operation to Forced Film and you'll get a progressive 23.976fps D2V. Don't deinterlace. Hard telecine looks like 3 progressive and 2 interlaced frames in every 5 frame sequence. Set the Field Operation to Honor Pulldown Flags and it gets IVTC'd in the script back to progressive 23.976fps. Don't deinterlace.
Are you saying Oceans 11 is divided over 2 discs?
video1 = "D:\NEW_VOD\Oceans_Eleven\VOB\MainMovie\OCEANS ELEVEN 2001_NTSC_16x9_Part1.d2v"
video2 = "D:\NEW_VOD\Oceans_Eleven\VOB\MainMovie\OCEANS ELEVEN 2001_NTSC_16x9_Part2.d2v"
video1+video2 -
manono - just an example. Because there are dvd that divided into 2 parts.
So if there are D1 and D2, all I need to write down the script is as you mentioned?
(example)
video1 = "D:\NEW_VOD\Oceans_Eleven\VOB\MainMovie\OCEANS ELEVEN 2001_NTSC_16x9_Part1.d2v"
video2 = "D:\NEW_VOD\Oceans_Eleven\VOB\MainMovie\OCEANS ELEVEN 2001_NTSC_16x9_Part2.d2v"
video1+video2
Am I right to say that this will be the first line to be key in to avsp?
Then when i add in audio, it will be:
audio = \\"D:\NEW_VOD\Oceans_Eleven\VOB\MainMovie\OCEANS ELEVEN 2001VTS_TEST T80 3_2ch 448Kbps DELAY -16ms.ac3\\"
# read WAV audiostream and mux together
audiostream=wavsource(audio)
audiodub(videostream,audiostream)
After which, how about the YUV code?
SUBtitle (Example)
# 07
VobSub("C:\VCD\VCD_STILL_LIFE\SUB1\VTS_01_0.idx")
#End07
This is the NTSC to PAL code:
# Separate fields and interpolate them to full height.
Bob()
# Resize to PAL square-pixel frame size
BicubicResize(720,576)
# Convert field rate to PAL, using Blend Mode.
ConvertFPS(50)
# Undo Bob, even field first. Use SelectEvery(4,1,2) for odd field first.
SeparateFields.SelectEvery(4,1,2)
# Finish undoing Bob
Weave
Thanks for the information,
I will not deinterlace when I see film/progressive.
BTW, where do I find "Set the Field Operation to Honor Pulldown Flags" ?
Similar Threads
-
DVD FLICK, Start-up Error Msg-Unable to created txt file. Last DLL error: 5
By jacknscoob in forum Authoring (DVD)Replies: 5Last Post: 4th Mar 2012, 08:58 -
Aviscript
By kemo1000 in forum EditingReplies: 4Last Post: 14th Jan 2012, 08:43 -
DVD Shrink Error: Programing Error, exception occurred
By lapetite_66 in forum DVD RippingReplies: 5Last Post: 2nd Jun 2010, 15:59 -
Get many error messages, AviSynth error message and meGUI error
By MKVcrazy in forum Video ConversionReplies: 0Last Post: 25th Aug 2007, 16:41