INDEX  F.A.Q.  SEARCH  LATEST POSTS     Rules  Register  Profile  Private messages  Login


Search all forums or this forum: Advanced search
I am Legend Encoding (Blu-ray) audio sync issues

Forum Index -> Video -> Blu-ray to AVI/MP4/MKV/WMV Printer-friendly version
Reply to topic
Author Message
Ansuer
Enlightened


Joined: 20 Jul 2006
Location: United States

Post Posted: Apr 27, 2008 10:22 Posts Comp View users profile Send private message Reply with quote

I am trying encode/backup my "I am Legend" Blu-ray to my media center. I've searched around but didn't find this exact issue. Using the following process:

1. AnyDVD HD to rip (BD-R has the latest firmware)
2. AVS file pointing to rip, looks like this:

DirectShowSource("D:\Convert\Legend\I_AM_LEGEND_NA\BDMV\STREAM\00000.m2ts",audio=false)

3. Virtualdub to open the AVS and convert it to XviD
4. xport to demux first track (which is DD5.1, straight ac3)
- have also tried demuxing the second track (TrueHD), then ac3to to convert but get the same result.
5. VirtualDubMOD to mux it all back together.

The audio goes out of sync at the beginning of the movie by about -0.6 seconds, but by the end of the movie it's off by about -4 seconds.

I've tried several different settings in VdubMod, shorter interleave, etc... Also tried to use DGAVCDEC but it either couldn't find PID's, crashed, or just hung. I've done this process on several Blu-ray's and it's worked fine.

Any thoughts on how to get the audio in sync?

***** EDIT
Problem was fixed by uninstall/reinstall of k-lite codec pack, solution at bottom
_________________
Ansuer - "try not... do... or do not... there is no try"


Last edited by Ansuer on May 01, 2008 05:38, edited 1 time in total


poisondeathray
Member


Joined: 07 Sep 2007
Location: Canada

Post Posted: Apr 27, 2008 10:33 Posts View users profile Send private message Reply with quote

Might be vfr stream. Try this:

DirectShowSource("D:\Convert\Legend\I_AM_LEGEND_NA\BDMV\STREAM\00000.m2ts",fps=23.976,convertfps=true)


Ansuer
Enlightened


Joined: 20 Jul 2006
Location: United States

Post Posted: Apr 27, 2008 12:38 Posts Comp View users profile Send private message Reply with quote

ty for the response. I did try several different combinations in avs, including that one. Same result. 6 hours of encoding each time : )
_________________
Ansuer - "try not... do... or do not... there is no try"


poisondeathray
Member


Joined: 07 Sep 2007
Location: Canada

Post Posted: Apr 27, 2008 13:15 Posts View users profile Send private message Reply with quote

