|
|
| 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? |
 |
| 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... |
 |
| 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? |
 |
| 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. 
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... |
 |
| 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. |
 |
| 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... |
 |
| 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. |
 |
| 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... |
 |
| 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? |
 |
| 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... |
 |
| 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. |
 |