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.
+ Reply to Thread
Results 31 to 60 of 128
-
-
Originally Posted by manono
-
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.
-
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?
-
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.
-
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 -
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.
-
Also, some containers, like (MPG, MKV, MP4...) allow for variable frame rates. This can be a source of sync problems.
-
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...
-
-
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.
-
Originally Posted by michcio
Code:DirectShowSource("Film.avi" , fps=29.97, convertfps=true, audio=false) ConvertToYV12(interlaced=true)
-
Originally Posted by michcioOriginally Posted by michcio
-
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...
-
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) -
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 -
Originally Posted by manono
-
Originally Posted by jagabo
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 :/) -
yeah I can open it in VirtualDubMode for example
-
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 -
Originally Posted by poisondeathray
Originally Posted by poisondeathray
Originally Posted by poisondeathray
Code:Codec: DX50 Name: DivX 5.x/6.x (Codec(s) are Installed)
Originally Posted by poisondeathray
Originally Posted by poisondeathray
Originally Posted by jagaboetc
regards
michcio -
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 -
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:
-
Originally Posted by michcio
-
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)
-
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?
Similar Threads
-
Avi-to-DVD using HCenc?
By eskro in forum Authoring (DVD)Replies: 22Last Post: 2nd Feb 2010, 06:18 -
How to Encode Womble Mpeg Video Wizard projects with HCenc
By tmw in forum User guidesReplies: 18Last Post: 10th Jul 2009, 14:49 -
90% CPU while convertning .avi to .m2v (HCEnc)
By michcio in forum Video ConversionReplies: 4Last Post: 26th Nov 2008, 17:45 -
DGIndexed MPEG or AVI wrapped MPEG best for AVISynth?
By flywitness in forum EditingReplies: 1Last Post: 12th Sep 2008, 09:08 -
Why is my HCenc resulting lighter/brighter AVI video?
By oavs in forum Video ConversionReplies: 16Last Post: 15th Jul 2007, 07:23