View Full Version : MPEG1DEC does it exist?
symonjfox
28th April 2003, 21:38
I searched all over the forum but I didn't find.
Is it there an avisynth 2.5 plugin to load MPEG 1 files (ES or PS)?
I tried the same way of MPEG2 but obiously DVD2AVI doesn't read MPEG1 files. I know I could just use Virtual Dub, but Avisynth can use YV12 colour space and also filters are faster and better.
thanks
sh0dan
28th April 2003, 21:53
Look for Nic's MPEGDecoder.
Nic
29th April 2003, 09:17
Its strange though, MPEG2Dec should be able to decode MPEG-1 without any real difficulty. Seeing its based on the MSSG MPEG decoder it and MPEG-2 is basically a superset of mpeg-1, Ive been meaning to look at making mpeg2dec decode mpeg-1 for a while.
(Of course the D2V file would need to be slightly changed due to mpeg-1's frame based nature in comparison to mpeg-2's field based)
Cheers,
-Nic
ps
And yes MPEGDecoder.dll should work ok. I hope. Was going to look at doing a mod for that last night and didnt get time.
And completely OT: Trying to explain colorspace's to a colleague: http://www.mir.com/DMG/chroma.html
symonjfox
29th April 2003, 17:41
Thanks for the help.
Yes, it works fine!
I heard about it, but never tried (I was afraid of synch and frames count bugs).
DDogg
29th April 2003, 18:02
Nic, here is as good as any place as any to ask for clarification on using MPEGDecoder with NTSC. If an existing D2V made with DVD2AVI 176 from progressive source is used as the D2v by MPEGDecoder will the final encode sync?
Maybe I did not understand your readme (want me to rewrite it? :)), but I thought it was saying if you used MPEGDecoder to create the D2v, the pulldown would not be generated unless the additional parameter was manually added. I took that to mean the pulldown WOULD be honored from an pre-existing D2v made with dvd2avi 1.76. Did I misunderstand and could you give me a definitive on this?
I like the speed of MPEGDecoder a lot in CCE, but was never been able to get a synced encode so I stopped trying after a few times.
JuanC
30th April 2003, 04:02
Originally posted by symonjfox
Is it there an avisynth 2.5 plugin to load MPEG 1 files (ES or PS)? I have successfully used TMPGEnc VFapi like this:
LoadVFAPIPlugin("x:\video\TMPGEnc\TMPGEnc.vfp", "TMPGEnc")
TMPGEnc("x:\VIDEOS\Coldplay - The Scientist.tpr")
FlipVertical()
#Reverse()
But have got better results, even playing video and! audio!!! backwardws!, real time!, with
MPEG-2 VIDEO VFAPI Plug-In (http://www.marumo.ne.jp/mpeg2/) it's great for MPEG1 and 2, like this:
LoadVFAPIPlugin("x:\video\m2v_vfp\m2v.vfp", "M2VVFP")
M2VVFP("F:\My shared folder\Coldplay - The Scientist.MPEG")
FlipVertical()
Reverse()
Hope that helps. :J
JuanC, I am interested in your examples but was unable to get either to work. I was using the latest April 30 build. The source was an mpeg muxed by BBMplex and played correctly in WMP and other players.
I have not used the LoadVFAPIPlugin much so maybe I just did it wrong, but wanted to bring it up as Sh0dan named this build a release Candidate.These are the two scripts that I tried:
LoadVFAPIPlugin("C:\Program Files\Pegasys Inc\TMPGEnc Plus 2.5\TMPGEnc.vfp", "M2V")
M2V("D:\HP_CVD4\File00.tpr")
Above would just cause WMP2 to vanish or sometimes an exception
and
LoadVFAPIPlugin("D:\HP_CVD4\m2v.vfp", "M2VVFP")
M2VVFP("D:\HP_CVD4\File00.mpg")
Caused evaluate:unrecognized exception error
Originally posted by DDogg
JuanC, I am interested in your examples but was unable to get either to work. I was using the latest April 30 build. The source was an mpeg muxed by BBMplex and played correctly in WMP and other players. Yes, I'm also using the latest Apr30 build, and yes, I found some problems. Here the results of some tests with different players:
WMP9 will always pop-up a warning window when I play any AVS: "The selected file has an extension that is not recognized by windows media player, but the player may still be able to play it. Because the extension is unknown to the player, you should be sure that the file comes from a trustworthy source. Do you want the player to try to play the file? y/n?" I always clicked yes to see the results below.
With every media player I tested: ZoomPlayer 3.00std (my preferred player), ATI MMC File player 8.1, WMP 9 and WMP 6.4 (mplayer2):
1. My first example above would play fine, but No player will exit normally after playing it. I must always force the window to close and then go to the task manager, select the process and terminate it. Some times it would be enough for ZPlayer and AtiPlayer to force their window to close, but WMP9 & 6.4 I will always have to use task manager to terminate them.
2. After previewing any of my examples above with VirtualDub 1.5.2 or VirtualDubMod 1.5.1.1a which would play any of them fine, they will exit but they won't exit normally, I will have to go to task manager and terminate the process.
3. ZoomPlayer and ATI Player will play my second example above but will randomly give me exceptions messages like the following ones, and Hang:
Avisynth: caught an access violation at 0x77f745cc, attempting to write to 0x019ae778
Avisynth: caught an access violation at 0x77f52109, attempting to write to 0x00000000
Avisynth: caught an access violation at 0x77f56e27, attempting to write to 0x07170b60
Avisynth: caught an access violation at 0x77f5234c, attempting to write to 0x3d66b5b4
4. WMP9 and mplayer2 (WMP6.4) won't play my second example above. They will instead show in the video window an exception message:
Evaluate: Unrecognized exception!
(x:\dir\xxxx.AVS, line2)
I Hope this could help. :J
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.