VideoHelp Forum




+ Reply to Thread
Results 1 to 26 of 26
  1. Member
    Join Date
    Sep 2006
    Location
    United States
    Search Comp PM
    whenever i try to put an animation background it plays too fast and doesnt sync with the music background. i've even tried just putting the animation there without music, titlesets, or advanced menus and it still plays too fast. the same thing with animation buttons, instead of being 10 secs it ends up as 5 (it shows 10 seconds of clips but its so fast that it plays in 5 seconds).
    Quote Quote  
  2. Always Watching guns1inger's Avatar
    Join Date
    Apr 2004
    Location
    Miskatonic U
    Search Comp PM
    What does g-spot say about the video itself ?
    Read my blog here.
    Quote Quote  
  3. The xml stuff doesn't help here...
    1. GfD creates a simple elementary m2v file during the authoring process. If your mainmenu is animated, it will be named MMBackg.m2v. You can open this file with any player that can show mpeg2 video. This file is then multiplexed with mplex to a new video which is named MMBackg.mpg (including the audio). You can check if this file is ok or not.
    2. The only problem I can think of, is an animated background file (avi or mpeg) with another framerate as specified for DVDs (25 fps for PAL, 29.97 for NTSC). In this case avisynth would probably use this framerate, as it is the first one (background!) which could result in such a problem.
    Quote Quote  
  4. Member
    Join Date
    Sep 2006
    Location
    United States
    Search Comp PM
    yes, its doing that.

    INFO: [???] Frame width : 720
    INFO: [???] Frame height : 480
    INFO: [???] Aspect ratio : 4:3 display
    INFO: [???] Picture rate : 29.970 frames/sec
    INFO: [???] Bit rate : 8000000 bits/sec
    INFO: [???] Vbv buffer size : 245760 bytes


    how would i change that?

    also, according to gspot its an mpeg2, gunslinger
    Quote Quote  
  5. yes, its doing that.
    Its doing what???
    MMBackg.mpg plays ok (correct speed and sync), if played with a soft player...
    Yes or No?
    INFO: [???] Frame width...
    Is this the INFO for the menu or the movie?
    How is your animation background designed? Imported m2v or AVI? Or just a still picture with animation elements 'on top'?
    If imported m2v or AVI: Is the duration of this m2v or AVI identical with the duration of the background audio for the menu and the duration setting in the background dialog?
    What is the framerate of the imported m2v or AVI?
    If AVI: Does the AVI contain audio?

    I'm sure this matter can be solved, but we will need much more info...
    It would probably be helpful, if you could post the MMScript.avs file
    Quote Quote  
  6. Member
    Join Date
    Sep 2006
    Location
    United States
    Search Comp PM
    i meant its doing 29.97 frames

    it doesnt play in sync with any dvd player

    my animation background is m2v.
    duration of m2v length is the same as the audio originally, but once i create dvd, the video plays faster than the music.

    this is my mmscript.avs:
    length=300 #length of the clip in frames.
    ImgTitle = ImageReader("C:\Documents and Settings\renato dela cruz\Desktop\gfddvd\Temp\MMBackImgs.bmp", 0, length, 30, False).ConvertToRGB32().AssumeFPS(29.97)
    ImgMask = ImageReader("C:\Documents and Settings\renato dela cruz\Desktop\gfddvd\Temp\MMBackImgs2.bmp", 0, length, 30, False).ConvertToRGB32().AssumeFPS(29.97)
    ImgLayer = Mask(ImgTitle, ImgMask)
    StrTitle = ImageReader("C:\Documents and Settings\renato dela cruz\Desktop\gfddvd\Temp\MMBackStrs.bmp", 0, length, 30, False).ConvertToRGB32().AssumeFPS(29.97)
    StrMask = ImageReader("C:\Documents and Settings\renato dela cruz\Desktop\gfddvd\Temp\MMBackStrs2.bmp", 0, length, 30, False).ConvertToRGB32().AssumeFPS(29.97)
    StrLayer = Mask(StrTitle, StrMask)
    mpegsource("C:\Documents and Settings\renato dela cruz\Desktop\ig.m2v").ConvertToRGB32().bilinearres ize( 720, 480)
    layer(ImgLayer,"add",255, 0, 0)

    layer(StrLayer,"add",255, 0, 0)
    ConvertToYV12()

    ----------------------------------------


    my guiauthor.log:
    (shrink and) mux video and audio files
    INFO: [???] mplex version 2.0.0 (2.2.3 $Date: 2004/01/13 20:45:26 $)
    INFO: [???] File C:\Documents and Settings\renato dela cruz\Desktop\ig.m2v looks like an MPEG Video stream.
    INFO: [???] Video stream 0: profile 8 selected - ignoring non-standard options!
    INFO: [???] Found 0 audio streams and 1 video streams
    INFO: [???] Selecting dvdauthor DVD output profile
    INFO: [???] Multiplexing video program stream!
    INFO: [???] Scanning for header info: Video stream e0 (C:\Documents and Settings\renato dela cruz\Desktop\ig.m2v)
    INFO: [???] VIDEO STREAM: e0
    INFO: [???] Frame width : 720
    INFO: [???] Frame height : 480
    INFO: [???] Aspect ratio : 4:3 display
    INFO: [???] Picture rate : 29.970 frames/sec
    INFO: [???] Bit rate : 8000000 bits/sec
    INFO: [???] Vbv buffer size : 245760 bytes
    INFO: [???] CSPF : 0
    INFO: [???] SYSTEMS/PROGRAM stream:
    INFO: [???] rough-guess multiplexed stream data rate : 8165248
    INFO: [???] target data-rate specified : 10080000
    INFO: [???] Setting specified specified data rate: 10080000
    INFO: [???] Run-in Sectors = 88 Video delay = 12873 Audio delay = 0
    INFO: [???] New sequence commences...
    INFO: [???] Video e0: buf= 237568 frame=000000 sector=00000000
    INFO: [???] STREAM e0 completed @ frame 1998.
    INFO: [???] Multiplex completion at SCR=7429412.
    INFO: [???] Video e0: buf= 96005 frame=001998 sector=00007665
    INFO: [???] VIDEO_STATISTICS: e0
    INFO: [???] Video Stream length: 15363875 bytes
    INFO: [???] Sequence headers: 167
    INFO: [???] Sequence ends : 0
    INFO: [???] No. Pictures : 1999
    INFO: [???] No. Groups : 167
    INFO: [???] No. I Frames : 167 avg. size 25476 bytes
    INFO: [???] No. P Frames : 501 avg. size 10580 bytes
    INFO: [???] No. B Frames : 1332 avg. size 4355 bytes
    INFO: [???] Average bit-rate : 1473200 bits/sec
    INFO: [???] Peak bit-rate : 4524000 bits/sec
    INFO: [???] BUFFERING min 16 Buf max 191968
    INFO: [???] MUX STATUS: no under-runs detected.

    C:\Documents and Settings\renato dela cruz\Desktop\gfddvd\Temp>Time: 9/24/2006 6:47:27 AM
    *creating MMback.m2v
    42994696
    C:\Documents and Settings\renato dela cruz\Desktop\gfddvd\Temp>Time: 9/24/2006 6:52:13 AM
    *mux to MMback.mpg
    INFO: [???] mplex version 2.0.0 (2.2.3 $Date: 2004/01/13 20:45:26 $)
    INFO: [???] File C:\Documents and Settings\renato dela cruz\Desktop\gfddvd\Temp\MMBackg.m2v looks like an MPEG Video stream.
    INFO: [???] File C:\Documents and Settings\renato dela cruz\Desktop\ms.mpa looks like an MPEG Audio stream.
    INFO: [???] Video stream 0: profile 8 selected - ignoring non-standard options!
    INFO: [???] Found 1 audio streams and 1 video streams
    INFO: [???] Selecting dvdauthor DVD output profile
    INFO: [???] Multiplexing video program stream!
    INFO: [???] Scanning for header info: Video stream e0 (C:\Documents and Settings\renato dela cruz\Desktop\gfddvd\Temp\MMBackg.m2v)
    INFO: [???] VIDEO STREAM: e0
    INFO: [???] Frame width : 720
    INFO: [???] Frame height : 480
    INFO: [???] Aspect ratio : 4:3 display
    INFO: [???] Picture rate : 29.970 frames/sec
    INFO: [???] Bit rate : 7800000 bits/sec
    INFO: [???] Vbv buffer size : 229376 bytes
    INFO: [???] CSPF : 0
    INFO: [???] Scanning for header info: Audio stream c0 (C:\Documents and Settings\renato dela cruz\Desktop\ms.mpa)
    INFO: [???] MPEG AUDIO STREAM: c0
    INFO: [???] Audio version : 1.0
    INFO: [???] Layer : 2
    INFO: [???] CRC checksums : yes
    INFO: [???] Bit rate : 20480 bytes/sec (160 kbit/sec)
    INFO: [???] Frequency : 48000 Hz
    INFO: [???] Mode : 0 stereo
    INFO: [???] Mode extension : 0
    INFO: [???] Copyright bit : 0 no copyright
    INFO: [???] Original/Copy : 0 copy
    INFO: [???] Emphasis : 0 none
    INFO: [???] SYSTEMS/PROGRAM stream:
    INFO: [???] rough-guess multiplexed stream data rate : 8128296
    INFO: [???] target data-rate specified : 10080000
    INFO: [???] Setting specified specified data rate: 10080000
    INFO: [???] Run-in Sectors = 89 Video delay = 13019 Audio delay = 0
    INFO: [???] New sequence commences...
    INFO: [???] Video e0: buf= 237568 frame=000000 sector=00000000
    INFO: [???] Audio c0: buf= 4096 frame=000000 sector=00000000
    INFO: [???] STREAM e0 completed @ frame 2495.
    INFO: [???] STREAM c0 completed @ frame 3480.
    INFO: [???] Multiplex completion at SCR=7522304.
    INFO: [???] Video e0: buf= 237568 frame=002495 sector=00017365
    INFO: [???] Audio c0: buf= 1696 frame=003480 sector=00000828
    INFO: [???] VIDEO_STATISTICS: e0
    INFO: [???] Video Stream length: 34996256 bytes
    INFO: [???] Sequence headers: 167
    INFO: [???] Sequence ends : 0
    INFO: [???] No. Pictures : 2496
    INFO: [???] No. Groups : 167
    INFO: [???] No. I Frames : 167 avg. size 48085 bytes
    INFO: [???] No. P Frames : 666 avg. size 23479 bytes
    INFO: [???] No. B Frames : 1664 avg. size 6807 bytes
    INFO: [???] Average bit-rate : 3360000 bits/sec
    INFO: [???] Peak bit-rate : 9131200 bits/sec
    INFO: [???] BUFFERING min 18 Buf max 155305
    INFO: [???] AUDIO_STATISTICS: c0
    INFO: [???] Audio stream length 1670880 bytes.
    INFO: [???] Syncwords : 3481
    INFO: [???] Frames : 3481 padded
    INFO: [???] Frames : 0 unpadded
    INFO: [???] BUFFERING min 19 Buf max 479
    INFO: [???] MUX STATUS: no under-runs detected.
    *creating menufile MMMenu.mpg
    DVDAuthor:pumux, version 0.6.12-alpha-2992-GfD-4.
    Build options: gnugetopt iconv freetype
    Send bugs to <gfd@boraxsoft.de>

    INFO: Locale=C
    INFO: Converting filenames to US-ASCII
    STAT: 0:00:00.000
    INFO: PNG had 2 colors
    INFO: PNG had 2 colors
    INFO: Constructing blank img
    INFO: Pickbuttongroups, success with 1 groups, useimg=1
    INFO: Found EOF in .sub file.
    INFO: Max_sub_size=110
    WARN: Read 0, expected 4
    INFO: 1 subtitles added, 0 subtitles skipped, stream: 32, offset: 0.18

    Statistics:
    - Processed 0 subtitles.
    - The longest display line had -1 characters.
    - The maximum number of displayed lines was 0.
    - The normal display height of the font arial.ttf was 0.
    - The bottom display height of the font arial.ttf was 0.
    - The biggest subtitle box had 110 bytes.

    C:\Documents and Settings\renato dela cruz\Desktop\gfddvd\Temp>Time: 9/24/2006 6:52:31 AM
    *creating EmptyBackg.m2v
    INFO: [jpeg2yuv] Parsing & checking input files.
    INFO: [jpeg2yuv] Image dimensions are 720x480
    INFO: [jpeg2yuv] Movie frame rate is: 29.970030 frames/second
    INFO: [jpeg2yuv] Interlaced frames, top field first.
    INFO: [jpeg2yuv] Frame size: 720 x 480
    INFO: [jpeg2yuv] Now generating YUV4MPEG stream.
    INFO: [jpeg2yuv] Processing non-interlaced/interleaved C:\Documents and Settings\renato dela cruz\Desktop\gfddvd\Temp\EmptyBackg.jpg, size 6029l.
    INFO: [mpeg2enc] Selecting DVD output profile
    INFO: [mpeg2enc] Encoding MPEG-2 video to C:\Documents and Settings\renato dela cruz\Desktop\gfddvd\Temp\EmptyBackg.m2v
    INFO: [mpeg2enc] Horizontal size: 720 pel
    INFO: [mpeg2enc] Vertical size: 480 pel
    INFO: [mpeg2enc] Aspect ratio code: 2 = 4:3 display
    INFO: [mpeg2enc] Frame rate code: 4 = 30000.0/1001.0 (NTSC VIDEO)
    INFO: [mpeg2enc] Bitrate: 3000 KBit/s
    INFO: [mpeg2enc] Quality factor: 1 (1=best, 31=worst)
    INFO: [mpeg2enc] Field order for input: top-field-first
    INFO: [mpeg2enc] Sequence unlimited length
    INFO: [mpeg2enc] Search radius: 16
    INFO: [mpeg2enc] GOP SIZE RANGE 9 TO 18
    INFO: [mpeg2enc] Setting colour/gamma parameters to "NTSC"
    INFO: [mpeg2enc] Progressive format frames = 0
    INFO: [mpeg2enc] Buffering 45 frames
    INFO: [mpeg2enc] SETTING 3DNOW and EXTENDED MMX for QUANTIZER!
    INFO: [mpeg2enc] SETTING EXTENDED MMX for MOTION!
    INFO: [mpeg2enc] SETTING MMX for TRANSFORM!
    INFO: [mpeg2enc] SETTING EXTENDED MMX for PREDICTION!
    INFO: [mpeg2enc] GOP LENGTH = 1
    INFO: [mpeg2enc] Frame start 0 I 0 0
    INFO: [mpeg2enc] Frame end 0 432.00 432.00 1.0 1.00
    INFO: [mpeg2enc] GOP LENGTH = 0
    *mux to EmptyBackg.mpg
    INFO: [???] mplex version 2.0.0 (2.2.3 $Date: 2004/01/13 20:45:26 $)
    INFO: [???] File C:\Documents and Settings\renato dela cruz\Desktop\gfddvd\Temp\EmptyBackg.m2v looks like an MPEG Video stream.
    INFO: [???] Video stream 0: profile 8 selected - ignoring non-standard options!
    INFO: [???] Found 0 audio streams and 1 video streams
    INFO: [???] Selecting dvdauthor DVD output profile
    INFO: [???] Multiplexing video program stream!
    INFO: [???] Scanning for header info: Video stream e0 (C:\Documents and Settings\renato dela cruz\Desktop\gfddvd\Temp\EmptyBackg.m2v)
    INFO: [???] VIDEO STREAM: e0
    INFO: [???] Frame width : 720
    INFO: [???] Frame height : 480
    INFO: [???] Aspect ratio : 4:3 display
    INFO: [???] Picture rate : 29.970 frames/sec
    INFO: [???] Bit rate : 3000000 bits/sec
    INFO: [???] Vbv buffer size : 229376 bytes
    INFO: [???] CSPF : 0
    INFO: [???] SYSTEMS/PROGRAM stream:
    INFO: [???] rough-guess multiplexed stream data rate : 3062744
    INFO: [???] target data-rate specified : 10080000
    INFO: [???] Setting specified specified data rate: 10080000
    INFO: [???] Scanned to end AU 0
    INFO: [???] Run-in Sectors = 88 Video delay = 12873 Audio delay = 0
    INFO: [???] New sequence commences...
    INFO: [???] Video e0: buf= 237568 frame=000000 sector=00000000
    INFO: [???] STREAM e0 completed @ frame 0.
    INFO: [???] Multiplex completion at SCR=731.
    INFO: [???] Video e0: buf= 230035 frame=000000 sector=00000004
    INFO: [???] VIDEO_STATISTICS: e0
    INFO: [???] Video Stream length: 7533 bytes
    INFO: [???] Sequence headers: 1
    INFO: [???] Sequence ends : 1
    INFO: [???] No. Pictures : 0
    INFO: [???] No. Groups : 1
    INFO: [???] No. I Frames : 1 avg. size 7533 bytes
    INFO: [???] No. P Frames : 0 avg. size 0 bytes
    INFO: [???] No. B Frames : 0 avg. size 0 bytes
    INFO: [???] Average bit-rate : 1806000 bits/sec
    INFO: [???] Peak bit-rate : 0 bits/sec
    INFO: [???] BUFFERING stream too short for useful statistics
    INFO: [???] MUX STATUS: no under-runs detected.
    Quote Quote  
  7. I don't see an error so far. But I'm no NTSC 'specialist'. Maybe your source (renato dela cruz\Desktop\ig.m2v) has a framerate of 23.976 and Avisynth will 'fasten' this to 29.97. I don't have NTSC material here with such a framerate (23.976), therefore it's hard for me to test this out. IMHO we will need a specialist for Avisynth/telecine problems...
    Quote Quote  
  8. Member
    Join Date
    Sep 2006
    Location
    United States
    Search Comp PM
    it used to work fine, i just dont know what changed
    Quote Quote  
  9. I don't know it either...
    But without the material, I cannot check where the problem is. And such files are usually to big to be transfered by email. If you should have a fast internet access and some webspace, you can put the m2v clip and the ac3 file there and send me the link. I think ~ 10 sec. should be enough to get the 'of sync' problem, but that's something you should check beforehand as 35 MB (size of our original clip) + Audio is really to much....
    Quote Quote  
  10. Member
    Join Date
    Sep 2006
    Location
    United States
    Search Comp PM
    you mean you wanna see the finished product showing the of sync thing, or before i made it?
    Quote Quote  
  11. I would need the thing before...
    You have a video stream: renato dela cruz\Desktop\ig.m2v" and an audio stream: ms.mpa
    You told me they have the same length. According to the log, the video has ~34996256 bytes. IMHO this is to much... Probably this video could be cut down to something like 10 seconds (resulting in ~ 10MB) and the same for the audio stream (mpeg2cut or cuttermaran are very good for such things). Then you try if the 'fastening' and of sync is also noticeable for this shorter piece. If yes, we can use the shorter version (i.e. upload it somewhere), if not, this is already a point to start with...
    Quote Quote  
  12. Member
    Join Date
    Sep 2006
    Location
    United States
    Search Comp PM
    i've tried shortening it and the same thing happened. i've tried it many times with different video backgrounds and music so sending the files to you may not really matter.

    do you think it could be my settings? my settings for gfddvd, quenc, or avisynth
    Quote Quote  
  13. do you think it could be my settings?
    I have no idea. Can you put an example (the .gfd file, the m2v of the background clip and the background audio file) anywhere? Rapidshare or somewhere on your own webspace if you should have enough? You can send me the link in a pm or email. Without 'testing' material, I cannot help you. If you have an old example (you told me, it used to work fine), you may also try to compare what is changed between the projects yourself. I still believe, it has something to do with your source clip and the 23.976/29.97 FPS problems for NTSC (i.e. pulldown flags).
    Quote Quote  
  14. Member
    Join Date
    Sep 2006
    Location
    United States
    Search Comp PM
    theres enough in it to show the offsync

    http://www.megaupload.com/?d=W0Y7I5XF
    Quote Quote  
  15. Ok, I will check it asap...

    EDIT:
    Just to be sure: If I use the video 'ig.m2v' and the audio 'ms.mpa' as a 'normal' movie, the sync is ok, but used as animated menu it goes of sync?
    Quote Quote  
  16. Member
    Join Date
    Sep 2006
    Location
    United States
    Search Comp PM
    yes, when played along side each other at the same time they are synced

    when used in the menu, no
    Quote Quote  
  17. I had a short look into the project. As I have expected, there is a problem with the pulldown...
    If the files 'ig.m2v' and 'ms.mpa' are multiplexed as a 'normal' movie, it is shown with a framerate of 24 (23.976) in MPC, even if the framerate in the mpg file is set to 29.97. Mplex reports a total of 190 frames. If this is run through Avisynth/HC the output has 235 frames, MPC shows it with 29.97 FPS, but of sync. I will need some time to figure this out, as I'm no NTSC pulldown specialist (NTSC is not very common in Germany...)
    Quote Quote  
  18. Member
    Join Date
    Sep 2006
    Location
    United States
    Search Comp PM
    i converted it to pal format and it was still off sync
    Quote Quote  
  19. How did you do (try) that?
    Quote Quote  
  20. I found a possibility...
    Using your ig.m2v as input in TMPGEnc Plus (Ver 2.5) with a standard NTSC template just setting the output stream type to elementary video stream 'ES (Video only)', the resulting new m2v file could be used as 'background' animation in GfD (which plays in sync with the ms.mpa!)
    Quote Quote  
  21. Member
    Join Date
    Sep 2006
    Location
    United States
    Search Comp PM
    i used pal format instead of ntsc format when i was using guifor dvdauthor

    thanks, but i cant use tmpgenc plus because i have to buy it. will tmpgenc do the same thing you're saying?
    Quote Quote  
  22. Member
    Join Date
    Sep 2006
    Location
    United States
    Search Comp PM
    im using tmpenc and it cant open any .m2v video files

    or anything for that matter. i dont understand
    Quote Quote  
  23. i used pal format instead of ntsc format when i was using guifor dvdauthor
    This cannot work... GfD isn't a 'converter'...

    but i cant use tmpgenc plus
    Ok, I will try to find another solution.
    Quote Quote  
  24. Other possibility:
    Download and 'install' the newest Dgmpgdec
    Run dgindex, open the ig.m2v file and save the project (dgindex seems to correct the pulldown/TFF/BFF problems)
    Create an avisynth file (i.e. ig2.avs) for the new ig.d2v file like:
    Code:
    LoadPlugin("D:\Programme\Dgmpgdec\DGDecode.dll")
    MPEG2Source("X:\TempFilm\ig.d2v")
    (but using your path definitions!)

    Open this file in QuEnc or HC and encode it to a new m2v file (other name and path)
    Use this new m2v file as 'background' animation in GfD
    Instead of encoding a new file, you can also use the 'Create batch' button in GfD and edit the MMScript.avs (and also the other avs files if you have other animated menus with this problem in the same project too). After the comments:
    Code:
    ...
    # You will also need an Avisynth version of 2.5.4 or higher ###############
    ###########################################################################
    Add a new line with
    Code:
    LoadPlugin("D:\Programme\Dgmpgdec\DGDecode.dll")
    (but using your path definition)

    Replace the line with the 'old mpeg' definition:
    Code:
    mpegsource("X:\TempFilm\ig.m2v").ConvertToRGB32().bilinearresize( 720, 480)
    with:
    Code:
    MPEG2Source("X:\TempFilm\ig.d2v").ConvertToRGB32().bilinearresize( 720, 480)
    (but using your path definition)

    Save the MMScript.avs and run the MainBatch.bat file to start the authoring process.

    It seems that I may be forced to update GfD and use dgindex/dgdecode instead of the (old) MPEGDecoder.dll in the next version...
    Quote Quote  
  25. Member
    Join Date
    Sep 2006
    Location
    United States
    Search Comp PM
    i've tried both ways and now its in sync but the outcome become sort of jittery. thanks still though, but it still needs work.. i'll stick with it now though, unless you have another solution

    question though. how come when i updated my avisynth from 2.5.4 to a higher one the screen just turns green
    Quote Quote  
  26. Member
    Join Date
    Sep 2006
    Location
    United States
    Search Comp PM
    i fixed it! woohoo thanks!
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!