Check the playtime lengths. Is the playtime length the same of video and audio in mediainfo? (it can't be if what you describe is true). I would use the video from "convertfps=true"

When you demux the audio using TsMuxeR, does the audio match the same playtime length as the one by xport? Maybe xport is causing the problem? TsMuxeR is frequently updated

Perhaps vdubmod is giving you the problem? What if you mux using avimux-gui instead of vdubmod? it is a better wrapper and vdubmod is quite old.

if you are just doing an XviD backup for PC, you can just change the fps of the video by a fraction so it matches the audio playtime length. Since it's just a tiny bit off, the other option is to shrink/expand the audio by the same fraction.


Ansuer
Enlightened


Joined: 20 Jul 2006
Location: United States

Post Posted: Apr 27, 2008 16:20 Posts Comp View users profile Send private message Reply with quote

The playtimes show as identical:
Video:
PlayTime : 1h 40mn
Audio:
PlayTime : 1h 40mn

I tried to mux them together with avimux-gui into another avi but it crashed every time. I was able to mux them into mkv but the audio was still out of sync as before.

Also, by changing the framerate in vdubmod to 23.550 I was able to get the AV in sync for the first half of the movie, but it still strayed near the end. Of course the video chopped often anyway.

I'm trying this avs file again to see if I missed something before:

DirectShowSource("D:\Convert\Legend\I_AM_LEGEND_NA\BDMV\STREAM\00000.m2ts",fps=23.976,convertfps=true,audio=false)
_________________
Ansuer - "try not... do... or do not... there is no try"


Last edited by Ansuer on Apr 28, 2008 08:00, edited 1 time in total


Ansuer
Enlightened


Joined: 20 Jul 2006
Location: United States

Post Posted: Apr 28, 2008 07:11 Posts Comp View users profile Send private message Reply with quote

Sad to say I'm seeing the same result.

Completed an encode last night using that last AVS. Although the file size is a few k different everyting else was the same, framerate, duration, etc...

Was also able to use avimux_gui to mux it into both avi and mkv. Even tried altering the interleave for AVI which did nothing.

Any other thoughts? Has anyone encoded this video previously with success?
_________________
Ansuer - "try not... do... or do not... there is no try"


GeeForce11
Member


Joined: 21 Feb 2008
Location: United States

Post Posted: Apr 28, 2008 07:46 Posts Comp View users profile Send private message Reply with quote

Ansuer wrote:
4. xport to demux first track (which is DD5.1, straight ac3)


Have you tried to demux the audio with TSmuxeR?


Ansuer
Enlightened


Joined: 20 Jul 2006
Location: United States

Post Posted: Apr 28, 2008 08:02 Posts Comp View users profile Send private message Reply with quote

Ayep, at poisondeathray's suggestion I gave it a shot. I did a 'beyond compare' of the new and old ac3 and they were identical. I've been using the new demuxed (though for no good reason). : )
_________________
Ansuer - "try not... do... or do not... there is no try"


GeeForce11
Member


Joined: 21 Feb 2008
Location: United States

Post Posted: Apr 28, 2008 08:55 Posts Comp View users profile Send private message Reply with quote

Any A/V sync issues when you play back the m2ts file?
I'd re-rip the whole disc again and give it another try. I'm out of other ideas. cry.gif


rhegedus
Member


Joined: 25 Sep 2002
Location: on the jazz

Post Posted: Apr 28, 2008 09:43 Posts Comp View users profile Send private message Reply with quote

Never had much luck with xport - try eac3to instead.
_________________
Regards,

Rob


Ansuer
Enlightened


Joined: 20 Jul 2006
Location: United States

Post Posted: Apr 28, 2008 09:59 Posts Comp View users profile Send private message Reply with quote

Well, I figured out what's causing the problem, but not yet how to fix it. It must be something with the AVS file.

If I watch the M2TS file the audio is fine. Most of all the video runs the entire time, all the way to 1:40:30. The last thing you see is end of the credits then the WB symbol.

If I watch any of my encoded AVI's the video ends right at 1:39:05. which is also the end of the credits and the WB symbol. Then the remainder of the video is just black screen up to 1:40:30.

So, it must have something to do with AVISynth or someone behind it, like Haali or ffdshow.
_________________
Ansuer - "try not... do... or do not... there is no try"


GeeForce11
Member


Joined: 21 Feb 2008
Location: United States

Post Posted: Apr 28, 2008 10:59 Posts Comp View users profile Send private message Reply with quote

What happens if you don't specify the fps in the .avs file and let it on automatic detection? Did you use VDubMod or VirtualDub to encode the video? Give a try to meGUI too and see how it encodes the video.

Midzuki
RETIRED


Joined: 25 Jun 2007
Location: Outside of VH.com

Post Posted: Apr 28, 2008 11:08 Posts Comp View users profile Send private message Reply with quote

Suggested desperation move:

--> add "framecount=nnnnnn" to your "DirectShowSource()";

--> use CoreAVC instead of ffdshow;

HTH.


Ansuer
Enlightened


Joined: 20 Jul 2006
Location: United States

Post Posted: Apr 29, 2008 18:21 Posts Comp View users profile Send private message Reply with quote

