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. |
5th November 2002, 03:23 | #122 | Link | |
Registered User
Join Date: Oct 2001
Location: Gainesville FL USA
Posts: 2,092
|
I wrote my first YUY2/YV12 filter
Quote:
Not off base at all. It is a fairly fast simple deringing median filter designed to remove stray dots. It should somewhat handle ringing and mosquito noise. It may not have as strong an effect as the one I did for Xvid/ffdshow but should be maybe twice as fast. Some really superficial testing shows it gives maybe a 5-10% compression improvement at Xvid quant=2 for clean (superbit) source without any obvious loss of detail. But this is brand new, experimental, and only for the Avisynth 2.5 alpha testing (SSEMMX only). I intended this somewhat to be a simple example of a mixed YUY2 and YV12 (no RGB) filter. Anyway, see: www.trbarry.com/Readme_UnDot.txt and www.trbarry.com/UnDot.zip (source & dll) And FWIW, after demuxing HDTV caps are basically just Vobs, YV12/mpeg2 video with ac3 sound except lots more pixels. They can have the same blocking and ringing problems as a DVD and can be IVTC'd and deinterlaced the same. But many of the same tools work and Avisynth/Virtualdub/Xvid is still the way to go. I recommend everybody get a HDTV card for captures if there are any stations where you live. It's like they are broadcasting free 1920x1080i DVD's (but cut for prime time audiences, the "airplane versions"). But because of the huge resolution they are pig slow to process which makes Sh0dans new YV12 support the neatest thing since sliced bread. Thanks, Sh0dan. - Tom |
|
5th November 2002, 15:08 | #123 | Link |
AC3 5.1 Addict
Join Date: Nov 2001
Location: Big Blue Nation_USA
Posts: 2,036
|
Tom,
Thx for the speedy filter. I ran a full 2pass encode last night using latest AVS 2.5 alpha along with Koepi's latest 11-04 dev build. No problems at all and I did gain about 7% in compression. Visually I don't see any loss of detail. While the source isn't SuperBit, it's still one of the cleanest DVD transfers you'll see for an older movie(Romeo is Bleeding). So I guess it's safe to change your readme to indicate it has been tested on AMD Athlons Dual AMD XP 1600s Win2k w/ SP3 512MB PC2700 DDR BTW- Many thx for that HDTV info, I had never really paid much attention to it until this weekend I seen a beautiful Fuji HDTV at my local AV store. Unfortunately it was almost $10K but certainly had the best picture I've ever seen. It would be worth me buying HDTV just for the National Geo. HDTV channel thats broadcasted here.
__________________
Need AC3 & SPDIF setup info? |
5th November 2002, 16:34 | #124 | Link |
Still Laughing
Join Date: Oct 2001
Location: Around
Posts: 1,312
|
You all may be interested in checking out:
http://forum.doom9.org/showthread.php?threadid=36768 Its a commandline encoding application specifically for Avisynth written by [Toff], and today I added two pass functionality to it (with XviD in mind). Give it a whirl (It supports YV12). |
5th November 2002, 17:05 | #125 | Link |
XviD fan
Join Date: Jun 2002
Location: France
Posts: 907
|
>I guess lumoff parameter does not work in your "mpeg2dec3 YV12.dll",
>right? I really would like to be able to use it with YV12 . It works, and all other features too, because everything is working in YV12 colorspace. |
5th November 2002, 21:05 | #126 | Link |
retired
Join Date: Jun 2002
Location: hollywood
Posts: 1,013
|
@Marc
The results I get when using lumoff=-96 and no lumoff parameter are the same, which is impossible, since a value of lumoff=-96 should darken out the encode considerably! To make sure, can you or someone else check that on another machine please? (mpeg2dec3 YV12.dll - Avs2.5 (4-11-02) - XviD 04112002-1) regards, iago |
6th November 2002, 02:34 | #127 | Link | |
Registered User
Join Date: Oct 2001
Location: Italia
Posts: 412
|
Quote:
YV12@#]/@€£$"òç!!! Boys, this AVS2AVI utility really ROCKS !!! It takes almost NO TIME to setup!!! Very easy to insert in batch files toghether with other stuff + shutdown command and goes up to 40fps with my Athlon 2100+ even with B-Frames at hi-res!! Love infinitely command-line tools... Thanx TOFF! Waiting Suiryc for OGG mod |
|
6th November 2002, 04:13 | #128 | Link | |
AC3 5.1 Addict
Join Date: Nov 2001
Location: Big Blue Nation_USA
Posts: 2,036
|
Quote:
__________________
Need AC3 & SPDIF setup info? |
|
6th November 2002, 04:14 | #129 | Link |
DVD Rebuilder!
Join Date: Oct 2001
Posts: 1,147
|
Hmmm....
I have the same speed of encoding even the "default" or the tricky "yv12" mode both the same speed with the same script and xvid settings, both about ~17-19fps on my Athlon XP +1700. I think I'm missing something or it's my bad machine |
6th November 2002, 04:56 | #130 | Link |
AC3 5.1 Addict
Join Date: Nov 2001
Location: Big Blue Nation_USA
Posts: 2,036
|
I think I've just ran across a nasty bug but I'm not sure who the culprit is at this time. For whatever reason, encoding with a resolution of 612x332 almost doubles or triples my file size compared to a resolution of 608x332.
Koepi's Dev Xvid build- 04112002 using Chroma motion option with MPEG fixed quantizer of 2. Also using latest AVS 2.5 alpha build dated as 11-04-2002 along with shOdan's hacked VdubMPG2 app. Sample Script- Code:
LoadPlugin("C:\Program Files\AviSynth2\plugins\MPEG2DEC3 YV12.dll") mpeg2source("D:\test\romeo.d2v") crop(8,4,704,464) LanczosResize(604,328) Limiter() Edit- @ookzDVD, Can you post your script and XviD build? Edit2- @all, Uhgg...guess I'll try reproducing my file size problem with Divx5 quants now to make sure this isn't an XviD issue. Update: Moderator, please merge this post with the following Xvid thread. In fact I was unable to reproduce the problem using Divx 5.02
__________________
Need AC3 & SPDIF setup info? Last edited by MaTTeR; 6th November 2002 at 05:09. |
6th November 2002, 05:36 | #131 | Link | |
DVD Rebuilder!
Join Date: Oct 2001
Posts: 1,147
|
@MaTTeR,
Here is my script : Quote:
|
|
6th November 2002, 14:33 | #134 | Link |
XviD fan
Join Date: Jun 2002
Location: France
Posts: 907
|
>The results I get when using lumoff=-96 and no lumoff parameter are the
>same, which is impossible, since a value of lumoff=-96 should darken out > the encode considerably! oups ^^ maybe i've commented the luma filtering with the YV12->YUY2 stuff. because it's just before. i'll try to release MPEG2Dec3 beta 7 with YUY2/YV12 choice and cleanded settings. @Sh0dan : are filters compiled for avisynth 2.5 compatible with 2.06 if i keep YUY2 colorspace ? maybe i should wait until YV12 is stable. it's why i said i would stop to code. BTW, is it possible to try to improve DirectShowSource in avisynth 2.5 ?? *.grf files support and/or sound support would be great. i hate dshow, but i admit it's sometimes a very usefull tool. Cheers, MarcFD |
6th November 2002, 15:41 | #135 | Link | |||
Retired AviSynth Dev ;)
Join Date: Nov 2001
Location: Dark Side of the Moon
Posts: 3,480
|
Quote:
However a minor set of #ifdefs should make it possible to keep the two versions side by side. [EDIT!] I've been talking to Gabest regarding VobSub, and he suggested that we should replace "AvisynthPluginInit" for plugins with "AvisynthPluginInit2" for 2.5 plugins. That way there will not be any conflicts at least. I still think you would need to compile two seperate dll's, since it refers directly to the structures of avisynth.h. Quote:
There will probably be added a few helper functions to Environmnet Settings in avisynth.h, but nothing major. Quote:
__________________
Regards, sh0dan // VoxPod Last edited by sh0dan; 6th November 2002 at 17:27. |
|||
6th November 2002, 16:27 | #136 | Link |
Registered User
Join Date: Oct 2001
Location: Gainesville FL USA
Posts: 2,092
|
Could someone verify something for me?
I still also have Divx5 installed which means that even when I send Vdubmpg2 YV12 data I can still see the preview, etc.
But when I set vdub to Fast recompress then it still should be passing the data directly to Xvid as YV12 without conversions, right? I don't know how I would be able to test that except for speed and I don't know enough about how vdub works to be sure. And, is that Divx YV12 decompressor even included in the free (non-adware) version of Divx 5? - Tom |
6th November 2002, 16:44 | #137 | Link | |||
Retired AviSynth Dev ;)
Join Date: Nov 2001
Location: Dark Side of the Moon
Posts: 3,480
|
Re: Could someone verify something for me?
Quote:
Quote:
Quote:
__________________
Regards, sh0dan // VoxPod |
|||
6th November 2002, 19:06 | #139 | Link | |
Remember Rule One
Join Date: Oct 2001
Location: SWEDEN
Posts: 1,611
|
Quote:
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|