• 隐私条款中国国家地理网 2019-08-10
  • 500亿美元商品相关新闻 2019-08-10
  • 研究:亚洲民众更关注健康食品 2019-08-06
  • 持之以恒打好“节点战” 2019-08-06
  • 英国成功完成机器人辅助眼部手术试验 2019-08-01
  • 户口迁移耽搁了17年 诸暨籍女子找回“迟到”的身份 2019-07-29
  • 明星高考奇葩事杨幂总分第一 赵薇丢准考证(组图) 2019-07-02
  • 肩负促进和平与发展的时代重任 2019-07-02
  • 探秘海南高考评卷场 考生答题卡武警24小时值守 2019-06-28
  • “人民日报是我一生最尊敬和宝贵的朋友” 2019-06-28
  • 惊艳卢浮宫小牛电动发布新款电动车惊艳卢浮宫小牛电动发布新款电动车-手机行情 2019-06-23
  • 社区 —频道 春城壹网 七彩云南 一网天下 2019-06-15
  • 全国网络举报工作会议 2019-06-15
  • 珍贵!“国宝”林麝现身重庆金佛山 2019-06-11
  • 亚冠前瞻:恒大权健皆不容有失 两将伤情成上港争胜关键 2019-06-09
  • Welcome to

    Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

     

    Go Back   Doom9's Forum > Video Encoding > (Auto) Gordian Knot

    Reply
     
    Thread Tools Search this Thread Display Modes
    Old 5th March 2010, 03:33   #1  |  Link
    Registered User
     
    kshawkeye's Avatar
     
    Join Date: Dec 2009
    Posts: 46
    Lord of the Rings (Extended Edition) Sync Issue

    Okay, I have been all over doom9, and prettymuch all over the internet trying to find a solid solution to this, and I apologize if there is one out there that I didn't find, just show me where it's at. After trying to encode The Lord of the Rings (Special Extended DVD Edition) - The Fellowship of the Ring, with Gordian Knot v0.35.0 two times, and running into sync issues with the second half of the movie. The problem is due to combining two DVDs in DGIndex and then a few frames being dropped in the transition from one DVD to the other (at least that's what I believe it might be). So my question is, how can I encode a two part DVD into a single .AVI file, with perfect sync, using Gordian Knot v0.35.0? Thanks so much for anyone's help, and once again, I apologize if there is another forum out there that has covered this, I couldn't personally find it.

    EDIT: Oh, and by the way, I ripped the VOBs with DVDFab v6.2.1.8, if that is helpful in any way.
    __________________
    "Earth is only part of life" -Kyle Schwarz

    Last edited by kshawkeye; 5th March 2010 at 03:34. Reason: Added more info
    kshawkeye is offline   Reply With Quote
    Old 5th March 2010, 04:36   #2  |  Link
    Registered User
     
    Join Date: May 2008
    Posts: 1,618
    Tentatively, you're out of luck with doing this unless the delay of the relevant audio stream is zero for both titles and the relevant audio stream is exactly the same length as the video stream, at least for the first title. There is probably a complicated way to fix other cases with delaycut or eac3to, but you'll have to wait for a real audio wizard on that front.
    Inspector.Gadget is offline   Reply With Quote
    Old 5th March 2010, 11:53   #3  |  Link
    Jom
    Registered User
     
    Join Date: Mar 2008
    Posts: 20
    I had the same problems myself a few years ago. Return of the King was particularly annoying. The audio ran on for 9 frames at the end of the 2nd disk but not the video (or something like that) and it knocked the audio sync out by well over a minute.

    trim the audio and video streams on the 1st disk to the same size, but about 13 frames shorter than they are originally. Then add the streams from the 2nd disk.

    Thats what I did. It was at a cut point anyway.

    EDIT : I should point out I was re-encoding the audio + video anyway, and just piping the avisynth script into neroaac / x264

    John.

    Last edited by Jom; 5th March 2010 at 11:56.
    Jom is offline   Reply With Quote
    Old 5th March 2010, 19:40   #4  |  Link
    Registered User
     
    kshawkeye's Avatar
     
    Join Date: Dec 2009
    Posts: 46
    The audio and video are both in sync when played back separately, its when they are combined that the problem starts. Also, Jom do you mean that I trim the 1st half of the movie in DGIndex 13 frames?
    __________________
    "Earth is only part of life" -Kyle Schwarz
    kshawkeye is offline   Reply With Quote
    Old 5th March 2010, 20:22   #5  |  Link
    Registered User
     
    Join Date: Apr 2002
    Location: Germany
    Posts: 5,394
    The sync issue of LOTR has been talked about so many times ...

    For Fellowship, you need to trim off 13 of the black frames at the end of the 1st disk. (Seems there's one GOP without audio.) Trimming is usually done in the Avisynth script.

    Code:
    part1 = mpeg2source("disk1.d2v")
    part2 = mpeg2source("disk2.d2v")
    
    part1 = part1.trim( 0, framecount(part1)-14 )  ##  yes, "14" will remove the last 13 frames ... (a 1-frame clip has one frame, which has frame number zero)
    
    part1 ++ part2
    __________________
    - We磖e at the beginning of the end of mankind磗 childhood -

    My little flickr gallery. (Yes indeed, I do have hobbies other than digital video!)
    Did閑 is offline   Reply With Quote
    Old 5th March 2010, 21:06   #6  |  Link
    Custom User Title
     
    CWR03's Avatar
     
    Join Date: Mar 2005
    Posts: 3,739
    Instead of combining the two disks in DGIndex, trim the end of the first file in DGIndex and encode, trim the beginning of the second file in DGIndex and encode, them merge the two end files. I'll do it myself right now to be sure it'll work.
    CWR03 is offline   Reply With Quote
    Old 5th March 2010, 23:21   #7  |  Link
    Registered User
     
    kshawkeye's Avatar
     
    Join Date: Dec 2009
    Posts: 46
    "The sync issue of LOTR has been talked about so many times ..." I apologizes for the dual posting, it was not my intent, I just could not find a post that had what I wanted. Also, to be honest, I haven't really worked much with Avisynth, other then the re-size. So I'm kinda lost on what to do to trim those extra 13 frames off? I have my first disk (part 1) all saved up as a .D2V. I open that .D2V in Gordian Knot and do a "Save & Encode". I don't know where the trim feature is, but I'm assuming its in the "Filters" tab, so I open that up. I press the little "+" and try and find something called trim, but I don't see any?
    __________________
    "Earth is only part of life" -Kyle Schwarz
    kshawkeye is offline   Reply With Quote
    Old 5th March 2010, 23:32   #8  |  Link
    Custom User Title
     
    CWR03's Avatar
     
    Join Date: Mar 2005
    Posts: 3,739
    There's no trim feature in Gordian Knot. As I said above, it can be done in DGIndex, only before encoding.
    CWR03 is offline   Reply With Quote
    Old 5th March 2010, 23:50   #9  |  Link
    Registered User
     
    kshawkeye's Avatar
     
    Join Date: Dec 2009
    Posts: 46
    Yeah, but after I save the two parts of the film to .d2v, should I encode them to .AVIs? I guess my question is how do I get the two different .D2Vs into a single .D2V without encoding, or if I do encode it, how would I combine them, seeing that DGIndex cant open .AVIs?
    __________________
    "Earth is only part of life" -Kyle Schwarz
    kshawkeye is offline   Reply With Quote
    Old 6th March 2010, 00:40   #10  |  Link
    Custom User Title
     
    CWR03's Avatar
     
    Join Date: Mar 2005
    Posts: 3,739
    Quote:
    Originally Posted by kshawkeye
    I guess my question is how do I get the two different .D2Vs into a single .D2V without encoding
    You don't; again, you encode the two disks separately after trimming in DGIndex, then combine the two .avi files after you encode them. VirtualDubMod will combine them in direct copy mode without re-encoding again.
    CWR03 is offline   Reply With Quote
    Old 6th March 2010, 00:45   #11  |  Link
    Registered User
     
    kshawkeye's Avatar
     
    Join Date: Dec 2009
    Posts: 46
    Would I still need to trim? Because played separately they have perfect sync, wouldn't encoding them separate take care of the trim problem and I could just combine them then?
    __________________
    "Earth is only part of life" -Kyle Schwarz
    kshawkeye is offline   Reply With Quote
    Old 6th March 2010, 04:57   #12  |  Link
    Custom User Title
     
    CWR03's Avatar
     
    Join Date: Mar 2005
    Posts: 3,739
    I'm pretty sure VirtualDubMod will combine the streams within the container and nut just "butt up" the two files that are in sync played separately, so you'll just have the same problem.

    I have it running now; disk 2 is midway through the first pass. I just trimmed back one I-frame on each. It's hardly a big deal.
    CWR03 is offline   Reply With Quote
    Old 6th March 2010, 05:48   #13  |  Link
    Registered User
     
    kshawkeye's Avatar
     
    Join Date: Dec 2009
    Posts: 46
    So it's one I-frame that's causing the whole sync issue?!
    __________________
    "Earth is only part of life" -Kyle Schwarz
    kshawkeye is offline   Reply With Quote
    Old 6th March 2010, 08:05   #14  |  Link
    Custom User Title
     
    CWR03's Avatar
     
    Join Date: Mar 2005
    Posts: 3,739
    No, it's an audio/video length mismatch. The first two replies here explained it quite well.

    My encode worked almost perfectly, but I probably should have cut two I-frames off and not one. The audio is off just the slightest amount off in the second half, almost not even noticeable.
    CWR03 is offline   Reply With Quote
    Old 6th March 2010, 08:16   #15  |  Link
    Registered User
     
    kshawkeye's Avatar
     
    Join Date: Dec 2009
    Posts: 46
    How can you tell the number of I-frames you are trimming off?
    __________________
    "Earth is only part of life" -Kyle Schwarz
    kshawkeye is offline   Reply With Quote
    Old 6th March 2010, 13:09   #16  |  Link
    Custom User Title
     
    CWR03's Avatar
     
    Join Date: Mar 2005
    Posts: 3,739
    For each click right or left using the arrow keys.

    It wouldn't hurt to trim a couple off the beginning of the movie too since any video without audio in the first part will throw off the second part.
    CWR03 is offline   Reply With Quote
    Old 6th March 2010, 16:23   #17  |  Link
    DVD Magistrate
     
    Join Date: Dec 2003
    Location: Sodor
    Posts: 988
    I never had sync issues at all. I have encoded via handbrake and autogk

    Steps:

    1. Use DVD Decrypter in IFO mode, enable stream processing and choose Direct Stream Copy for each disk. This will give you a muxed Mpeg2/AC3 file for each disk

    2. Join the two files with MPEG Video Wizard from Womble or Video Redo.

    3. Now you have one big muxed MPEG/AC3 file. Encode it with what ever you want...simple and ALWAYS works. You do not need to trim anything.
    ron spencer is offline   Reply With Quote
    Old 10th April 2010, 19:36   #18  |  Link
    Registered User
     
    Join Date: Apr 2010
    Posts: 1
    I recently had this same issue when I ripped these DVD's. My fix involved using VirtualDub to delay the audio. For the second discs on Two Towers and Return of the King (Fellowship didn't need it for some reason), I used the interleaving option under audio and punched in 500ms and let it run (direct stream copy under video) and when I attached the two files (also using VirtualDub) it came out perfectly. Easy fix, IMO.

    EDIT: I originally ripped all movie files with DVD Shrink, and converted them using AGK, in case that makes any difference to anyone

    Last edited by discostupid; 10th April 2010 at 19:38.
    discostupid is offline   Reply With Quote
    Old 12th April 2010, 19:32   #19  |  Link
    Registered User
     
    Join Date: Sep 2005
    Posts: 196
    This was my fix: I ripped both discs>used DVD Shrink to combine the two titles>created AVI with AGK. This is the same process I use for all two part movies. Keep in mind that one doesn't want to go over the 2GB size. I also keep a fixed res of 720 with 192VBR MP3 (the audio setting is optional, but plays loud enough for laptop speakers.)
    kis2005 is offline   Reply With Quote
    Old 28th June 2019, 17:14   #20  |  Link
    Registered User
     
    Join Date: May 2019
    Posts: 1
    I know this is a very old thread. It may still apply, as it did to me a couple of months ago.

    My fix:

    Tools:
    Handbreak (VLC probably would have worked, it was my next step to try)
    - Used handbreak to make initial conversion from DVD Rips but I had change source duration and not include final seconds where there was black screen (only on DVD 1/2 for each movie respectively) and this made all the difference. Even with Fellowship where there wasn't really any blank time, I had to cut the last second.
    - For some reason Fellowship video was different dimensions between pt1 & pt2 so I made them both the same because VDub wouldn't combine them otherwise.
    - I made sure 9:16 Aspect ratio (optional)
    - Ripped lossless to minimize loss from re-encoding (optional)

    Audacity (optional step)
    - To make the cut off second from Fellowship PT1 file less noticeable I extracted audio from part1 and I edited a sharper fade out of the sound. It's pretty unnoticeable than it was ever cut. I extracted audio from part2 file then appended to the end of first file for one single audio file.

    VirtualDub
    - I used VDub to combine movies portions (for Fellowship I used audio file I created for audio)
    - Worked with lossless files (Optional) I have disc space

    It worked!

    I did final encode and compression in Handbrake to get subs into final mp4s but that was not part of the solution, it is why only reason I worked with everything lossless though.
    Mistaken_Idol is offline   Reply With Quote
    Reply

    Tags
    combine two dvds


    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT +1. The time now is 20:53.


    Powered by vBulletin® Version 3.8.11
    Copyright ©2000 - 2019, vBulletin Solutions Inc.
  • 隐私条款中国国家地理网 2019-08-10
  • 500亿美元商品相关新闻 2019-08-10
  • 研究:亚洲民众更关注健康食品 2019-08-06
  • 持之以恒打好“节点战” 2019-08-06
  • 英国成功完成机器人辅助眼部手术试验 2019-08-01
  • 户口迁移耽搁了17年 诸暨籍女子找回“迟到”的身份 2019-07-29
  • 明星高考奇葩事杨幂总分第一 赵薇丢准考证(组图) 2019-07-02
  • 肩负促进和平与发展的时代重任 2019-07-02
  • 探秘海南高考评卷场 考生答题卡武警24小时值守 2019-06-28
  • “人民日报是我一生最尊敬和宝贵的朋友” 2019-06-28
  • 惊艳卢浮宫小牛电动发布新款电动车惊艳卢浮宫小牛电动发布新款电动车-手机行情 2019-06-23
  • 社区 —频道 春城壹网 七彩云南 一网天下 2019-06-15
  • 全国网络举报工作会议 2019-06-15
  • 珍贵!“国宝”林麝现身重庆金佛山 2019-06-11
  • 亚冠前瞻:恒大权健皆不容有失 两将伤情成上港争胜关键 2019-06-09
  • pc蛋蛋预测28大神吧 秒速赛车开奖记录 体彩排列三每天都开奖吗 贵州十一选五走势 gpk电子游戏漏洞 彩票快3破解器下载 今晚三d试机号 黑客怎么改时时彩单子 北京赛车pk10开奖直 四川金7乐推荐号码 深圳皇冠体育馆 博彩一分赛车是真的吗 河北时时现场开奖结果查询 浙江12选5预测号码专家 北京vr赛车体验 浙江11选5开奖直播