User User name Password  
   
Friday 10.1.2025 / 23:55
Search AfterDawn Forums:        In English   Suomeksi   Pĺ svenska
afterdawn.com > forums > archived forums > divx / xvid > errors in source .mpg file
Show topics
 
Forums
Forums
Errors in source .mpg file
  Jump to:
 
Posted Message
smshaaban
Newbie
_
7. March 2005 @ 09:38 _ Link to this message    Send private message to this user   
Hi..I'm new to the forum, so forgive me if I sent this thread to the wrong place.
I am using VDubMod 1.5.10.1 to encode an MPEG-1 (VCD) file into DivX 5.2.1 .avi. When I open the source file, VDubMod opens a window saying:

[!] MPEG: Anachronistic or discontinuous timestamp found in audio stream 0 at
byte position 16273721, from 8403355 to 11959693. This may indicate an
improper join.


This is one of the error messages. The window shows 10 other similar messages in both audio and video streams. When I start the encoding, it runs until it reaches a certain point and the program aborts giving me the message:

Error encoding audio frame 3707 (1:36) : Incomplete frame

I found an option called 'Error Mode..' under the Streams menu. I chose 'Ignore errors and continue decoding at the next keyframe'. I restarted the encoding, and it continued 'successfully', apart from the log window that says:

[!] MPEGAudio: Concealing decoding error on frame 3707: incomplete frame.

[!] MPEGAudio: Concealing decoding error on frame 3708: incomplete frame.


But when I tried to play the output file: it runs well until it reaches the frame with the error where there are some clicks and then the audio continues but it becomes desynchronized from the video. My question is: is there a workaround to avoid these errors in the source file? I don't mind having the clicks in the output file, but the desynchronization between the video and the audio tracks is really bothering me. It would be so kind of you if you link me to a good guide to VDub and VDubMod, as I'm new to the video editing/encoding world. Thanks a lot for your time.
Advertisement
_
__
The_OGS
Senior Member
_
9. March 2005 @ 08:27 _ Link to this message    Send private message to this user   
Forget VDubMod for working with VBR MP3 or MP2 or AC3 audio - you need NanDub.
You can get it in GordianKnot
http://www.afterdawn.com/software/video_software/video_encoders/gordian_knot.cfm
which will also help you make good DivX AVIs
but not designed to work from MPEG1 source though...
Oh well, get your NanDub anyway.
Your VCD file is 'flaky' and is no great prize ;-(
MPEG1 to AVI is harsh (quality-wise) anyway, so don't lose any sleep over this...
L8R

ABit AB9 Pro
Intel Core 2 Duo E6420 @ 2.4GHz
2GB OCZ PC2-6400 Platinum XTC R2
ATI Radeon X1900XT 512MB
Enermax Liberty 620W
320GB/16MB WD, 150GB/16MB Raptor
Plextor PX-755SA DVD (SATA)
smshaaban
Newbie
_
9. March 2005 @ 21:00 _ Link to this message    Send private message to this user   
Ok..thanks a lot. I'll give it a try.
Quote:
MPEG1 to AVI is harsh (quality-wise) anyway, so don't lose any sleep over this...
What do you recommend for compressing MPEG1? I chose .AVI (DivX and xvid) because I thought they offer good compression with good quality. Is there a better choice that I'm missing ( I mean balancing the good compression and quality)? Thanks :-)
smshaaban
Newbie
_
10. March 2005 @ 05:01 _ Link to this message    Send private message to this user   
So I downloaded th pack and started NanDub v1.0rc2. The problem is that I can't find the Compression item under the Video menu. I'm working with the Full Processing Mode, but nothing happens when I press crtl-P. The item itself just isn't there. VDubMod runs fine and the crtl-P is working fine. Am I missing something?
The_OGS
Senior Member
_
10. March 2005 @ 06:34 _ Link to this message    Send private message to this user   
MPEG1 (VCD) and MPEG4 (AVI) are both types of compression.
You don't really compress MPEG1, you can only transcode it to another different compression format.
DivX has the small filesize of MPEG1 along with the picture quality of MPEG2 (DVD), and so it's a much more modern format that seems better.
But MPEG1 VCDs have, as a design priority, the ability to playback on a wide spectrum of hardware - the format is not demanding on hardware, and will play quite nicely on a 166MHz PC.
DivX is some real, serious compression that needs at least 1000MHz to playback.
So if you have MPEG1, if you change it to MPEG4 it will look the same (or worse) but will no longer playback easily anymore - kinda the worst of both worlds, capish?
Dunno about ctrl-P buddy, but I believe NanDub does everything VirtualDub does...
This might, however, not be true since GordianKnot also comes with & uses VDubMod as its encoder.
This is telling because they would not include both if they didn't need both.
Anyway, if I was determined to transcode MPEG1, I would strip the audio, worry only about transcoding the video, and then re-mux the A and V again at the end (using NanDub).
Simple & straightforward - try that & let us know, it's your best way :-)
Regards

ABit AB9 Pro
Intel Core 2 Duo E6420 @ 2.4GHz
2GB OCZ PC2-6400 Platinum XTC R2
ATI Radeon X1900XT 512MB
Enermax Liberty 620W
320GB/16MB WD, 150GB/16MB Raptor
Plextor PX-755SA DVD (SATA)
smshaaban
Newbie
_
10. March 2005 @ 07:34 _ Link to this message    Send private message to this user   
Ok..thanks for the explanation. About Nandub, the readme file that comes with it (from the Gordian Knot package) says something about only using the DivX 3.11alpha and/or MS-MPEG4 v.2 codecs only. It say literally:
Quote:
It's important to understand that there's a fundamental "flaw" in the way I (consciously) coded Nandub: It relies on codec's internal variables and pointers to reside at a specific position in the process memory when the encoding starts. I've coded Nandub for DivX 3.11alpha and MPEG4v2 and it won't work with any other more recent VKI patches or bundles ŕ la 3.20 or the likes. It will crash, it will complain about lack of memory, it will pretend to have detected neutrinos, it will reformat your HD, your computer will melt down, you'll loose your job, your appartment, your gf, etc, and it's all plain normal. Nandub does its own VKI, so you don't need any f*cking lame patches anyway.
Last note: I don't want to distribute these codecs because of the legal implications, and I won't code an automatic check because of my legendary lazyness.
In brief:
INSTALL DivX 3.11alpha and/or MPEG4v2
or
GO TO HELL !!! (*cough*)
So I downloaded the mentioned codecs (although I have DivX 5.2.1 installed), but the Compression item under Video just isn't there at all.
Quote:
Dunno about ctrl-P buddy, but I believe NanDub does everything VirtualDub does...
This might, however, not be true since GordianKnot also comes with & uses VDubMod as its encoder.
This is telling because they would not include both if they didn't need both.
That's a good point. But does it imply that there's another 'fully functional' version of NanDub out there? It would be very annoying if I have to edit a video with VBR MP3 audio stream and want to transcode it for whatever reason. I then will have to edit it in NanDub, save it as a direct stream copy, then open it in VirtualDubMod for transcoding...very painful and a needless waste of time. Anywy, I'll keep digging hoping to find out what's wrong. Thanks a lot for the help, The_OGS ;-)
The_OGS
Senior Member
_
10. March 2005 @ 07:53 _ Link to this message    Send private message to this user   
This explains why NanDub is not really available standalone (or at least very hard to find).
They are all 'offshoots' of the original VirtualDub by Avery Lee, and apparently the NanDub guy developed it to work with VBR MP3 and AC3 audio, not to encode video per se.
Yeah, so use NanDub to Demux audio if req'd; encode/transcode however (VirtualDub/VDubMod/GKnot); use NanDub to re-interleave final product.
Not too very painful, and to save time, buy the DVDs LoL :-)
Dunno what to tell ya... good luck,
L8R

