Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Display Modes
Old 6th March 2003, 16:23   #1  |  Link
sh0dan
AviSynth Developer
 
sh0dan's Avatar
 
Join Date: Nov 2001
Location: Dark Side of the Moon
Posts: 3,468
March 6th 2.50 beta

Just uploaded a new test version. Follow the second link in my sig.

This is candidate for 2.51. Changes since last CVS version (feb 27):

- Fixed bug in YV12 stackvertical, causing corrupt images.
- Removed all fieldbased/mod 4 checks.
- Restored how fieldbased/framebased works (needs further testing!)
- Added MMX/ISSE version of YUY2 -> YV12 conversion routines (interlaced/progressive). Use converttoyv12(interlaced=true/false).
- Made SwapUV() faster.
- YToUV() now takes an optional third parameter, that contains luma for the final clip.
- Fixed memory exception problem in Blur()
- AudioLength() now returns the size in samples (do however beware of overflows on very long clips)
- Changed chroma weighing to be 25/75 on interlaced YV12 -> YUY2
- Removed startup Box from installer.
- Enabled Steady's much faster BitBlt code.
- Finally: Greyscale inserts value 128, instead of 127. Some users have reported a greenish tint.


Field/Framebased processing should in theory be back to 2.0 functionality. Please report if you find strangeness. If no major bugs are found, this version will be released as 2.5.1 (at the same time as 2.0.8)
__________________
Regards, sh0dan // VoxPod
[AviSynth 2.5 project page] | [blog].

Last edited by sh0dan; 6th March 2003 at 20:10.
sh0dan is offline   Reply With Quote
Old 6th March 2003, 16:57   #2  |  Link
Wilbert
Moderator
 
Join Date: Nov 2001
Location: Netherlands
Posts: 5,579
Nice! Sh0dan, do you know how this ImageWriter works?
Wilbert is offline   Reply With Quote
Old 6th March 2003, 17:17   #3  |  Link
sh0dan
AviSynth Developer
 
sh0dan's Avatar
 
Join Date: Nov 2001
Location: Dark Side of the Moon
Posts: 3,468
No - you'd have to ask Richard about that - but I think it isn't finished yet, so it's not official a feature yet
__________________
Regards, sh0dan // VoxPod
[AviSynth 2.5 project page] | [blog].
sh0dan is offline   Reply With Quote
Old 6th March 2003, 23:06   #4  |  Link
Richard Berg
developer wannabe
 
Richard Berg's Avatar
 
Join Date: Nov 2001
Location: Jersey City, NJ
Posts: 1,211
Quote:
Originally posted by Wilbert
Nice! Sh0dan, do you know how this ImageWriter works?
I'll start a thread in the developer forum.
Richard Berg is offline   Reply With Quote
Old 7th March 2003, 08:07   #5  |  Link
philippas
∏→+∞
 
philippas's Avatar
 
Join Date: Oct 2001
Posts: 238
I had tried avisynth 2.5 a couple of days ago in YUY2 source from a Tv-Capture and the clip was incorrectly recognised as YUV12. Is this fixed in this release?
philippas is offline   Reply With Quote
Old 7th March 2003, 10:07   #6  |  Link
kilg0r3
! - User - !
 
kilg0r3's Avatar
 
Join Date: Nov 2001
Posts: 1,081
can't find the binary at sourceforge
__________________
Keep your tone warm and your sigs decent!
kilg0r3 is offline   Reply With Quote
Old 7th March 2003, 10:34   #7  |  Link
Wilbert
Moderator
 
Join Date: Nov 2001
Location: Netherlands
Posts: 5,579
That's because the binaries are not located at sourceforge, but on Sh0dan's homepage.

Quote:
I had tried avisynth 2.5 a couple of days ago in YUY2 source from a Tv-Capture and the clip was incorrectly recognised as YV12. Is this fixed in this release?
I'm not entirely sure whether AviSource converts them automatically to YV12. But you can always use: AviSource(..., "YUY2")
Wilbert is offline   Reply With Quote
Old 7th March 2003, 10:50   #8  |  Link
kilg0r3
! - User - !
 
