VideoHelp Forum




+ Reply to Thread
Results 1 to 19 of 19
  1. Member
    Join Date
    May 2004
    Location
    Chicago South Suburbs
    Search Comp PM
    I have two files that I downloaded. When I checked the original files, sampling them through WMP, they seemed to be in sync-the audio matching the video. Yet after burning them with ConvertXtoDVD (v.4.0.9.322) the resulting discs are out of sync.
    If the original files were out of sync, and, the program couldn't correct this, that I can understand. But the reverse? Can someone (Baldrick?) help me to understand what is going on here? Thanks.
    Quote Quote  
  2. Mod Neophyte redwudz's Avatar
    Join Date
    Sep 2002
    Location
    USA
    Search Comp PM
    How are they out of sync? Is the sync error the same amount the length of the playback, or does it gradually get worse as it plays? The first type of error may be a audio offset file that ConvertX didn't read. The second type may be due to an error in the file. Players can skip over errors. VLC can play a badly damaged or corrupted file and you may not notice. But an encoder needs a 100% error free file.
    Last edited by redwudz; 13th Mar 2010 at 00:11.
    Quote Quote  
  3. Member
    Join Date
    May 2004
    Location
    Chicago South Suburbs
    Search Comp PM
    I haven't actually sat through either of the out of sync discs, just sampled them through Windows Media Player, (not VLC.) But from what you are saying, in both files there must an offset that convertX is able to detect which results in the out of sync discs.
    Quote Quote  
  4. Always Watching guns1inger's Avatar
    Join Date
    Apr 2004
    Location
    Miskatonic U
    Search Comp PM
    There is also no absolute-best-100%-guaranteed-works-every-time-for-every-movie program. ConvertXtoDVD is good (although I prefer version 3 to version 4at the moment), but it doesn't work on every file. You need to have a few options, and also accept that sometimes a file will have a problem that will make it unusable. It happens. Especially with downloaded material of dubious and indeterminate origin. I always keep a copy of AVS2DVD handy (actually, this is usually my first choice, with ConvertXtoDVD used for the quick and dirty conversions). It might be worth a try.

    You might also run the avi through one of the repair tools, just to be sure the index is sound.
    Read my blog here.
    Quote Quote  
  5. Member
    Join Date
    May 2004
    Location
    Chicago South Suburbs
    Search Comp PM
    I don't if I actually thought there was a program that was always performed perfectly, but if I did, I now know better. I tried one of the files I downloaded on avs2dvd, and, then after the conversion, used imgburn to create the DVD. I then sampled the result through Windows Media Player. The result? This time the disc is in sync. So obviously avst2dvd corrects potential sync problems better than convertx.

    Maybe Ill try finding that collection of Lone Ranger episodes I tried burning with convertx, but this time use avstodvd with imgburn, and, see if that eliminates the sync problem for that as well.
    Quote Quote  
  6. Originally Posted by agent222 View Post
    ...So obviously avst2dvd corrects potential sync problems better than convertx...
    Just to be clear and not create "false" myth: AVStoDVD does not correct synch problems. It simply does not introduce them.



    Bye
    MrC

    AVStoDVD Homepage
    Quote Quote  
  7. Member
    Join Date
    May 2004
    Location
    Chicago South Suburbs
    Search Comp PM
    All I know for sure is this; the original files didn't seem to be out of sync. When I burned them to disc, using convertx, they were out of sync. After converting one the originals with avs2dvd, then using imgburn to create the disc, the disc was in sync.
    Quote Quote  
  8. Member
    Join Date
    Mar 2010
    Location
    North America
    Search Comp PM
    Originally Posted by _MrC_ View Post
    Originally Posted by agent222 View Post
    ...So obviously avst2dvd corrects potential sync problems better than convertx...
    Just to be clear and not create "false" myth: AVStoDVD does not correct synch problems. It simply does not introduce them.



    Bye
    Hmmm... I seem to be having a similar problem, only with AVStoDVD instead of ConvertXtoDVD. I have several movies I am trying to burn to DVD. They play just fine in an external player (Windows Media Player). However when I make DVD projects of these films and preview the output, the audio lags behind the video! What can I do to fix this problem? Help!
    Quote Quote  
  9. @KKPHM

    use the 'Title Edit'/'AviSynth'/'Delay Audio' feature to correct the synch error.



    Bye
    MrC

    AVStoDVD Homepage
    Quote Quote  
  10. Member
    Join Date
    Mar 2010
    Location
    North America
    Search Comp PM
    Originally Posted by _MrC_ View Post
    @KKPHM

    use the 'Title Edit'/'AviSynth'/'Delay Audio' feature to correct the synch error.



    Bye
    Thank you sir. I found this function, and after a lot of trial and error, roughly figured out that the audio lagged by roughly -2300ms. My question is, why should this happen when the video files play just fine without lag in an external player?

    Also, in order to use this delay function of AviSynth, I had to disable the maintain DVD compliant video checkbox. Will this introduce problems in playback? Just wondering.
    Quote Quote  
  11. Member
    Join Date
    Mar 2010
    Location
    North America
    Search Comp PM
    Alright. After several weeks of working with AVStoDVD, and many struggles, I have successfully burned some DVDs through ImgBurn. I've gotten several failed burns, and failed muxes. I've encountered the "small source mismatch" error while encoding with HCenc.

    (https://forum.videohelp.com/threads/318961-%28HCenc%29-WARNING-small-source-mismatch-found-in-pass-2)

    The end result? About half of my burned DVDs have the audio out of sync, even after changing the audio delay settings in AviSynth.

    I think it's really great that someone has released a freeware program which authors DVDs. But I'm getting to my wit's end. What am I doing wrong here?
    Quote Quote  
  12. Always Watching guns1inger's Avatar
    Join Date
    Apr 2004
    Location
    Miskatonic U
    Search Comp PM
    I don't know, but I have used AVStoDVD to encode several hundred files, from many different source formats, all burned with imgburn. I have had no coasters from imgburn, and very few failures with AVStoDVD. In the few cases where I have had unresolved issues I have used ConvertXtoDVD to finish the job instead.

    I know this doesn't fix your problem, but I believe it does point to the issue being with either your processes, or your system.
    Read my blog here.
    Quote Quote  
  13. Originally Posted by KKPHM View Post
    The end result? About half of my burned DVDs have the audio out of sync, even after changing the audio delay settings in AviSynth.
    Make sure that you have installed good directshow codecs (like ffdshow).

    Before start to encode and burn, always test the project output using the 'Preview Clip' feat.

    Finally, post the log files and let's see if we can understand what's wrong.



    Bye
    MrC

    AVStoDVD Homepage
    Quote Quote  
  14. Member
    Join Date
    Mar 2010
    Location
    North America
    Search Comp PM
    Alright folks. Here we go.

    Here is a perfect example of the issues I am encountering when using AVStoDVD with ImgBurn:

    1. I create a new project in AVStoDVD, add the video title I want, and set up the DVD menu. When I preview the title, all is well - the audio is in sync with the video, no problems.

    2. I start generating the output in AVStoDVD, its final result being an ISO UDF. HCenc 2-pass runs for two hours, MuxMan runs, and we move on to building the image as ImgBurn loads up.

    3. On a dual-layer DVD+R, ImgBurn asks where to set the Layer Break. All options are "Average" starred, so I pick the one with the most padding and at position 50/50. I preview the clip before setting the Layer Break and... voila! The audio is lagging behind the video.

    The only assumption I have is that encoding with HCenc 2-pass is somehow screwing up the synchronization between the audio and the video track. Any suggestions? Here is the log file from AVStoDVD:

    <4/9/2010 3:38:10 AM>
    START PROCESS
    <>

    <4/9/2010 3:38:10 AM>
    PROJECT SETTINGS

    DVD Video Standard: NTSC
    DVD Titles number: 1
    DVD Size: 7033/8100 MB (87%)
    DVD Output Setup: ISO UDF Image
    DVD Label: IAGC
    DVD Menu: Static Menu
    Output Folder: C:\Documents and Settings\DJ Haz-Mat\My Documents
    Delete Temp Process Files: Yes
    Delete Working Files: Yes
    Edit Command Parameters: No
    Post Process Task: Show Progress Status window

    PREFERENCES

    AVS Source Filter: A2DSource
    AVS Resize Filter: Lanczos4Resize
    Video Resolution: 0
    Video BitRate Min: 4500
    Video BitRate Level 1: 8500
    Video Profile Level 2: 8500
    Video BitRate Max: 8500
    Keep DVD Compliant Video: 1
    AC3 Audio Encoder: 0
    DVD Audio Format: 0
    DVD Audio BitRate: 448
    Keep DVD Compliat Audio: 1
    Normalize Audio: 1
    DVD Audio Language: EN - English
    DVD Subs Language: EN - English
    Chapthers Interval: 5
    Use Source Chapters: 1
    DVD Burning Drive: D: MATSHITA DVD-RAM UJ870A SB23
    DVD Burning Speed: 4x
    Auto Erase DVD RW: 1
    Save Log file: 1
    Unload ActiveMovie library: 0
    Adjust ffdshow mixer: 1
    <>

    <4/9/2010 3:38:10 AM>
    TITLE 1 SOURCE FILES
    Video: C:\Documents and Settings\DJ Haz-Mat\My Documents\My Videos\IAGC\IAGC.avi
    Info: DivX 5 - 806 kbps - 512x288 - DAR 1.778 - 29.97 fps (CFR) - Progressive - 1:47:11 hours - 192745 frames
    Audio: C:\Documents and Settings\DJ Haz-Mat\My Documents\My Videos\IAGC\IAGC.avi
    Info: MPEG-1 Audio layer 3 - 96 kbps - CBR - 44100Hz - 2ch - 1:47:10 hours
    Subs: C:\Documents and Settings\DJ Haz-Mat\My Documents\My Videos\IAGC\IAGC.srt
    []
    <>

    <4/9/2010 3:38:10 AM>
    AVISYNTH SCRIPT
    Import("C:\Program Files\AVStoDVD\Lib\A2DSource.avsi")

    Video = A2DVideoSource("C:\Documents and Settings\DJ Haz-Mat\My Documents\My Videos\IAGC\IAGC.avi", CacheFolder = "C:\DOCUME~1\DJHAZ-~1\LOCALS~1\Temp")
    Audio = A2DAudioSource("C:\Documents and Settings\DJ Haz-Mat\My Documents\My Videos\IAGC\IAGC.avi", CacheFolder = "C:\DOCUME~1\DJHAZ-~1\LOCALS~1\Temp")

    Video = Video.ConvertToYV12
    Video = Video.Lanczos4Resize(720,480)

    Audio = Audio.Normalize()
    Audio = Audio.SSRC(48000)

    AudioDub(Video, Audio)
    <>

    <4/9/2010 3:38:10 AM>
    START VIDEO ENCODING OPERATIONS
    Encoding Profile: HCenc VBR 2-pass
    Target Video FileSize: 6516.4 MB
    HCenc Parameters: -ini "C:\DOCUME~1\DJHAZ-~1\LOCALS~1\Temp\IAGC_1_IAGC.HCenc.ini"
    HCenc ini file:
    *INFILE C:\DOCUME~1\DJHAZ-~1\LOCALS~1\Temp\IAGC_1_IAGC.avs
    *AVSRELOAD
    *OUTFILE C:\Documents and Settings\DJ Haz-Mat\My Documents\IAGC_1_IAGC.m2v
    *LOGFILE C:\DOCUME~1\DJHAZ-~1\LOCALS~1\Temp\IAGC_1_IAGC.HCenc.log
    *MAXBITRATE 9000
    *BITRATE 8500
    *PROFILE BEST
    *ASPECT 16:9
    *PROGRESSIVE
    *BIAS 80
    *DC_PREC 10
    *MATRIX MPEG
    *AQ 1
    *LUMGAIN 0
    *SMP
    *PRIORITY IDLE
    *WAIT 2
    <>

    <4/9/2010 5:51:57 AM>
    END VIDEO ENCODING OPERATIONS
    A2DVideoSource: AVISource
    Created File: C:\Documents and Settings\DJ Haz-Mat\My Documents\IAGC_1_IAGC.m2v (5548.1 MB)
    OUTPUT VIDEO INFO: MPEG-2 Video - 7297 kbps - 720x480 - DAR 1.778 - 29.97 fps (CFR) - Progressive - 1:47:04 hours - 192552 frames
    <>

    <4/9/2010 5:51:57 AM>
    START AUDIO ENCODING OPERATIONS
    Wavi+Aften Parameters: "C:\DOCUME~1\DJHAZ-~1\LOCALS~1\Temp\IAGC_1_IAGC.avs" - | "C:\Program Files\AVStoDVD\Aften\aften.exe" -b 448 -pad 0 -dynrng 5 -bwfilter 0 - "C:\Documents and Settings\DJ Haz-Mat\My Documents\IAGC_1_IAGC.ac3"
    <>

    <4/9/2010 6:00:19 AM>
    END AUDIO ENCODING OPERATIONS
    A2DAudioSource: DirectShowSource
    Created File: C:\Documents and Settings\DJ Haz-Mat\My Documents\IAGC_1_IAGC.ac3 (343.5 MB)
    OUTPUT AUDIO INFO: AC3 - 448 kbps - CBR - 48000Hz - 2ch - 1:47:11 hours
    <>

    <4/9/2010 6:00:19 AM>
    START SUBS ENCODING OPERATIONS
    SubtitleCreator Parameters: "C:\DOCUME~1\DJHAZ-~1\LOCALS~1\Temp\IAGC_1_IAGC.srt" -p4 -i"C:\Program Files\AVStoDVD\SubtitleCreator\Examples\VTS_01_1.I FO"
    <>

    <4/9/2010 6:00:28 AM>
    END SUBS ENCODING OPERATIONS
    Created File: C:\Documents and Settings\DJ Haz-Mat\My Documents\IAGC_1_IAGC.sup (1.1 MB)
    <>

    <4/9/2010 6:00:29 AM>
    START DVD MENU BUILDING OPERATIONS
    DVD Menu settings: Style 0, DAR 1, Titles Format 1, Video BitRate 9000, Menu Pages 1, Menu Titles 1
    <>

    <4/9/2010 6:00:33 AM>
    END DVD MENU BUILDING OPERATIONS
    Created File (Menu Page 1): C:\DOCUME~1\DJHAZ-~1\LOCALS~1\Temp\IAGC_1_MenuPage1.bmp (1 MB)
    <>

    <4/9/2010 6:00:33 AM>
    START DVD AUTHORING OPERATIONS
    BatchMux Parameters: -arglist "C:\DOCUME~1\DJHAZ-~1\LOCALS~1\Temp\IAGC_1_BatchMux.ini"
    BatchMux ini file:
    -d "C:\Documents and Settings\DJ Haz-Mat\My Documents\IAGC_1\VIDEO_TS"
    -mxp "C:\DOCUME~1\DJHAZ-~1\LOCALS~1\Temp\IAGC_1_MuxMan.mxp"
    -l "C:\DOCUME~1\DJHAZ-~1\LOCALS~1\Temp\IAGC_1_MuxMan.log"
    -muxman "C:\Program Files\AVStoDVD\MuxMan"
    -prio LOW
    -v "C:\Documents and Settings\DJ Haz-Mat\My Documents\IAGC_1_IAGC.m2v"
    -vidmode LB
    -a1 "C:\Documents and Settings\DJ Haz-Mat\My Documents\IAGC_1_IAGC.ac3"
    -a1lang en
    -s1 "C:\Documents and Settings\DJ Haz-Mat\My Documents\IAGC_1_IAGC.sup"
    -s1lang en
    -cellfr "C:\DOCUME~1\DJHAZ-~1\LOCALS~1\Temp\IAGC_1_IAGC_MuxMan.txt"
    -progfr "C:\DOCUME~1\DJHAZ-~1\LOCALS~1\Temp\IAGC_1_IAGC_MuxMan.txt"
    -chapfr "C:\DOCUME~1\DJHAZ-~1\LOCALS~1\Temp\IAGC_1_IAGC_MuxMan.txt"
    -SEG2v "C:\DOCUME~1\DJHAZ-~1\LOCALS~1\Temp\IAGC_1_MenuPage1.bmp"
    -SEG2vidmode LB
    -SEG2s1 "C:\DOCUME~1\DJHAZ-~1\LOCALS~1\Temp\IAGC_1_Menu.sst"
    -SEG2s1dmode WIDE_LB
    -SEG2hlmnu "C:\DOCUME~1\DJHAZ-~1\LOCALS~1\Temp\IAGC_1_MenuPage1_Buttons.mnu"
    -SEG2hlcsm "C:\Program Files\AVStoDVD\Menu\Highlight_Scheme.csm"
    -hcn "C:\DOCUME~1\DJHAZ-~1\LOCALS~1\Temp\IAGC_1_BatchMux.hcn"
    <>

    <4/9/2010 6:13:12 AM>
    END DVD AUTHORING OPERATIONS
    Created Folder: C:\Documents and Settings\DJ Haz-Mat\My Documents\IAGC_1 (6000 MB)
    <>

    <4/9/2010 6:13:13 AM>
    START ISO IMAGE BUILDING OPERATIONS
    ImgBurn (ISO) Parameters: /mode isobuild /buildmode imagefile /src "C:\Documents and Settings\DJ Haz-Mat\My Documents\IAGC_1\VIDEO_TS" /dest "C:\Documents and Settings\DJ Haz-Mat\My Documents\IAGC_1.iso" /volumelabel "IAGC" /overwrite yes /noimagedetails /start /close
    <>

    <4/9/2010 8:01:37 AM>
    END ISO IMAGE BUILDING OPERATIONS
    Created File: C:\Documents and Settings\DJ Haz-Mat\My Documents\IAGC_1.iso (6908.5 MB)
    <>

    <4/9/2010 8:01:38 AM>
    Log file created by AVStoDVD Release 2.2.6
    <>
    Quote Quote  
  15. What about if you try to create a DVD-5? As a matter of fact is perfectly useless to convert a DivX @800 kbps to a MPEG2 @7200 kbps...

    Take note that your DivX has 192745 frames, while output MPEG2 has 192552 frames. Where did you get that AVI?

    Bye
    MrC

    AVStoDVD Homepage
    Quote Quote  
  16. Member
    Join Date
    Mar 2010
    Location
    North America
    Search Comp PM
    Originally Posted by _MrC_ View Post
    What about if you try to create a DVD-5? As a matter of fact is perfectly useless to convert a DivX @800 kbps to a MPEG2 @7200 kbps...

    Take note that your DivX has 192745 frames, while output MPEG2 has 192552 frames. Where did you get that AVI?
    Per your suggestion, I made an ISO of this AVStoDVD project with the destination being DVD-5 instead of a dual layer (DVD-9). Without the ability to preview video when setting the Layer Break (on a dual layer), I have no way of knowing whether or not building an image to a DVD-5 sized destination will fix the problem, short of burning a DVD and seeing the results. However, in the AVStoDVD log file for this new DVD-5 sized project, the same issue arises that you cited from the previous dual-layer version of the project - the source file has 192745 frames, while the output MPEG2 has 192552 frames. Does this discrepancy account for the out of sync audio and video? Would it then be worth a try to advance the audio using AviSynth in the AVStoDVD project title settings, to compensate for this mysterious loss of synchronization?

    When you say that it is "perfectly useless to convert DivX @800 kbps to a MPEG2 @7200kbps..." I really have no notion as to what you're talking about. Unfortunately I don't possess the technical knowledge to grasp the meaning behind your statement. Do you mean that there is no point to encoding at such a high bitrate, because no quality will be "gained back" from the lossy DivX compression scheme, and it would be just as well to encode at a lower bitrate?

    Where did I get this AVI? It's a collection of documentary clips that a friend edited together and wants burned for a projection exhibition. I don't know how it was assembled. Why should this make a difference? When played on the computer, the file appears to play fine and the audio is in sync.
    Quote Quote  
  17. Always Watching guns1inger's Avatar
    Join Date
    Apr 2004
    Location
    Miskatonic U
    Search Comp PM
    The file may have some corruption, as not all the frames are being converted (according to the log). Playback can sometimes get around minor issues in a file, however encoding requires the file be in good condition. This could be the cause of the problem.

    I would also question why your friend would build a compilation of clips that he wants transferred to DVD, then give it to you in such a heavily compressed state. The quality reduction he has introduced by encoding using Divx at such a low bitrate is huge, unless his source files where low quality youtube clips. Certainly you gain nothing by going to DVD9 from such a file unless it has a 4 hour running time (which it doesn't). Low resolution, low bitrate source - a very poor candidate for conversion.
    Read my blog here.
    Quote Quote  
  18. 192745 (input framecount) x (29.97/30.00) = 192552, which is the output framecount. This has to be more than a huge coincidence. I suspect some kind of a 29.97/30fps framerate problem which could also, theoretically, account for the audio desynchronization.
    Quote Quote  
  19. Member
    Join Date
    Mar 2010
    Location
    North America
    Search Comp PM
    Thanks everyone for your help. It has been most illuminating. I'd like to be able to help out my friend on this one, but it seems I'll have to tell him he needs to re-compile his project first.

    Thanks again, guys. Don't know what I'd do without this forum.
    Quote Quote  



Similar Threads

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