Hi Folks,
I am trying to use avisynth filters for different tasks. Avisynth has a function called AVISource where one can define the input and output files. Most of my video clips are in MPEG2 format. I saw that avisynth supports a function called MPEG2Source. This function works with the filter DGDecode.dll. I placed this dll file in the plugins folder but I am getting an error message saying the MPEG2Source function is unknown. I also tried the Load filter function without any result. Could someone help please?
+ Reply to Thread
Results 1 to 7 of 7
-
-
You need to run DgIndex to create a D2V file (open MPG file, then File -> Save Project). Then you use Mpeg2Source("filename.D2V") to open the video. Note that the D2V is only an index and the MPG file is still required. If you use the full path option in DgIndex the MPG file must also be in its original location (or you can edit the D2V file with a text editor like NotePad).
-
Thanks jagabo. I have done exactly what you wrote. The file is called Atlantis. After running the DgIndex in the same folder now there are 4 files. Atlantis.mpg (Original), Atlantis T802_0ch 256Kbps DELAY 0ms.ac3, Atlantis.D2V, Atlantis.log. But now I am getting an error message "MPEG2Source: Unable to load D2V file ....Atlantis.D2V". As I understand it now the MPEG2Source function is working but the video file can not be opened. Any suggestions?
-
MPEG2Source is the best. You said you got the script to run, so what's the problem? Is there something specific you think it can't do for you? Your sources can be split to make multiple D2V files if that's what the second sentence of your previous post was about.
You can use FFVideoSource:
http://code.google.com/p/ffmpegsource/
http://avisynth.org/mediawiki/FFmpegSource
Or even the built-in DirectShowSource, as a last resort. But MpEG2Source is still the best for VOBs and other MPEG sources. -
You can make separate index files for each file and several instances of Mpeg2Source() in your script:
Code:v1=Mpeg2Source("file1.d2v") v2=Mpeg2Source("file2.d2v") v3=Mpeg2Source("file3d2v") # filter the different videos differently return(v1+v2+v3)
http://code.google.com/p/ffmpegsource/ -
The script failed twice complaining about the lack of certain Codecs. Then I ran the script using VirtualDub and it worked. Avisynth works now. My objective was to avoid converting the MPG clips to AVI before using avisynth and to get the MPEG2Source function to work. This problem is sorted. I shall use the links given by monono and jagabo. Thanks again for the help.
Similar Threads
-
Mpeg2Source or FFMS
By olcifaraga in forum DVD RippingReplies: 1Last Post: 22nd Apr 2012, 00:25 -
New AVISynth UI
By tin2tin in forum Latest Video NewsReplies: 23Last Post: 19th Jan 2012, 01:53 -
Blank video with MPEG2Source in Virtualdub but not Virtualdubmod
By txporter in forum Newbie / General discussionsReplies: 2Last Post: 31st Mar 2010, 15:17 -
avisynth
By sportflyer in forum Newbie / General discussionsReplies: 1Last Post: 16th Feb 2010, 04:36 -
AVIsynth help!
By helper in forum Newbie / General discussionsReplies: 11Last Post: 15th Oct 2008, 03:35