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:
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?
Problem was fixed by uninstall/reinstall of k-lite codec pack, solution at bottom
+ Reply to Thread
Results 1 to 22 of 22
Ansuer - "try not... do... or do not... there is no try"
Might be vfr stream. Try this:
DirectShowSource("D:\Convert\Legend\I_AM_LEGEND_NA \BDMV\STREAM\00000.m2ts",fps=23.976,convertfps=tru e)
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"
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.
The playtimes show as identical:
PlayTime : 1h 40mn
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=tru e,audio=false)Ansuer - "try not... do... or do not... there is no try"
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"
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"
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.
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"
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"
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"
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"
Many many thanks for sharing your experience.
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.
[ N e v e r m i n d ]
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"