hi there!
I want to Re-encode a MPEG-1 movie with cce 2.5. because i have to do some changes to the vid i need to use avisynth.
when i drag the following -avs into cce, it crashes down. (i'm using avisynth 2.5.5)
the avs ist:
---start
LoadPlugin("MPEGdecoder.dll") -> loading the plugin
MPEGSource("d:\convert\l.mpg") -> opening the mpeg-1 file
crop(0,112,-0,-112) #cutting some useless black stripes
LanczosResize(352,282)
AddBorders(0,3,0,3) #resize and fit to pal vcd
ConvertToYUY2() #for cce
---end
i also tried to put the convert... line after the mpegsource line (i have to do so for AVISource) but that doesnt work, too.
now i dont have a guess what the problem is, because the script runs fine in VDub and TMPEGEnc.
cu
chris
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays!
+ Reply to Thread
Results 1 to 13 of 13
Thread
-
-
Maybe you've got an old (v2.0) plugin?
Here are the links to the WarpSharp files;
AviSynth v2.0
http://www.avisynth.org/warpenterprises/files/mpegdecoder_20_dll_20030216.zip
AviSynth v2.5
http://www.avisynth.org/warpenterprises/files/mpegdecoder_25_dll_20030216.zip -
hi
i've downloaded v. 2.5 and copied it over my mpegdecoder.dll although it was the same file version and date. anyway it did not change anything.
thanks
chris -
I guess you don't have access to the original AVI file so what are you trying to change in the .MPG file? The video quality will almost certainly drop if you re-encode the .MPG file.
-
hi jyn999,
the video hast the resolution of 480X576, but black stripes on the top and the bottom which are around 112 pixel. and the video looks crouched (i mean the opposite of stretched, is it the right word?) in height. after cutting the bars and resizing it to vcd dimension this error is fixed, i tried it in tmpeg.
so this is the reason why i want to reencode it. by the way, the quality is not worse a lot after reencoding the viedeo because the "original" is pretty crappy.
anyway i wonder about another error now:
the original mpeg has 121532 frames. when i open my avs script in VDub, ich can view the whole movie, but vdub says it only has 60564 frames. when i open the avs in tmpg, it says same but encodes only half the movie.
so i wonder why the avs only leads to 50% less frames and why vduv views the whole movie with this 60000 frames and tmpg only encodes half of the movie.
might there be an error in the mpeg?
cya
chris -
You mentioned TMPGEnc. Check these guides
https://www.videohelp.com/tmpgencsvcd.htm This one is for SVCD
https://www.videohelp.com/tmpgenc.htm This one is for VCD
I seem to remember there was some kind of clipping filter in TMPGEnc that you access via Setting, Advanced which might do what the AviSynth Crop command does. -
MPEG-1 needs no plug-ins just use
directshowsource"The software said Win XP or better, so I Installed Linux" -
hello lpn1160,
thank you rof the hint. i wanted to give it a try but it did not work.
i've used the following command to open the mpg-file:
DirectShowSource(d:\convert\l.mpg,fps=25,seek=FALS E,audio=FALSE,video=TRUE)
and the error message when using the script into virtual dub was:
script error: expected a , or )
(D:\convert\MPEG1Source.avs, line 1 column 19)
i wonder about that because i think i used the command correctly.
anyway i tried to open the mpg with WMP and WMP crashes every time. might it be that an error in WMP might cause this error?
greetings
chris -
hi jyn999,
i post in the newbie but i've some experience in video encoding already. so i also used tmpgenc in "unlocked mode" before.
the problem is, that tmpgenc says that the file type of the mpg is unknown, although tmpenc should be able to open mpeg-1 files.
is it possible, that tmpgenc as well as avisynth and WMP open mpeg-1 with DirectShow? And if so, i think there might be an error in DirectShow on my computer.
So do you know with which software DirectShow comes? does it belong to win2k itself or direct x or something?
greetings
chris -
hey guys,
here's an update. i searched trough windows' help and found, that direct show comes with DirectX 8oh wonder...). however, i installed the latest DirectX version 9c.
now TMPGEnc can read the MPEG-1 files again, but avisynth and wmp still can't. this is really amazing....
however, i can do the job now with the clipping function of tmpgenc but now i want to solve the other problem... that happens always to me, argh!
cu later
chris
p.s. maybe it helps to use win2k's repair console to fix the error -
I did a search on the forum for DIRECTSHOW and came up with over 200 hits. I don't know anything about DIRECTSHOW to filter further results so I'll leave that in your good hands
-
For expert avisynth help go here:
be prepared to answer a lot of question about the clip you have.
go to forums "avisynth usage"
http://forum.doom9.org"The software said Win XP or better, so I Installed Linux"
Similar Threads
-
Vegas Movie Studio 11 Build 293 crashes on some file opens
By sdsumike619 in forum EditingReplies: 6Last Post: 10th Feb 2012, 11:47 -
Program crashes while opening
By creeper in forum SVCD2DVD & VOB2MPGReplies: 5Last Post: 3rd Aug 2009, 12:55 -
TMPGenc crashes when opening avi
By Kromgol in forum Video ConversionReplies: 4Last Post: 19th Jul 2009, 09:03 -
Problem opening (.avs) file in virtualdub...
By dominator007 in forum DVD RippingReplies: 16Last Post: 19th Nov 2008, 10:53 -
Error when opening avs in VirtualDubMod
By chrishallowell in forum Newbie / General discussionsReplies: 6Last Post: 28th Aug 2007, 07:57