Quantcast
Channel: VideoHelp Forum
Viewing all articles
Browse latest Browse all 45648

Diaporama / AviSynth / conversion avi to mpg problem

$
0
0
Hello,

I'm making a DVD-Video from clips and photos of mine. It's composed of 4 titles, and some menus and submenus. All the authoring is made with DVDAuthorGUI 1.029 and that works very fine.

All that is clip works fine too.

All the titles have been managed/created with AviSynth scripts (.AVS) ==> VirtuaDubMod 1.5.10.2 (.AVI) ==> MediaCoder for convert .avi to mpg (I used several versions, included 0.6.0 on Windows 2000 - newest doesn't works)

All that is clip works finely. But not that is photos:

For photos, I've created a diaporama via AviSynth and VirtualDubMod. The .AVI resulting seems to work perfectly on different soft-viewers on Windows 2000 and on Windows XP.

But the .MPG I obtain with MediaCoder have problems. The translation sequences are broken as if the final speed was less than the real, and so the audio is broken too, but not in VLC where it works perfectly !!!

Having worked with VLC, I didn't see that problem at the biginning, therefore I've burned the DVD and the situation is above !!!

That's the MediaCoder parameters I used (that's for one of the diapo sequences) :
Source format: Container AVI:
Video WMV3: Bitrate 703Kbps / Resolution 720x576 / Frame Rate 25.00 fps
Audio pcm: Bitrate 1536Kbps / Sampling Rate 48000 Hz / Channel 2
Target format: Container MPEG2:
Video MPEG2 (mode Bitrate-based): Bitrate 5000 Kbps / Resolution 720x576 / Frame Rate 25.00 fps
Audio FFMPEG Audio Codecs: Audio: 192Kbps / Sample Rate 48000 Hz / (AC3)
Thanks to anyone that helps me with this problem.

Below, a diapo sequence in AviSynth script:
# N2009_diapo part2 = Noël 2009 - Diaporama part 2
rep = "Photos_2009\" # répertoire de départ des photos concernées
#audio :
Audio2 = WavSource("N2009_NoelBlanc_3m54s5.wav")

loadPlugin ("c:\\Program Files\AviSynth 2.5\plugins\TransAll\TransAll.dll")

# Diaporama : Lanczos4Resize au lieu de RecubicResize
# jour de Noël (25/12):
j01 = ImageSource(rep+"2009 12 25 001.jpg", end=350, fps=25).Lanczos4Resize(720,540).AddBorders(0,18,0, 18)
j02 = ImageSource(rep+"2009 12 25 002.jpg", end=350, fps=25).Lanczos4Resize(432,576).AddBorders(144,0,1 44,0)
j03 = ImageSource(rep+"2009 12 25 003.jpg", end=350, fps=25).Lanczos4Resize(432,576).AddBorders(144,0,1 44,0)
j04 = ImageSource(rep+"2009 12 25 004.jpg", end=350, fps=25).Lanczos4Resize(720,540).AddBorders(0,18,0, 18)
j05 = ImageSource(rep+"2009 12 25 005.jpg", end=350, fps=25).Lanczos4Resize(720,540).AddBorders(0,18,0, 18)
j06 = ImageSource(rep+"2009 12 25 006.jpg", end=350, fps=25).Lanczos4Resize(720,540).AddBorders(0,18,0, 18)
j07 = ImageSource(rep+"2009 12 25 007.jpg", end=350, fps=25).Lanczos4Resize(720,540).AddBorders(0,18,0, 18)
j08 = ImageSource(rep+"2009 12 25 008.jpg", end=350, fps=25).Lanczos4Resize(720,540).AddBorders(0,18,0, 18)
j09 = ImageSource(rep+"2009 12 25 009.jpg", end=350, fps=25).Lanczos4Resize(432,576).AddBorders(144,0,1 44,0)
j10 = ImageSource(rep+"2009 12 25 010.jpg", end=350, fps=25).Lanczos4Resize(720,540).AddBorders(0,18,0, 18)
j11 = ImageSource(rep+"2009 12 25 011.jpg", end=350, fps=25).Lanczos4Resize(720,540).AddBorders(0,18,0, 18)
j12 = ImageSource(rep+"2009 12 25 012.jpg", end=350, fps=25).Lanczos4Resize(432,576).AddBorders(144,0,1 44,0)
j13 = ImageSource(rep+"2009 12 25 014.jpg", end=350, fps=25).Lanczos4Resize(720,540).AddBorders(0,18,0, 18)
j14 = ImageSource(rep+"2009 12 25 015.jpg", end=350, fps=25).Lanczos4Resize(720,540).AddBorders(0,18,0, 18)
j15 = ImageSource(rep+"2009 12 25 016.jpg", end=350, fps=25).Lanczos4Resize(432,576).AddBorders(144,0,1 44,0)
j16 = ImageSource(rep+"2009 12 25 017.jpg", end=350, fps=25).Lanczos4Resize(720,540).AddBorders(0,18,0, 18)
j17 = ImageSource(rep+"2009 12 25 018.jpg", end=350, fps=25).Lanczos4Resize(720,540).AddBorders(0,18,0, 18)
j18 = ImageSource(rep+"2009 12 25 019.jpg", end=350, fps=25).Lanczos4Resize(432,576).AddBorders(144,0,1 44,0)
j19 = ImageSource(rep+"2009 12 25 020.jpg", end=350, fps=25).Lanczos4Resize(432,576).AddBorders(144,0,1 44,0)
j20 = ImageSource(rep+"2009 12 25 021.jpg", end=350, fps=25).Lanczos4Resize(720,540).AddBorders(0,18,0, 18)
j21 = ImageSource(rep+"2009 12 25 022.jpg", end=350, fps=25).Lanczos4Resize(720,540).AddBorders(0,18,0, 18)
j22 = ImageSource(rep+"2009 12 25 023.jpg", end=350, fps=25).Lanczos4Resize(432,576).AddBorders(144,0,1 44,0)
j23 = ImageSource(rep+"2009 12 25 062.jpg", end=350, fps=25).Lanczos4Resize(432,576).AddBorders(144,0,1 44,0)

TransBubbles(j01,j02,100,static=false)
TransAccord(last,j03,100,dir="vert",twin=true,open =true)
TransBubbles(last,j04,100,static=false)
TransAccord(last,j05,100,dir="vert",twin=true,open =false)
TransBubbles(last,j06,100,static=false)
TransAccord(last,j07,100,dir="vert",twin=true,open =true)
TransBubbles(last,j08,100,static=false)
TransAccord(last,j09,100,dir="vert",twin=true,open =false)
TransBubbles(last,j10,100,static=false)
TransAccord(last,j11,100,dir="vert",twin=true,open =true)
TransBubbles(last,j12,100,static=false)
TransAccord(last,j13,100,dir="vert",twin=true,open =false)
TransBubbles(last,j14,100,static=false)
TransAccord(last,j15,100,dir="vert",twin=true,open =true)
TransBubbles(last,j16,100,static=false)
TransAccord(last,j17,100,dir="vert",twin=true,open =false)
TransBubbles(last,j18,100,static=false)
TransAccord(last,j19,100,dir="vert",twin=true,open =true)
TransBubbles(last,j20,100,static=false)
TransAccord(last,j21,100,dir="vert",twin=true,open =false)
TransBubbles(last,j22,100,static=false)
TransAccord(last,j23,100,dir="vert",twin=true,open =true)
AudioDubEx(last,Audio2)

Viewing all articles
Browse latest Browse all 45648

Trending Articles