I have recently noticed one thing. If I open the AVS file (the one with no framerate set) with VirtualDub it shows 142478 total frames in the 1:40:31 time. However, if I open the encoded AVI it has 144613 in same 1:40:31 time. Somehow it's gaining a couple thousand frames.

@GeeForce11 - I've tried it before without the framerate and saw the same issue.

@Midzuki - I'll try the framecount setting tonight, though, I feel it's something with VirtualDub.
_________________
Ansuer - "try not... do... or do not... there is no try"


Ansuer
Enlightened


Joined: 20 Jul 2006
Location: United States

Post Posted: Apr 30, 2008 18:37 Posts Comp View users profile Send private message Reply with quote

Did a conversion with the framecount setting last night. The video time just shrunk to fit the new frames, but the audio still didn't match.

I also did a conversion today with x264.exe to mkv, same issue, so it's definitly something with my codecs or avisynth.
_________________
Ansuer - "try not... do... or do not... there is no try"


Ansuer
Enlightened


Joined: 20 Jul 2006
Location: United States

Post Posted: May 01, 2008 05:40 Posts Comp View users profile Send private message Reply with quote

Last night I uninstalled my k-lite codec pack and re-installed. I noticed that when the conversion started only haali appeared in the task bar, ffdshow did not. So, for some unknown reason ffdshow was causing the issue and by re-installing it was taken out of the path.

Video now runs the full 1:40:31 and audio in sync.

Thanks again to everyone for your patience and ideas!
_________________
Ansuer - "try not... do... or do not... there is no try"


Midzuki
RETIRED


Joined: 25 Jun 2007
Location: Outside of VH.com

Post Posted: May 01, 2008 06:32 Posts Comp View users profile Send private message Reply with quote

Many many thanks for sharing your experience. thumbs_up.gif thumbs_up.gif thumbs_up.gif

GeeForce11
Member


Joined: 21 Feb 2008
Location: United States

Post Posted: May 01, 2008 07:46 Posts Comp View users profile Send private message Reply with quote

Glad you got to end of it!

Ansuer wrote:
Last night I uninstalled my k-lite codec pack and re-installed.


I use the Combined Community Codec Pack (CCCP) and never see FFdshow icon in the taskbar during conversion, only 2x the haali splitter.


Midzuki
RETIRED


Joined: 25 Jun 2007
Location: Outside of VH.com

Post Posted: May 01, 2008 11:40 Posts Comp View users profile Send private message Reply with quote

GeeForce11 wrote:
Quote:
I use the Combined Community Codec Pack (CCCP) and never see FFdshow icon in the taskbar during conversion, only 2x the haali splitter.


Aren't you talking about this: question.gif



GeeForce11
Member


Joined: 21 Feb 2008
Location: United States

Post Posted: May 01, 2008 14:32 Posts Comp View users profile Send private message Reply with quote

I don't have the icons disabled, they show up when a file is played back, but it doesn't show up during conversion and it looks that it's not supposed to.

Midzuki
RETIRED


Joined: 25 Jun 2007
Location: Outside of VH.com

Post Posted: May 01, 2008 15:15 Posts Comp View users profile Send private message Reply with quote

[ N e v e r m i n d ]

Ansuer
Enlightened


Joined: 20 Jul 2006
Location: United States

Post Posted: May 01, 2008 17:54 Posts Comp View users profile Send private message Reply with quote

You two are a crackin me up : )

Looks like my tray icons are enabled as well. I use ffdshow rotten for playback but this is the first I've seen it come into play for conversion. I probably checked something stupid the last time I installed it.
_________________
Ansuer - "try not... do... or do not... there is no try"


Reply to topic All times are GMT - 6 Hours
Forum Index -> Video -> Blu-ray to AVI/MP4/MKV/WMV Page 1 of 1





You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Jump to:  
Display:   
About   Advertise   Forum Archive   RSS Feeds   Statistics