ABit AB9 Pro
Intel Core 2 Duo E6420 @ 2.4GHz
2GB OCZ PC2-6400 Platinum XTC R2
ATI Radeon X1900XT 512MB
Enermax Liberty 620W
320GB/16MB WD, 150GB/16MB Raptor
Plextor PX-755SA DVD (SATA)
smshaaban
Newbie
_
10. March 2005 @ 14:02 _ Link to this message    Send private message to this user   
Thanks a lot, The_OGS. Your tips were very helpful to me :-)

Online forums are just a brilliant idea!
Advertisement
_
__
 
_
smshaaban
Newbie
_
9. April 2005 @ 12:31 _ Link to this message    Send private message to this user   
Hi again...I just found a manual for NanDub. Actually the program can encode video. There is a restriction is that the program author decided to use either DivX 3.11 or MS-MPEG v.2 only. It uses the so-called SBC (short for Smart bitrate Control), which apparently - as the tutorials on http://www.doom9.org - gives better results than the conventional alghorithms in VDub and VDubMod. So, instead of the Compression dialog in Vdub/VDubMod (under Video tab), there's SBC Options under Video in Nandub. For the details of how to configure SBC in Nandub, see Koepi's guide. Hope these information help you guys with Nandub. The link is:

http://mitglied.lycos.de/koepi/nandub_options_explained-v1.0.pdf

See you later..;-)

Online forums are just a brilliant idea!
afterdawn.com > forums > archived forums > divx / xvid > errors in source .mpg file
 

Digital video: AfterDawn.com | AfterDawn Forums
Music: MP3Lizard.com
Gaming: Blasteroids.com | Blasteroids Forums | Compare game prices
Software: Software downloads
Blogs: User profile pages
RSS feeds: AfterDawn.com News | Software updates | AfterDawn Forums
International: AfterDawn in Finnish | AfterDawn in Swedish | AfterDawn in Norwegian | download.fi
Navigate: Search | Site map
About us: About AfterDawn Ltd | Advertise on our sites | Rules, Restrictions, Legal disclaimer & Privacy policy
Contact us: Send feedback | Contact our media sales team
 
  © 1999-2025 by AfterDawn Ltd.

  IDG TechNetwork