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 > VapourSynth
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 18th September 2011, 03:38   #121  |  Link
SAPikachu
Registered User
 
SAPikachu's Avatar
 
Join Date: Aug 2007
Posts: 218
@Gavino @jmac698
So I must revise my wording - AviSynth doesn't have some convenient language features. At least it is very hard to parse raw data directly in script. Of course there are hackish ways to do that.

@jmac698 @kolak
Adding random noise can indeed reduce banding. Actually flash3kyuu_deband does that between core debanding and dithering.
__________________
f3kdb 1.5.1 / MP_Pipeline 0.18

ffms2 builds with 10bit output hack:
libav-9a60b1f / ffmpeg-1e4d049 / FFmbc-0.7.1
Built from ffms2 6e0d654 (hack a9fe004)

Mirrors: http://bit.ly/19TwDD3
SAPikachu is offline   Reply With Quote
Old 18th September 2011, 11:58   #122  |  Link
kolak
Registered User
 
Join Date: Nov 2004
Location: Poland
Posts: 2,843
Can you add optional (with possibility to set strength) add noise to fkdb_dither?


Andrew
kolak is offline   Reply With Quote
Old 18th September 2011, 12:17   #123  |  Link
SAPikachu
Registered User
 
SAPikachu's Avatar
 
Join Date: Aug 2007
Posts: 218
Quote:
Originally Posted by kolak View Post
Can you add optional (with possibility to set strength) add noise to fkdb_dither?


Andrew
Actually that's what flash3kyuu_deband does. After adding high bit-depth input, it will be superset of f3kdb_dither.
__________________
f3kdb 1.5.1 / MP_Pipeline 0.18

ffms2 builds with 10bit output hack:
libav-9a60b1f / ffmpeg-1e4d049 / FFmbc-0.7.1
Built from ffms2 6e0d654 (hack a9fe004)

Mirrors: http://bit.ly/19TwDD3
SAPikachu is offline   Reply With Quote
Old 18th September 2011, 12:30   #124  |  Link
kolak
Registered User
 
Join Date: Nov 2004
Location: Poland
Posts: 2,843
OK- you're adding high bit-depth input for flash3kyuu_deband and than f3kdb_dither is not needed- cool
kolak is offline   Reply With Quote
Old 18th September 2011, 12:38   #125  |  Link
kolak
Registered User
 
Join Date: Nov 2004
Location: Poland
Posts: 2,843
Not sure if it's a good place, but:

is there anyone interested to write frameserver for one of the editing software (preferably in v20 and YUY2- I believe theses are native formats for software for 10 and 8bit mode). Not for free.

Something like debugmode for Premiere/Vegas.

You can contact me via PM.

Thanks,
Andrew

Last edited by kolak; 18th September 2011 at 13:22.
kolak is offline   Reply With Quote
Old 18th September 2011, 14:02   #126  |  Link
mp3dom
Registered User
 
Join Date: Jul 2003
Location: Italy
Posts: 1,135
The problem is that a lot of NLE internally works in RGB colorspace or have RGB filters. A YUY2/v210 output makes sense if no colorspace occurs during all the editing stage. Anyway Vegas and Premiere already can use DebugMode, Avid (and I suppose FinalCut) uses QuickTime Reference (which is similar to DebugMode).
mp3dom is offline   Reply With Quote
Old 18th September 2011, 14:19   #127  |  Link
kolak
Registered User
 
Join Date: Nov 2004
Location: Poland
Posts: 2,843
Different software, which is way more stable and faster than all of them and it does work internally in YUV (maybe that's why it's so fast).


Andrew
kolak is offline   Reply With Quote
Old 23rd September 2011, 22:40   #128  |  Link
kolak
Registered User
 
Join Date: Nov 2004
Location: Poland
Posts: 2,843
Quote:
Originally Posted by SAPikachu View Post
Actually that's what flash3kyuu_deband does. After adding high bit-depth input, it will be superset of f3kdb_dither.
Done some test an additional noise does help- file from Xscaler is "smoother" than from f3kdb_dither and the difference is due to additional noise added by Xscaler filter.

flash3kyuu_deband with high bit-depth support will be very powerful
kolak is offline   Reply With Quote
Old 26th September 2011, 09:56   #129  |  Link
SAPikachu
Registered User
 
SAPikachu's Avatar
 
Join Date: Aug 2007
Posts: 218
Finally escaped from another project and get some free time.

New version should be available in 1 or 2 weeks.
__________________
f3kdb 1.5.1 / MP_Pipeline 0.18

ffms2 builds with 10bit output hack:
libav-9a60b1f / ffmpeg-1e4d049 / FFmbc-0.7.1
Built from ffms2 6e0d654 (hack a9fe004)

Mirrors: http://bit.ly/19TwDD3
SAPikachu is offline   Reply With Quote
Old 26th September 2011, 11:23   #130  |  Link
kolak
Registered User
 
Join Date: Nov 2004
Location: Poland
Posts: 2,843
Cool

Andrew
kolak is offline   Reply With Quote
Old 26th September 2011, 12:47   #131  |  Link
mp3dom
Registered User
 
Join Date: Jul 2003
Location: Italy
Posts: 1,135
Awesome! I've the right project to test on
mp3dom is offline   Reply With Quote
Old 6th October 2011, 02:38   #132  |  Link
SAPikachu
Registered User
 
SAPikachu's Avatar
 
Join Date: Aug 2007
Posts: 218
A little update. My work has suddenly became very busy recently, I only completed about 50% of the improvement in the last 2 weeks... Need maybe several weeks more to fully implement the changes.

