User User name Password  
   
Sunday 2.2.2025 / 10:26
Search AfterDawn Forums:        In English   Suomeksi   På svenska
afterdawn.com > forums > digital video > video capturing from analog sources > avisynth inserting frames out-of-sequence
Show topics
 
Forums
Forums
avisynth inserting frames out-of-sequence
  Jump to:
 
Posted Message
kar
Newbie
_
18. June 2005 @ 10:39 _ Link to this message    Send private message to this user   
I have a large (35GB) AVI that is a raw (uncompressed) YUY2 capture. When I run it through avisynth (version 2.56) it periodically inserts a "future frame" into the sequence: as the video plays, there is a periodic "flash" of a single future frame.

I know its not the source, since if I load the file in VDUB there are no poblems.

And its nothing to do with my avisynth script, since I've reduced that to nothing more than opening the AVI file.

I'm using the OpenDMLsource filter, and I've tried the source filters. None seem to make a difference.

Strangely the exact location of the "flash frame" changes from time-to-time. And sometimes its replaced with an empty frame all in green.

I know that the capture (which was done through VDUB) dropped a few hundred frames and am wondering if this is the cause.

How do I stop this problem? I'm out of ideas.

Suggestions much appreciated.

KAR
Advertisement
_
__
Minion
AfterDawn Addict
_
18. June 2005 @ 13:54 _ Link to this message    Send private message to this user   
Well what I would Maybe Suggest is to use an Earlier version of AVISynth as I believe version 2.56 is still in Beta Stage, Maybe Try version 2.55 which is the Stable version...Also you Might try Converting the Color Space to RGB 24/32 as Many apps do not like Video that uses a YUV Colorspace.....

The Last thing I can suggest is to Not use AVISynth to frameserve, If Virtual-Dub can read the File Properly then maybe use it to Frameserve....

Good Luck

P-4 2.6ghz (Overclocked to 3.2ghz)
Abit IS7
1gb Dual Chanell DDR 400mhz
Zalman CNPS7000-CU Cooler(Modded with 50cfm Fan)
XFX Gforce 6600GT 128mb GDDR3 (500/1000)
Pinnacle DV500 ADVC Editing Card
RaidMax Scorpio ATX Case + 5 Led
kar
Newbie
_
18. June 2005 @ 14:28 _ Link to this message    Send private message to this user   
There isn't really an app in the mix yet. Just simple file processing. Anyway, the reason I'm using avisynth is to avoid the quality loss that occurs when VDUB converts YUV colorspace to RGB when it performs its processing.
Minion
AfterDawn Addict
_
18. June 2005 @ 15:28 _ Link to this message    Send private message to this user   
The Newest Experemental version If Virtual-Dub supports YUV colorspaces Natively ....

P-4 2.6ghz (Overclocked to 3.2ghz)
Abit IS7
1gb Dual Chanell DDR 400mhz
Zalman CNPS7000-CU Cooler(Modded with 50cfm Fan)
XFX Gforce 6600GT 128mb GDDR3 (500/1000)
Pinnacle DV500 ADVC Editing Card
RaidMax Scorpio ATX Case + 5 Led
kar
Newbie
_
18. June 2005 @ 15:47 _ Link to this message    Send private message to this user   
Are you sure? I heard that the latest VDUB maintains colorspace so long as you don't use a filter (like crop, etc). Once you bring in a filter, VDUB changes everything to RGB.
Minion
AfterDawn Addict
_
18. June 2005 @ 16:37 _ Link to this message    Send private message to this user   
Yes that is Possible...So Have you Tried Version 2.5 as opposed to 2.56?? It is the Version I use and I haven"t had any problems with it at all when working with Uncompressed AVI files...

I use AVISynth with every file I encode to Mpeg-2...I generally use it with DivX/XviD Files and use filters Like the FluxSmooth,Undot,Convolution3D ,Lanczos Resize and the AddBorders Function...I especially Like it for Converting PAL to NTSC useing the "AssumeFPS" Function as it is the Only Program I know of that will Speed up/Slow Down the Frame Rate and the Audio at the Same Time while Keeping Perfect sync...

well anyways Good Luck

P-4 2.6ghz (Overclocked to 3.2ghz)
Abit IS7
1gb Dual Chanell DDR 400mhz
Zalman CNPS7000-CU Cooler(Modded with 50cfm Fan)
XFX Gforce 6600GT 128mb GDDR3 (500/1000)
Pinnacle DV500 ADVC Editing Card
RaidMax Scorpio ATX Case + 5 Led
kar
Newbie
_
18. June 2005 @ 17:28 _ Link to this message    Send private message to this user   
Ok, I now know for sure that it is the dropped frames in the AVI that are causing the problem.

When VDUB captured the original AVI, it dropped a few hundred frames along the way, and marked them as [D] frames.

Avisynth seems unable to cope with these [D] frames. It seems to replace them with a "junk" frame. VDUB does what you'd expect, it simply re-uses the previous frame as a substitute.

So, the question is, how do you get avisynth to handle dropped frames?
kar
Newbie
_
18. June 2005 @ 17:29 _ Link to this message    Send private message to this user   
And yes, I just tried the 2.5 stable release. Made no difference.
Minion
AfterDawn Addict
_
18. June 2005 @ 17:57 _ Link to this message    Send private message to this user   
I no of no feature at all in AVISynth that will Fix your problem...

The Only think I can think of is Maybe Try Makeing a New File with Virtual-Dub and see if it will Insert the Last good Frame instead of adding a D Frame Flag in the Video stream?

P-4 2.6ghz (Overclocked to 3.2ghz)
Abit IS7
1gb Dual Chanell DDR 400mhz
Zalman CNPS7000-CU Cooler(Modded with 50cfm Fan)
XFX Gforce 6600GT 128mb GDDR3 (500/1000)
Pinnacle DV500 ADVC Editing Card
RaidMax Scorpio ATX Case + 5 Led
Advertisement
_
__
 
_
kar
Newbie
_
18. June 2005 @ 18:38 _ Link to this message    Send private message to this user   
Ok, thanks.
afterdawn.com > forums > digital video > video capturing from analog sources > avisynth inserting frames out-of-sequence
 

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