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.

 
Bug Report: Opendml (avi2.0) File Format Problem, AVIs over 2G do not open/play correctly
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
vondrack
  Posted: Sep 10 2002, 06:52 PM


Unregistered









Great news about this forum! Thanks, Christian!

My first appearance here, so first things first: BIG thank you to Avery for creating VirtualDub! It is incredible what can be done with it. I have been playing with the program for about two weeks and I am simply amazed.

I have found only one problem. I am using VirtualDub to process my cable TV captures (adjust levels, crop, remove noise, deinterlace etc.) and then encode the resulting AVIs to MPEG-2 using TMPGEnc Plus (latest version). Whenever I create an AVI longer than 2 GB, I am running into troubles opening/processing it in TMPGEnc. TMPGEnc opens it with no error message, but as soon as I start encoding, it does a weird thing, effectively duplicating every frame (doubling the frame rate and making the MPEG file twice as longer, too). Splitting the AVI into chunks under 2 GB solves the problem, even if not in an elegant way.

I first thought it was a problem with TMPGEnc and filed a bug report with its author. He wrote me back explaining it was not a fault of TMPGEnc, but a glitch in the OpenDML generated by VirtualDub. And indeed, it looks like the problem is in the AVI file, as the Windows Media Player (WinXP version) opens the AVI file with no objections, but fails to - for example - jump to its end, reporting an invalid file (or something to that effect).

Does this make sense or should I submit more info on the problem?
 
  Top
Spire
Posted: Sep 10 2002, 09:30 PM


Unregistered









This is a known bug. I've been dealing with it for a long time myself.

Fortunately, Avery recently became aware of the problem, and documented it in the VirtualDub knowledge base (see the section titled BUG: OpenDML files written with bad duration values in index).

Hopefully, a fix is forthcoming, now that the bug has been formally documented. I can't wait to direct-stream-copy repair all my hundreds of large AVI files that currently won't open or play properly in many programs!
 
  Top
vondrack
Posted: Sep 10 2002, 11:38 PM


Unregistered









Ah, I see, thanks for the response, Spire.

I haven't been able to associate the problem with the "Bad duration..." bug mentioned in the docs, as I am quite new to the whole VirtualDub thing... Sorry to start a thread on something that is well known.

One interesting thing I have just learned - I am able to play those long (over 2 GB) AVIs correctly in Windows XP Media Player, but I am unable to fast foward through them...
 
  Top
Spire
Posted: Sep 11 2002, 02:08 AM


Unregistered









I believe you actually should be able to seek (fast-forward) though those invalid AVI files in Windows Media Player, as long as you don't try to seek beyond the 1:41 (m:ss) point. If not, try it with the old Media Player (mplayer2.exe).

How do I know this? Well, this relatively useless piece of information is one of the many things I discovered when I first tried to troubleshoot the problem a long time ago! ohmy.gif
 
  Top
vondrack
Posted: Sep 11 2002, 07:51 AM


Unregistered









QUOTE (Spire @ Sep 10 2002, 08:08 PM)
I believe you actually should be able to seek (fast-forward) though those invalid AVI files in Windows Media Player, as long as you don't try to seek beyond the 1:41 (m:ss) point. If not, try it with the old Media Player (mplayer2.exe).

How do I know this? Well, this relatively useless piece of information is one of the many things I discovered when I first tried to troubleshoot the problem a long time ago! ohmy.gif

Which is great for a half-an-hour long recording of the latest M.A.S.H. episode... you can skip a great deal of the opening titles... biggrin.gif

Ok, just kidding... I did find a workaround, cutting the files into smaller chunks (with cuts at scene changes, just for sure), processing them with TMPGEnc separately and later merging back with TMPGEnc's merge MPEG function. But I understand that this works with TPMGEnc only...
 
  Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
4 replies since Sep 10 2002, 06:52 PM Track this topic | Email this topic | Print this topic

<< Back to VirtualDub Development Forum