10-Bit Anime editing?

This forum is for questions and discussion of all the aspects of handling and cleaning up your footage with Avisynth.
User avatar
MiyaDV
Joined: Tue Aug 29, 2006 4:36 am
Org Profile

Re: 10-Bit Anime editing?

Post by MiyaDV » Sat Feb 25, 2012 6:56 am

Are there any easy guides for the 16 bit dithering stuff out there? Having a hard time finding one... And would it work with grainy footage? I got some DVDs with like perfect video quality but their from old masters so their pretty grainy, so I don't know if the dithering would effect that at all, but I like the grain.

I understand avisynth basics, but never got too deep in it
. . . . . .

User avatar
mirkosp
The Absolute Mudman
Joined: Mon Apr 24, 2006 6:24 am
Status: (」・ワ・)」(⊃・ワ・)⊃
Location: Gallarate (VA), Italy
Contact:
Org Profile

Re: 10-Bit Anime editing?

Post by mirkosp » Sat Feb 25, 2012 8:22 am

http://forum.doom9.org/showthread.php?p ... ost1386559

First you'll need the dither plugins.
After that, it's a matter of doing

Code: Select all

GradFun3(lsb=true)
Dither_convey_yuv4xxp16_on_yvxx()
Obviously, do adjust the debanding strength to what your source needs so to not over deband. As I recall, there should also be a script that basically dithers back to 10bit while keeping the bitdepth to 16 for a better quality dither to 10bit, but it seems it is a temporary solution before it gets implemented in the dither pack, so I'll refrain from posting it here.
After that, you need to pipe the script to x264 in order to tell it it's 16bit, unless you are using JEEB's patched x264, which has a patch to avoid the piping for easier usage. Here is how you pipe however (works even if you do use JEEB's patched build):

Code: Select all

avs2yuv -raw "script.avs" -o - | x264-10bit --demuxer raw --input-depth 16 --input-res 1280x720 --fps 24000/1001 --output "output.mkv" -
Where script.avs is your avs, output.mkv is the file you want to get in output, 1280x720 is the resolution of what you had (the convey will make it twice the width) and the framerate is, well, your framerate. Do feel free to adjust the other settings as well as needed.
Image

User avatar
TritioAFB
Ambassador of the AMVWorld
Joined: Fri Sep 04, 2009 12:38 am
Status: Doctor
Location: Honduras
Org Profile

Re: 10-Bit Anime editing?

Post by TritioAFB » Tue Apr 03, 2012 8:42 am

We should make a new guide about the 10-Bit
Specialist in Geriatric Medicine

User avatar
mirkosp
The Absolute Mudman
Joined: Mon Apr 24, 2006 6:24 am
Status: (」・ワ・)」(⊃・ワ・)⊃
Location: Gallarate (VA), Italy
Contact:
Org Profile

Re: 10-Bit Anime editing?

Post by mirkosp » Tue Apr 03, 2012 9:15 am

Not really, since ffvideosource loads it just fine. Updating the amvapp would be enough.
OTOH, if it's about encoding to 10bit, well, doing it really well requires some knowledge which definitely would require a new guide. Otherwise for easy 10bit encoding, just updating zarxgui would do, so even there it's not like we need a new guide.
We'd rather need a better guide about ivtc and about resize, I believe.
Image

User avatar
Eake4
Australian Zeus
Joined: Tue Jul 26, 2011 6:15 am
Status: Doing something useless again
Location: Sydney, Australia
Org Profile

Re: 10-Bit Anime editing?

Post by Eake4 » Sun Apr 08, 2012 7:18 am

When you open 10bit videos in AviSynth, it look as though acid as been spilled on it. Even if you do manage to clean it up, other parts will look bad. Is there a way to open 10 bit files without having it look like that or does it go away after the lossless conversion?
Image

User avatar
mirkosp
The Absolute Mudman
Joined: Mon Apr 24, 2006 6:24 am
Status: (」・ワ・)」(⊃・ワ・)⊃
Location: Gallarate (VA), Italy
Contact:
Org Profile

Re: 10-Bit Anime editing?

Post by mirkosp » Sun Apr 08, 2012 8:13 am

As I said at least a couple times in this very thread, update your version of ffms2.
Image

Mister Hatt
Joined: Tue Dec 25, 2007 8:26 am
Status: better than you
Contact:
Org Profile

Re: 10-Bit Anime editing?

Post by Mister Hatt » Sun Apr 08, 2012 12:49 pm

Update ffms2 like mirko said. New ffms2 automagically outputs 8bit still. There is no such thing as real 10bit in avisynth, or anything other than 8bit.

Locked

Return to “AviSynth Help”