Avisynth: Audio Import?
Hello,
Some days ago I bought a KISS DP-558 Hd recorder/dvdplayer. It works great so far.I have tried with most of the KVCD/KDVD resolutions,and all plays fine.The only thing that troubles is AutoGK produced XviD,but thats another story. The recorder produces one .vob file for each tv show you record. The audio is AC3 2ch 192kbs. So with the ftp connection I transfer my recorded shows to the pc, uses DGIndex 1.2.1 to produce .d2v file for avs script. The demuxed ac3 stream always reports a delay of 152ms. When I record tv shows,the recordings starts one or two minutes before, and ends two minutes after the shows.This stuff I want to cut with trim() command in the script,and to get things done in a "easy" way with audio in sync,and cutted on the right places,I want to take the audio through the script as well. So I found two methods of doing this,one with ac3source() and another with directshowsource. I read somewhere that ac3source() downmixes incorrectly so its better to use directshowsource() for audio import. I made two tests yesterday,and both methods seems to play fine . I used TMPGnc with toolame do to the encoding. Any one of you have any ideas whats the "best" one to use?? Script with DirectShowSource: Quote:
Quote:
,but im not sure :wink: ------------------------- viking |
I would have said that the best to use it to cut the file in dgindex !
Your solution is interresting to cut a part in the middle of the movie, but to trim begining and/or end of the video, it's far easier to use the "[" and "]" button of dgindex : it will produce a correct (trimed) d2v and ac3 files. |
Thanks a lot ,I was sure there was a easier way :D
But another question,I do the trimming in DGIndex,the AC3 file reports Delay 152ms. If I only put the video into the script and then mux with the ac3 file when finished,is there any of the dvdauthor programs that "take care" of the delay so the authored result will be in sync? (Ive just formatted the pc ,so I havent any authors installed right now) Cause if that works I can use the ac3 track as it is. ---------------------------- viking |
Quote:
Quote:
Secondly, tools like DVDLab has an internal tool to add/cut delays in ac3 but this is not automatically done. Other software don't have such tool. So I prefer to use an external tool, very convenient, called AC3 Delay Corrector : http://home.t-online.de/home/520072193568-0001/ You just have to run it on you ac3 stream before to authort the DVD. |
This is what I found with DVDAuthorGUI:
(I havent tried it ,so I dont know if it works) http://www.digitalfaq.com/archives/i.../2005/03/1.jpg Yes I have tried AC3 Delay Corrector,and I feed it with the AC3 file with 152ms delay,here what the log file says after processing: Quote:
And then is my question,isnt the audio still out off sync by 8ms?? ------------------- viking |
Quote:
Note: It's strange to have a delay that is not a mutiple of a frame length 8O Quote:
|
Yep its probably hard to notice a 8 ms delay :lol:
But I found another way to fix the delay,AC3Machine,if it set delay to 0ms or 8ms I dont know,and I guess its hard to find out as well. ----------------- viking |
Ac3Machine/BeSweet don't do correct delay correction, there was some information about this at the D9 forum some time ago. IIRC it was that they cut one frame too much or something like that.
EDIT: Just found it : http://forum.doom9.org/showthread.php?s=&threadid=85113 . |
Hmmm,okay,then the Doom9 guide for AC3 machine is wrong as well,it says:
"Leave Set Delay to checked so you won't have to tamper with offsets when adding the AC3 to your DVD projects (or AVIs)." So then I guess AC3 delay corrector or setting delay in the authoring prog will be the solution for me! --------------------------- viking |
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.