VideoHelp Forum




+ Reply to Thread
Page 2 of 5
FirstFirst 1 2 3 4 ... LastLast
Results 31 to 60 of 128
  1. Why not author them for DVD and check? You could do a quick one using Muxman, and if it's OK, then do whatever you were going to do, like make menus and author with something else. Also, make sure the audio before and after (the audio in the AVI and the AC3 audio you created) are exactly the same length.
    Quote Quote  
  2. Banned
    Join Date
    Jun 2007
    Location
    UNREACHABLE
    Search Comp PM
    Hi there.

    Sync issues when trying to ff/rew MPGs often are caused by a wicked mpeg-splitter
    and/or an evil mpeg-decoder. I recommend MainConcept for proper mpeg-splitting and
    DScaler for decent mpeg-decoding. HTH.
    Quote Quote  
  3. Member michcio's Avatar
    Join Date
    Jun 2008
    Location
    Sweden
    Search Comp PM
    Originally Posted by manono
    Why not author them for DVD and check? You could do a quick one using Muxman, and if it's OK, then do whatever you were going to do, like make menus and author with something else. Also, make sure the audio before and after (the audio in the AVI and the AC3 audio you created) are exactly the same length.
    yeah that was exaclty what I have done to... but that's weird that MediaPlayerClassic can not open my files and that I have to create this "temp" DVD before make a "real" one
    Quote Quote  
  4. Always Watching guns1inger's Avatar
    Join Date
    Apr 2004
    Location
    Miskatonic U
    Search Comp PM
    If MPC can't open the streams then you either have corrupt files, or a system based problem, and cannot trust that the sync issues are simple sync issues. I have also had sync issues following re-encoding, from time to time, and solve them by loading both the video and audio streams into MPC, working out the delay by using the number pad - and + keys, then using this delay when authoring. Fixes the problem every time. MPC is always able to play back the streams for me.
    Read my blog here.
    Quote Quote  
  5. Member michcio's Avatar
    Join Date
    Jun 2008
    Location
    Sweden
    Search Comp PM
    hm but what does the - and + keys in numpad do...(what does the delay do) i press on +/- when loaded my aduio/video and it's written how many +/- ms the aduio delay is moved...but nothing happends to the audio/video in my movie...it's still the same...how do you mean?
    take a look at my DVD-authoring guide :)

    https://forum.videohelp.com/topic353434.html
    Quote Quote  
  6. You have to move the seek bar for the audio delay to take effect.
    Quote Quote  
  7. Always Watching guns1inger's Avatar
    Join Date
    Apr 2004
    Location
    Miskatonic U
    Search Comp PM
    I do it while I am playing back and see the changes immediately. I keep adjusting on the fly until it matches up, then note down the number and use this when authoring. If you don't have an authoring tool that supports adding a delay, you may have to use an audio tool to do it. For AC3 there is AC3DelayCut.
    Read my blog here.
    Quote Quote  
  8. Member michcio's Avatar
    Join Date
    Jun 2008
    Location
    Sweden
    Search Comp PM
    ok I really can not solve this problem please help me guns1linger (or someone else) ... I have now author 3 movies all of them where "wrong synhronised" when I opened them in mpc...I have now Created my DVD and 2 of my movies work perfect...but the third isn't synhronised at all???? What causes this not synhronised audio/video?!?!?! Please help!!!

    Thankfull for help as usual

    michcio
    take a look at my DVD-authoring guide :)

    https://forum.videohelp.com/topic353434.html
    Quote Quote  
  9. Always Watching guns1inger's Avatar
    Join Date
    Apr 2004
    Location
    Miskatonic U
    Search Comp PM
    It can be any number of things. A glitch in the video or audio stream is a common reason. Demuxing without taking the original delay into account is another. Format conversion is a very common trap - encoding the video at a different framerate to the source.

    I am seeing it at the moment when I use FAVC to encode avisynth scripts that are doing heavy film restoration of digital broadcasts. The results go from perfectly in sync to up to 400 milliseconds or more out of sync. In each of these cases I have been able to use MPC to find the sync difference in the resulting streams, and correct for it when authoring.

    You first have of determine what type of sync problem you have

    1. Is out of sync by a constant amount the whole way through. Solution : find the delay with MPC, and author with delay to fix.

    2. Drifts out of sync further and further over time. Solution : Encode video at the same framerate as the source, or timestretch the audio to match the new video length.

    3. Starts in sync, then suddenly drops out of sync. Solution : find the glitch in the source, edit out the problem, then re-encode.

    4. Drifts in and out of sync over time. Solution : generally this comes from encoding either variable framerate video, or variable bitrate MP3 audio. In either case the problem can usually be solved by using the right tools.
    Read my blog here.
    Quote Quote  
  10. Also, some containers, like (MPG, MKV, MP4...) allow for variable frame rates. This can be a source of sync problems.
    Quote Quote  
  11. Member michcio's Avatar
    Join Date
    Jun 2008
    Location
    Sweden
    Search Comp PM
    hm I think it's nr. 2 or 3 ... the video starts synced but then drifts out of it futher and futher I think...In the beginning it's perfectly synced but when I jump forward a bit the audio is "left behind" a lot...
    take a look at my DVD-authoring guide :)

    https://forum.videohelp.com/topic353434.html
    Quote Quote  
  12. Member michcio's Avatar
    Join Date
    Jun 2008
    Location
    Sweden
    Search Comp PM
    I have now checked the fps of my .avi file and it's 29.970629 f/s...then in my aviscript I write:

    Code:
    DirectShowSource("Film.avi" , fps=29.970629 , audio=false)
    but when I try to open my script in HCEnc it freezes every time...how can I open this script???
    take a look at my DVD-authoring guide :)

    https://forum.videohelp.com/topic353434.html
    Quote Quote  
  13. Always Watching guns1inger's Avatar
    Join Date
    Apr 2004
    Location
    Miskatonic U
    Search Comp PM
    Open the script in virtualdub and see what error message you get. Change the fps in your script to 29.970.

    What framerate are you encoding with in HCEnc ?
    Read my blog here.
    Quote Quote  
  14. Originally Posted by michcio
    I have now checked the fps of my .avi file and it's 29.970629 f/s...then in my aviscript I write:

    Code:
    DirectShowSource("Film.avi" , fps=29.970629 , audio=false)
    but when I try to open my script in HCEnc it freezes every time...how can I open this script???
    Maybe it doesn't like fps=29.970629? Try fps=29.97 instead. You also want to add convertfps=true. DirectShowSource() may be giving RGB or YUY2 data. Try adding ConvertToYV12(). If your source is interlaced you must specify that too.

    Code:
    DirectShowSource("Film.avi" , fps=29.97, convertfps=true, audio=false)
    ConvertToYV12(interlaced=true)
    Quote Quote  
  15. Originally Posted by michcio
    the .avis framerate is 25.000 FPS
    Originally Posted by michcio
    I have now checked the fps of my .avi file and it's 29.970629 f/s
    And this is the same AVI? Are you wasting everyone's time on purpose?
    Quote Quote  
  16. Member michcio's Avatar
    Join Date
    Jun 2008
    Location
    Sweden
    Search Comp PM
    nope it is not the same .avi file ... the one I was disscusting before works fine when I'm done authoring my DVD...that's really weird because I have now 6 different .avi files and none of them is synced when I open them in MPC but I have now created 2 DVD's and 5 of these files are perfectly synced while the last (which I am talking about right now 29.970629fps) isn't synced :S...maybe because of it's different FPS...
    take a look at my DVD-authoring guide :)

    https://forum.videohelp.com/topic353434.html
    Quote Quote  
  17. If you used a script similar to what what was suggested earlier for your 25fps AVI:
    DirectShowSource("D:\Filmer\croupier\Croupier.avi" ,fps=25,audio=false)
    And the framerate is really 29.97fps, then maybe - just maybe - that could be the cause of the out-of-synch audio.
    Quote Quote  
  18. The difference between 29.970629fps and 29.97 (or 29.9700299700....) is about 1/10 second over a 90 minute movie. So that alone probably isn't the problem.

    I don't know what HCEnc will do with the slightly off frame rate though. MPEG only supports a handful of very specific frame rates: https://forum.videohelp.com/topic350837.html#1847037
    Quote Quote  
  19. Member michcio's Avatar
    Join Date
    Jun 2008
    Location
    Sweden
    Search Comp PM
    Originally Posted by manono
    If you used a script similar to what what was suggested earlier for your 25fps AVI:
    DirectShowSource("D:\Filmer\croupier\Croupier.avi" ,fps=25,audio=false)
    And the framerate is really 29.97fps, then maybe - just maybe - that could be the cause of the out-of-synch audio.
    hum how do you mean...no I haven't used DirectShowSource("D:\Filmer\croupier\Croupier.avi" ,fps=25,audio=false) at all because when I try to open this kind of script in HCEnc the program freezes everytime...I have used AVISource("Filename.avi",false) to encode the video and then used the demux option in VirtualDubMod to save an .ac3 file from my .avi....
    Quote Quote  
  20. Member michcio's Avatar
    Join Date
    Jun 2008
    Location
    Sweden
    Search Comp PM
    Originally Posted by jagabo
    MPEG only supports a handful of very specific frame rates: https://forum.videohelp.com/topic350837.html#1847037
    So what you mean is that HCEnc freezes because I write 29.970629 instead of 29.97 ? But when I try to write fps=29.97 or fps = 25 HCEnc freezes as usual...my question is how can I encode a proper .m2v file with a 29.97 fps in HCEnc?

    I have also noticed that DirectShowSource doesn't work at all...when I just write: DirectShowSource("Filename.avi") HCEnc freezes...but maybe this has something to do with my .avi files audio (Dolby AC3 sound :/)
    Quote Quote  
  21. [quote="michcio"]
    Originally Posted by manono
    DirectShowSource("D:\Filmer\croupier\Croupier.avi" ,fps=25,audio=false)
    when I try to open this kind of script in HCEnc the program freezes everytime...
    Can you open that script with WMP or some other media player?
    Quote Quote  
  22. Member michcio's Avatar
    Join Date
    Jun 2008
    Location
    Sweden
    Search Comp PM
    yeah I can open it in VirtualDubMode for example
    take a look at my DVD-authoring guide :)

    https://forum.videohelp.com/topic353434.html
    Quote Quote  
  23. Are you up to date with your versions of HCenc, avisynth, and ffdshow? Is your OS XP 32-bit?

    What video codec is being used in that .AVI ?

    Vdub family uses VFW interface, but DirectShowSource doesn't. If you have that particular codec enabled in ffdshow VFW, but not the regular ffdshow decoder, that might explain your results.

    Try opening your script in MPC
    Quote Quote  
  24. What are the particulars of the problematic file? Frame size, codec, etc. A GSpot cap would be helpful. Did you try adding ConvertToYV12() as I mentioned earlier?
    Quote Quote  
  25. Member michcio's Avatar
    Join Date
    Jun 2008
    Location
    Sweden
    Search Comp PM
    Originally Posted by poisondeathray
    Are you up to date with your versions of HCenc, avisynth, and ffdshow?
    I have updated my HCEnc now from vers. 0.22 to 0.23 but it still freezez when I try to open my script...I got the newest version of AviSynth as well...but what's ffdshow? I don't use that program :/

    Originally Posted by poisondeathray
    Is your OS XP 32-bit?
    no I run Windows Vista

    Originally Posted by poisondeathray
    What video codec is being used in that .AVI ?
    The video codec of my .avi file is:

    Code:
    Codec: DX50     Name: DivX 5.x/6.x   (Codec(s) are Installed)

    Originally Posted by poisondeathray
    Vdub family uses VFW interface, but DirectShowSource doesn't. If you have that particular codec enabled in ffdshow VFW, but not the regular ffdshow decoder, that might explain your results.
    again what is ffdshow?


    Originally Posted by poisondeathray
    Try opening your script in MPC
    It doesn't work to open my script (.avs) in MPC...it freezes every time as HCEnc

    Originally Posted by jagaboetc
    . A GSpot cap would be helpful. Did you try adding ConvertToYV12() as I mentioned earlier?
    what's GSpot cap?? ANd yeah sure I have tested to add ConvertToYV12() but if this line is needed in the script then HCEnc shows it (ERROR: add ConvertToYV12() to your script!!!) and not freez

    regards

    michcio
    Quote Quote  
  26. ffdshow is a directshow decoding filter. I'm surprised you're not using it, it's the most common by far. This could explain why your script not working in MPC and HCenc

    If you are using DirectShowSource(), you should install ffdshow, and ensure whatever codec your film is using is "turned on" in the ffdshow video decoder configuration. It will read "libavcodec." In your particular case, DivX is being used.

    You said "Vista", but never mentioned 32 vs 64-bit. If it's 64-bit, you need the 64-bit version of avisynth as well

    Cheers
    Quote Quote  
  27. Member michcio's Avatar
    Join Date
    Jun 2008
    Location
    Sweden
    Search Comp PM
    I use 32-bit version of Vista ... hm so you say ffdshow will fix my problem? Will download it now then
    -------------
    well I have now installed ffdshow...but how do I use it now...I also can't find how to open my installed program :S

    ah I see it's a tool and it opens while I open a .avs file in HCEnc... I select use ffdshow but HCEnc still freezes why?

    here is whole my script btw:
    Code:
    # -= AviSynth v2.5.7.0 script by FitCD v1.2.8 =-
    DirectShowSource("Filname.avi",fps=29.97,audio=false)
    BicubicResize(704,560,0,0.6,0,1,720,478)
    AddBorders(0,8,0,8)
    AssumeFPS(25.000, true)
    #Trim(0,200208).FadeOut(150)
    Quote Quote  
  28. Originally Posted by michcio
    here is whole my script btw:
    Code:
    # -= AviSynth v2.5.7.0 script by FitCD v1.2.8 =-
    DirectShowSource("Filname.avi",fps=29.97,audio=false)
    BicubicResize(704,560,0,0.6,0,1,720,478)
    AddBorders(0,8,0,8)
    AssumeFPS(25.000, true)
    #Trim(0,200208).FadeOut(150)
    I don't know why that is hanging up HcEnc. But that script will definitely result in an A/V sync problem. Taking a 29.97 fps video and using AssumeFPS(25) will cause the video to play 20 percent slower. A one hour video will become an hour and 12 minutes long.
    Quote Quote  
  29. Member michcio's Avatar
    Join Date
    Jun 2008
    Location
    Sweden
    Search Comp PM
    ops...should I erase AssumeFPS (do a new script in FitCD and don't select PAL?) can't I just write AsumeFPS(29.97, true) ?

    here is the new script then (without the PAL function):
    Code:
    # -= AviSynth v2.5.7.0 script by FitCD v1.2.8 =-
    DirectShowSource("Filename.avi", fps=29.97, audio=false)
    Crop(8,0,704,480)
    #Trim(0,200208).FadeOut(150)
    Quote Quote  
  30. That last script shouldn't cause A/V sync errors as long as the video is really 29.97 fps and it doesn't use variable frame rate encoding (which AVI files usually don't).

    It also shouldn't cause HcEnc to freeze. There is obviously something wrong with the file or with your system. If you use DirectShowSource() with other AVI files does HcEnc freeze? Or is it just that one file? When does HcEnc freeze? As soon as you open the file? As soon as you start encoding? A while later? Always at the same point?
    Quote Quote  



Similar Threads

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