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. |
8th December 2015, 17:39 | #1 | Link | |
Soul Architect
Join Date: Apr 2014
Posts: 2,559
|
10-bit Encoding with DitherTools
I'm trying to do 10-bit encoding with DitherTools as described here.
My script ends with Dither_out() and I run this command Quote:
Any idea what I'm doing wrong? |
|
8th December 2015, 22:42 | #4 | Link |
Registered User
Join Date: Oct 2007
Posts: 135
|
Incidentally, if you're using the latest avs2yuv, you can just be doing:
Code:
Encoder\avs2yuv.exe -depth 16 "Job1_Script.avs" - | Encoder\x264-10b.exe --demuxer y4m --preset veryslow --crf 24 --psy-rd 1:0.05 --output "Job1_Output.264" --frames 13710 - |
9th December 2015, 01:50 | #8 | Link |
Soul Architect
Join Date: Apr 2014
Posts: 2,559
|
I downloaded v0.24bm3 here
http://avisynth.nl/index.php/Avs2YUV First time I tried it, the script froze during initialization. The second time it started encoding and then froze at 4.2%. No error message or anything, just froze. It's not using the CPU anymore. This isn't working. I'll go back to the RAW method unless there is a solution to this. Edit: It appears v0.24bm3 is broken as the RAW method isn't working either. If I revert back to the version of avs2yuv I had before, it's working in RAW format. I don't know which version I have but the file is 20,480 bytes (while the latest version is 39kb)
__________________
FrameRateConverter | AvisynthShader | AvsFilterNet | Natural Grounding Player with Yin Media Encoder, 432hz Player, Powerliminals Player and Audio Video Muxer Last edited by MysteryX; 9th December 2015 at 01:57. |
9th December 2015, 04:30 | #9 | Link |
47.952fps@71.928Hz
Join Date: Mar 2011
Posts: 940
|
I use this from taro_06:
http://tmod.nmm-hd.org/avs4x26x/ Code:
"avs4x26x.exe" --x26x-binary "x264_kMod\k8_64.exe" --demuxer raw --input-depth 16 --input-res 1920x1080 --othersettings -o "output.mkv" "script.avs"
__________________
Win10 (x64) build 19041 NVIDIA GeForce GTX 1060 3GB (GP106) 3071MB/GDDR5 | (r435_95-4) NTSC | DVD: R1 | BD: A AMD Ryzen 5 2600 @3.4GHz (6c/12th, I'm on AVX2 now!)
|
9th December 2015, 05:46 | #10 | Link |
Soul Architect
Join Date: Apr 2014
Posts: 2,559
|
And his build doesn't require the use of command pipe.
By the way, I encoded this video with a 10-bit encoding chain 10-bit encoding (90.9 MB) 8-bit encoding (92.2 MB) I ended my script like this to provide 10-bit output Code:
Double="""edi_rpow2(2, nns=4, cshift="BicubicResize", a1=-.6, a2=0, lsb=true, fwidth=960, fheight=720, Threads=2)""" SuperRes(2, 0.43, 0, Double, lsb_upscale=true, lsb_out=true) Dither_out() |
9th December 2015, 06:34 | #11 | Link |
47.952fps@71.928Hz
Join Date: Mar 2011
Posts: 940
|
Are all of what you're using updated?
Don't know what your command looks like piping to what.
__________________
Win10 (x64) build 19041 NVIDIA GeForce GTX 1060 3GB (GP106) 3071MB/GDDR5 | (r435_95-4) NTSC | DVD: R1 | BD: A AMD Ryzen 5 2600 @3.4GHz (6c/12th, I'm on AVX2 now!)
|
9th December 2015, 17:00 | #13 | Link | |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
Quote:
Maybe I'm missing something here? Last edited by Groucho2004; 9th December 2015 at 17:12. |
|
10th December 2015, 03:47 | #14 | Link | |
Soul Architect
Join Date: Apr 2014
Posts: 2,559
|
Quote:
With that being said... does avs4x26x support FFMPEG? And I was also using avs2yuv to execute scripts that write values into a text file; can I use avs4x26x for that? |
|
10th December 2015, 03:54 | #16 | Link |
Soul Architect
Join Date: Apr 2014
Posts: 2,559
|
Yeah... I'll have to stick to avs2yuv then. I use ffmpeg for 8-bit encoding and a separate x264.exe for 10-bit encoding. Plus I use it to run quick scripts.
Any idea why the latest version of avs2yuv is freezing? Or I'll stick to 'raw' mode; that works. |
10th December 2015, 06:56 | #17 | Link |
Registered User
Join Date: Jul 2007
Posts: 552
|
I would guess your freezing problem is due your AviSynth version and not due avs2yuv itself. What AviSynth version do you use? Probably some of the non-official versions with MT support that is cause of the most problems a specially when using with plugins developed without thread safety in mind (which is ok for ST official builds but not for MT builds). Try one of official builds to check if it freeze also. Also you can try to set add SetMTMode(0,0) at start of the script to disable multithreading in MT-build. As for why your avs2yuv do not freeze is probably because it is so old that it doesn't add Distributor() for MT automatically and so you still use it as single-threaded.
Last edited by MasterNobody; 10th December 2015 at 07:06. |
10th December 2015, 18:33 | #20 | Link | |
Soul Architect
Join Date: Apr 2014
Posts: 2,559
|
Quote:
In any case, the old version of avs2yuv works with AviSynth 2.6 MT and it is multi-threaded otherwise performance would be much lower on my 8-core system. |
|
|
|