kilg0r3's Avatar
 
Join Date: Nov 2001
Posts: 1,081
Quote:
Originally posted by Wilbert
That's because the binaries are not located at sourceforge, but on Sh0dan's homepage.
which is located @ ....?

Sorry i have only two addresses; the sourceforge-page and the avisynth-alpha page.
__________________
Keep your tone warm and your sigs decent!
kilg0r3 is offline   Reply With Quote
Old 7th March 2003, 11:09   #9  |  Link
Wilbert
Moderator
 
Join Date: Nov 2001
Location: Netherlands
Posts: 5,579
Quote:
Sorry i have only two addresses; the sourceforge-page and the avisynth-alpha page.
The second one (in the sig. of Sh0dan):

Binaries.
Download
Avisynth 2.50 (Mar 6. 2003)

@Richard,

Something changed on http://www.avisynth.org/forum/:
If I try to look into "Core Development section" I got the message: Sorry, but only moderators can read topics in this forum. (I can view the thread in the plugin dev. section.)
Wilbert is offline   Reply With Quote
Old 7th March 2003, 13:30   #10  |  Link
sh0dan
AviSynth Developer
 
sh0dan's Avatar
 
Join Date: Nov 2001
Location: Dark Side of the Moon
Posts: 3,468
@philippas: If you haven't reported it, it probably isn't. Which codec are you using?
__________________
Regards, sh0dan // VoxPod
[AviSynth 2.5 project page] | [blog].
sh0dan is offline   Reply With Quote
Old 8th March 2003, 00:53   #11  |  Link
unplugged
Registered User
 
unplugged's Avatar
 
Join Date: Oct 2001
Location: Italia
Posts: 412
Quote:
- Changed chroma weighing to be 25/75 on interlaced YV12 -> YUY2
BTW,
I believe that interlaced YV12 to YUY2 conversion in Avisynth 20030306 is not perfect yet, I have made some comparisons (using PAL interlaced MPEG2 movie) between MarcFD's YV12toYUY2(interlaced=true) and ConvertToYUY2(interlaced=true) and it appears to me the avisynth internal routine misses sometimes chroma values (certain areas/lines at all), there are quite suspicious grey lines that would have been colored for sure.

1st.AVS (2.5)
LoadPlugin("c:\App\Media\Avisynth\MPEG2Dec3.DLL")
LoadPlugin("c:\App\Media\Avisynth\MPEGDecoderYV12.DLL")
mpegsource("e:\Spaceballs\space.d2v") # Nic's latest 2.03a routine
YV12toYUY2(interlaced=true) # MarcFD's convertion routine by MPEG2DEC3.DLL
ResampleAudio(44100)


2nd.AVS (2.5)
LoadPlugin("c:\App\Media\Avisynth\MPEGDecoderYV12.DLL")
mpegsource("e:\Spaceballs\space.d2v") # Nic's latest 2.03a routine
ConvertToYUY2(interlaced=true)
ResampleAudio(44100)


P.S.: despite the movie itself is 25fps progressive, the mastering MPEG2 structure is interlaced (as report DVD2AVI and BitrateViewer), plus certains isolated frames are also combed (and I used them to better test YV12->YUY2 line convertions).

Last edited by unplugged; 8th March 2003 at 00:55.
unplugged is offline   Reply With Quote
Old 8th March 2003, 01:51   #12  |  Link
sh0dan
AviSynth Developer
 
sh0dan's Avatar
 
Join Date: Nov 2001
Location: Dark Side of the Moon
Posts: 3,468
@unplugged: Yes - there does seem to be a problem. Thanks for reporting! (I also noticed some flickering pixels at the bottom - that should also be investigated)
__________________
Regards, sh0dan // VoxPod
[AviSynth 2.5 project page] | [blog].

Last edited by sh0dan; 8th March 2003 at 01:58.
sh0dan is offline   Reply With Quote
Old 8th March 2003, 06:46   #13  |  Link
Richard Berg
developer wannabe
 
