PDA

View Full Version : Just a quick MPEG2Source question...


j_olson
26th October 2005, 00:02
I have used Avisynth through DVD2SVCD (in AVI2DVD mode) and among other things resized AVI's. Now I want to resize an MPEG file instead.

I have checked Avisynth manual/FAQ and it seems to point to MPEG2Source in DGDecode.dll. It should be able to handle both MPEG-1 and MPEG-2 sources, and it wants a .d2v (DVD2AVI project file) so I have set out to create one.

I downloaded DVD2AVI version 1.83, opened the (soundless) MPEG file (Test_NTSC.mpv) in it, played it for a while and then selected Save Project.

Then I made a short test.avs file:
LoadPlugin("C:\Program\AviSynth 2.5\plugins\DGDecode.dll")
DGDecode_MPEG2Source("C:\-= TEMP =-\Video\Test_NTSC.d2v")
Trim(120,150)

...and just for testing do the same as in the manual, open it in Media Player.
...but I get "MPEG2Source: couldn't open source file, or obsolete D2V file (test.avs, line 2)

Any help?

unskinnyboy
26th October 2005, 00:10
..means the DVD2AVI you used for creating the d2v is older than the DGDecode you are using to decode it with. Use the latest DGIndex to create your d2v and use the DGDecode.dll bundled with it to decode the d2v.

j_olson
26th October 2005, 00:16
Thanks for the quick answer, I will try that :)