| Author |
Message |
Ansuer Enlightened
Joined: 20 Jul 2006 Location: United States
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
| 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
|
|
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
|
|
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.
|
|
rhegedus Member
Joined: 25 Sep 2002 Location: on the jazz
|
|
Never had much luck with xport - try eac3to instead.
_________________ Regards,
Rob
|
|
Ansuer Enlightened
Joined: 20 Jul 2006 Location: United States
|
|
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
|
|
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
|
|
Suggested desperation move:
--> add "framecount=nnnnnn" to your "DirectShowSource()";
--> use CoreAVC instead of ffdshow;
HTH.
|
|
Ansuer Enlightened
Joined: 20 Jul 2006 Location: United States
|
|
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
|
|
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
|
|
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
|
|
Many many thanks for sharing your experience.
|
|
GeeForce11 Member
Joined: 21 Feb 2008 Location: United States
|
|
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
|
|
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:
|
|
GeeForce11 Member
Joined: 21 Feb 2008 Location: United States
|
|
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
|
|
Ansuer Enlightened
Joined: 20 Jul 2006 Location: United States
|
|
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"
|
|
|
|