Richard Berg's Avatar
 
Join Date: Nov 2001
Location: Jersey City, NJ
Posts: 1,211
@Wilbert - I closed the avisynth.org forum when I saw the new AVS Dev forum here. I left an announcement there, but I suppose it's no use if you can't see it (I'll go change that) Meantime, I think all the affected people are aware of the new forum already, hopefully no harm done.
Richard Berg is offline   Reply With Quote
Old 9th March 2003, 16:25   #14  |  Link
philippas
∏→+∞
 
philippas's Avatar
 
Join Date: Oct 2001
Posts: 238
@sh0dan
The source was captured with xvid with the interlaced option selected. If i remember correctly,it was recognised as divx5 YV12 but when i opened it directly from virtualdub it was recognised correctly. I'll try and reproduce it with the latest build of xvid and also with the stable one.
Thanks for looking into it.
philippas is offline   Reply With Quote
Old 9th March 2003, 18:26   #15  |  Link
sh0dan
AviSynth Developer
 
sh0dan's Avatar
 
Join Date: Nov 2001
Location: Dark Side of the Moon
Posts: 3,468
@philippas: MPEG 4 (as used by XViD) is YV12. So when you hand YUY2 data to XviD from your capture application it is converted to YV12. This is why it is delivered to AviSynth as YV12.
__________________
Regards, sh0dan // VoxPod
[AviSynth 2.5 project page] | [blog].
sh0dan is offline   Reply With Quote
Old 9th March 2003, 20:47   #16  |  Link
sh0dan
AviSynth Developer
 
sh0dan's Avatar
 
Join Date: Nov 2001
Location: Dark Side of the Moon
Posts: 3,468
@unplugged: Would you mind trying the latest CVS binary (march 9.). The issues should be fixed!
Changes since March 6:

- Fixed 4 flickering pixels in ConvertToYUY2, and potential out-of-buffer writes.
- Fixed chroma weighing in interlaced yv12 -> yuy2.
- Added ApplyRange(clip, int startframe, int endframe, String "filter", filterargs)
- Aligned Resize data (slightly faster on some setups).


Any other major issues before the official 2.5.1?
__________________
Regards, sh0dan // VoxPod
[AviSynth 2.5 project page] | [blog].

Last edited by sh0dan; 9th March 2003 at 20:57.
sh0dan is offline   Reply With Quote
Old 9th March 2003, 23:23   #17  |  Link
philippas
∏→+∞
 
philippas's Avatar
 
Join Date: Oct 2001
Posts: 238
@sh0dan
Sorry my fault, you are right.
philippas is offline   Reply With Quote
Old 10th March 2003, 10:16   #18  |  Link
Wilbert
Moderator
 
Join Date: Nov 2001
Location: Netherlands
Posts: 5,579
Quote:
Any other major issues before the official 2.5.1?
A minor one, yesterday I tried

clip.Trim(0,-1) # clip was an xvid clip

which resulted in/reported two frames in Virtualdub instead of one.
Wilbert is offline   Reply With Quote
Old 10th March 2003, 10:43   #19  |  Link
jarthel
plebian
 
Join Date: Nov 2001
Posts: 774
Let me just say that I'm glad I've made the switch to Avisynth2.5. I really can't discern the difference between Avisynth 2 and 2.5 but I know it's faster.

I'm using Xvid as the encoder.

jayel
jarthel is offline   Reply With Quote
Old 10th March 2003, 11:54   #20  |  Link
sh0dan
AviSynth Developer
 
sh0dan's Avatar
 
Join Date: Nov 2001
Location: Dark Side of the Moon
Posts: 3,468
@Wilbert: <sigh> Won't we ever get that one right. How many frames do you end up with, if you add Loop(50) ?

@jarthel: Thanks for the positive words! Are you usign VDdubMod?
__________________
Regards, sh0dan // VoxPod
[AviSynth 2.5 project page] | [blog].
sh0dan is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:15.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.