PDA

View Full Version : PAL MPG Avisynth Question


zeus163
28th January 2004, 08:47
I looked for this, but didn't quite seem to find what I was looking for. My friend sent me a PAL MPG2 DVD compliant file (originally a DV file that was converted to MPG2 with a DVD standalone recorder). that he asked me to work on for him. I want to create a basic script to import it into Premiere to sync a different audio source with it. I will also end up re-encoding it by frame-serving the file into CCE. Will this basic script work for this as I'm not looking for any enhancements with it:

LoadPlugin("C:\MPEG2Dec3.dll")
LoadPlugin("C:\Decomb510.dll")
MPEG2Source("C:\Cure.d2v")
LanczosResize(720, 576)

Will this work? I generally only do PAL to NTSC conversions, but this one needs to stay a PAL format after I encode it again.

I hope this makes sense. I just want to make sure I'm doing this right for my friend.

Thanks!

sh0dan
28th January 2004, 09:40
Have you tried it? ;)

Seems ok - it will not be deinterlaced. I don't know if that's what you're trying to do, since you load decomb. If you want that, add "FieldDeinterlace()".

What are you encoding to?

Mug Funky
28th January 2004, 10:25
if it's PAL MPEG-2 it shouldn't need resizing either... or transcoding.

use that to sync the audio up, but then simply mux the audio onto that video. you'll lose no quality by transcoding that way.

TMPGenc can do muxing... as can BBMPEG (will do ac-3 as well), don't know about CCE.

bbmpeg is free.

zeus163
28th January 2004, 15:43
Thanks for your replies. I did try it and it appeared to work by pulling the file into VirtualDub, but I wanted to make sure I wasn't missing/skipping anything. The deinterlacing is leftover from my NTSC script. I just didn't take it out. For my friend, I'm just going back to a PAL MPG2 file for a DVD.

My original intent was not to encode the PAL version again. However, about halfway through there is a tape change during this particular music event that lasts almost two minutes. For my version (a PAL to NTSC encode) I cut the video file at that spot within Premiere and dragged the video part down the time line until I could sync the files again. When I told my friend about this, he wants the same thing now. So, I will re-encode for him as well. Otherwise, I would not be re-encoding for him.

Thanks for your help. I hope my responses made sense.