Welcome Guest ( Log In | Register )


Important

The forums will be closing permanently the weekend of March 15th. Please see the notice in the announcements forum for details.

Pages: (4) « First ... 2 3 [4]  ( Go to first unread post )
Vdmpeg2; Gap In Audio Stream
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
rmanal
Posted: Sep 9 2007, 06:37 PM


Advanced Member


Group: Members
Posts: 153
Member No.: 11636
Joined: 28-August 04



Isn't it possible for VDMPEG2 to automatically corrects shorter audio stream when it appends avi files?
 
     Top
fccHandler
Posted: Sep 9 2007, 10:52 PM


Administrator n00b


Group: Moderators
Posts: 3961
Member No.: 280
Joined: 13-September 02



Possible? Sure, but it would have to be rewritten. Unfortunately, I didn't write the "append" code and I don't know anything about how it works.

Just to clarify, I can only address flaws specific to the code I've added to VirtualDub-MPEG2. I'm not able to fix issues in VirtualDub itself, because the base code is huge and complex, and most of it is way beyond my level of understanding.

--------------------
May the FOURCC be with you...
 
     Top
rmanal
Posted: Sep 11 2007, 08:08 AM


Advanced Member


Group: Members
Posts: 153
Member No.: 11636
Joined: 28-August 04



For the developers of VirtualDub: could-you improve the append function as described just before?
 
     Top
fccHandler
Posted: Sep 13 2007, 06:31 AM


Administrator n00b


Group: Moderators
Posts: 3961
Member No.: 280
Joined: 13-September 02



I've released a new build tonight, which will (hopefully) give you a more reliable skew value in "File Information." Unfortunately I had to delete my copy of your VOB file (because I needed to free some hard drive space), so I haven't tested the new build with your movie. I will leave that job to you. smile.gif

The new skew value will likely be different from the skew value in my previous build, because I'm now removing audio blocks which lack PTS.

Please let me know if this build works for you:
http://fcchandler.home.comcast.net/stable

--------------------
May the FOURCC be with you...
 
     Top
rmanal
Posted: Sep 14 2007, 07:03 AM


Advanced Member


Group: Members
Posts: 153
Member No.: 11636
Joined: 28-August 04



I have retested my VOB file and instead the old version of VDMPEG2 gave -432ms, the new one gave -112ms but the delay between audio and video is still of -432ms, as shown when I play it under VDMPEG2.
So it looks like not working.
 
     Top
fccHandler
Posted: Sep 14 2007, 07:46 AM


Administrator n00b


Group: Moderators
Posts: 3961
Member No.: 280
Joined: 13-September 02



Damn, I'm sorry to hear that. I still have the previous version, if you need to restore it:

http://fcchandler.home.comcast.net/stable/...PEG2-1.6.19.zip

I haven't given up on this, but I'll probably need to download VTS_01_4.VOB again, for testing. If you would be so kind, please use VirtualDub's hex editor to extract a 10 MB portion from the beginning of the VOB file:

- Go to "Tools / Hex editor"
- Open your "VTS_01_4.VOB"
- Choose "Edit / Extract segment", address = 0, length = A00000

Save that file, and please make it available to me on your FTP server, hopefully by Sunday. Thanks rmanal.

--------------------
May the FOURCC be with you...
 
     Top
rmanal
Posted: Sep 14 2007, 06:12 PM


Advanced Member


Group: Members
Posts: 153
Member No.: 11636
Joined: 28-August 04



The name of the file is VTS_segment.
 
     Top
fccHandler
Posted: Sep 14 2007, 08:28 PM


Administrator n00b


Group: Moderators
Posts: 3961
Member No.: 280
Joined: 13-September 02



It turns out that my fix for the freezing problem breaks the skew calculation for your VOB, but I think I've solved it now:

http://fcchandler.home.comcast.net/stable

This build reports the same skew as before (-432 ms), and I'll affirm that is 100% correct for this particular VOB.

It actually doesn't remove any audio in this case because your first audio packet does have a Presentation Time Stamp on it. However, if you open a VOB in which that is not true, any unstamped audio packets will be removed from the start of the presentation, to ensure that the reported skew is correct.

--------------------
May the FOURCC be with you...
 
     Top
rmanal
Posted: Sep 17 2007, 06:34 PM


Advanced Member


Group: Members
Posts: 153
Member No.: 11636
Joined: 28-August 04



What was the freezing problem?
 
     Top
fccHandler
Posted: Sep 17 2007, 06:45 PM


Administrator n00b


Group: Moderators
Posts: 3961
Member No.: 280
Joined: 13-September 02



I posted about it on page 3 of this thread:

QUOTE (fccHandler @ Sep 7 2007, 03:14 AM)
In other news, I'm seeing a long freeze after parsing some large MPEG-2 files.  It isn't fatal, just annoying.  I'll fix this as soon as I can.


It's fixed now.

--------------------
May the FOURCC be with you...
 
     Top
rmanal
Posted: Sep 27 2007, 06:21 AM


Advanced Member


Group: Members
Posts: 153
Member No.: 11636
Joined: 28-August 04



OK now everything work fine.
Thank you very much for all tour help.
 
     Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
55 replies since Jul 13 2007, 01:53 PM Track this topic | Email this topic | Print this topic
Pages: (4) « First ... 2 3 [4] 
<< Back to Testing / Bug Reports