I also planned to add some more features to the new version:

* 9 - 15 bit output
* dynamic noise
__________________
f3kdb 1.5.1 / MP_Pipeline 0.18

ffms2 builds with 10bit output hack:
libav-9a60b1f / ffmpeg-1e4d049 / FFmbc-0.7.1
Built from ffms2 6e0d654 (hack a9fe004)

Mirrors: http://bit.ly/19TwDD3
SAPikachu is offline   Reply With Quote
Old 6th October 2011, 13:18   #133  |  Link
kolak
Registered User
 
Join Date: Nov 2004
Location: Poland
Posts: 2,843
Dynamic noise sounds interesting

Can't wait to see it in action.
kolak is offline   Reply With Quote
Old 27th October 2011, 20:28   #134  |  Link
mp3dom
Registered User
 
Join Date: Jul 2003
Location: Italy
Posts: 1,135
What should do "dynamic noise"? You mean put noise only on zones where debanding take place (without adding noise to, example, a flat area of the same image)? Sounds cool! Can't wait to see how much is the gain (or detail preservation) in debanding an 8bit source vs debanding directly a 10bit source.
mp3dom is offline   Reply With Quote
Old 28th October 2011, 02:06   #135  |  Link
SAPikachu
Registered User
 
SAPikachu's Avatar
 
Join Date: Aug 2007
Posts: 218
Quote:
Originally Posted by mp3dom View Post
What should do "dynamic noise"? You mean put noise only on zones where debanding take place (without adding noise to, example, a flat area of the same image)? Sounds cool! Can't wait to see how much is the gain (or detail preservation) in debanding an 8bit source vs debanding directly a 10bit source.
"dynamic noise" means different noise pattern on different frames, somewhat like diff_seed but much faster. (Actually diff_seed will be replaced with that). I am finalizing the last new functionality (9 ~ 15 bit output), new version should be available in a few days. (Hope the estimation is accurate this time :P )
__________________
f3kdb 1.5.1 / MP_Pipeline 0.18

ffms2 builds with 10bit output hack:
libav-9a60b1f / ffmpeg-1e4d049 / FFmbc-0.7.1
Built from ffms2 6e0d654 (hack a9fe004)

Mirrors: http://bit.ly/19TwDD3
SAPikachu is offline   Reply With Quote
Old 28th October 2011, 08:08   #136  |  Link
mp3dom
Registered User
 
Join Date: Jul 2003
Location: Italy
Posts: 1,135
Fantastic! Thanks a lot!!
mp3dom is offline   Reply With Quote
Old 28th October 2011, 13:58   #137  |  Link
Keiyakusha
契約者
 
Keiyakusha's Avatar
 
Join Date: Jun 2008
Posts: 1,576
What is the possible benefit it different noise pattern over frames? For compression, all I can see is that it makes harder to compress video, and harder to preserve deband. For real-time, it will behave more like noise and pattern is not something visible by your eye anyway...

Last edited by Keiyakusha; 28th October 2011 at 17:14.
Keiyakusha is offline   Reply With Quote
Old 29th October 2011, 13:21   #138  |  Link
SAPikachu
Registered User
 
SAPikachu's Avatar
 
Join Date: Aug 2007
Posts: 218
Quote:
Originally Posted by Keiyakusha View Post
What is the possible benefit it different noise pattern over frames? For compression, all I can see is that it makes harder to compress video, and harder to preserve deband. For real-time, it will behave more like noise and pattern is not something visible by your eye anyway...
I heard from somewhere that dynamic noise is good for some videos, but I don't remember the exact theory. Anyway, it is only a switch and not very hard to implement. Just try it yourself.
__________________
f3kdb 1.5.1 / MP_Pipeline 0.18

ffms2 builds with 10bit output hack:
libav-9a60b1f / ffmpeg-1e4d049 / FFmbc-0.7.1
Built from ffms2 6e0d654 (hack a9fe004)

Mirrors: http://bit.ly/19TwDD3
SAPikachu is offline   Reply With Quote
Old 29th October 2011, 13:44   #139  |  Link
Nevilne
Registered User
 
Join Date: Aug 2010
Posts: 134
It will make encoders allocate more bits to low detail areas - such as gradients.
Though if done right the dithering noise should not matter too much.
Nevilne is offline   Reply With Quote
Old 29th October 2011, 15:29   #140  |  Link
Keiyakusha
契約者
 
Keiyakusha's Avatar
 
Join Date: Jun 2008
Posts: 1,576
Quote:
Originally Posted by SAPikachu View Post
I heard from somewhere that dynamic noise is good for some videos, but I don't remember the exact theory. Anyway, it is only a switch and not very hard to implement. Just try it yourself.
Its OK I was just wondering what is the real use for it. Anyway I'm really looking for 10bit output

Quote:
Originally Posted by Nevilne View Post
It will make encoders allocate more bits to low detail areas - such as gradients.
While probably true, this only hurt compression overall. Because these bits will be wasted. Allocating more bits while pattern is static is good, but when it is dynamic more bits needed to achieve the same perceived quality level. So you'll end up taking bits from high detail areas for nothing. On the opposite way, what we want for encoding is calming down fluctuations to reduce difference between similar frames and then allocating more bits by tweaking encoder itself.

Last edited by Keiyakusha; 29th October 2011 at 15:35.
Keiyakusha is offline   Reply With Quote
Reply

Tags
avisynth, deband


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 22:36.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.