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 > Video Encoding > High Efficiency Video Coding (HEVC)

Thread Tools Search this Thread Display Modes
Old 18th October 2017, 22:45   #21  |  Link
Registered User
Join Date: Sep 2007
Posts: 3,551
RGB should be nowhere in the script, unless it's only used for preview purposes. You need to comment it out if encoding

But vdubfiltermod can be used to preview YUV420P10 directly now (or in vapoursynth, vapoursynth editor)

You need avisynth+ to use additional pixel formats
poisondeathray is offline   Reply With Quote
Old 18th October 2017, 23:56   #22  |  Link
Registered User
Join Date: Feb 2015
Posts: 301
Originally Posted by raffriff42 View Post
Try this.
ConvertToPlanarRGB(matrix="Rec709") ## etc
ConvertBits(8) # , dither=0) ## dither optional
Thanks! ConvertBits(8) works in MeGUI.

My test is:
take any short 8-bit video and encode lossless (x265) to 10-bit
take the encoded video and re-encode it lossless in MeGUI to 10-bit
compare 10-bit videos

If I use L-SMASH Works indexer in MeGUI, the re-encoded video differs from encoded.

If I use FFMSIndex -- it is the same.

My script for ffms2 indexer:
FFVideoSource("F:\speed\di\s10.mkv", fpsnum=60, fpsden=1, threads=1)
ConvertBits(8, dither=0)
So dithering in avisynth works OK (and it is optional), in L-SMASH Works works wrong and it is not optional.
Ma is offline   Reply With Quote
Old 19th October 2017, 09:01   #23  |  Link
Registered User
Join Date: Oct 2017
Posts: 25
Do you mind if you gentleman post some screenshot comparisons that the colours match between the source and encode? Also, I use MadVR and MPC as well, so why can I see the washed out colour?
KanarazuKatsu is offline   Reply With Quote
Old 25th October 2017, 21:25   #24  |  Link
Registered User
Join Date: Feb 2015
Posts: 301
Originally Posted by Motenai Yoda View Post
it apply dithering even using pix_fmt for input and output? even with -sws_dither none?
Thanks for this hint. It will be changed soon -- with option '-sws_dither none' there will be no dithering.
Ma is offline   Reply With Quote
Old 25th October 2017, 22:49   #25  |  Link
Retried Guesser
raffriff42's Avatar
Join Date: Jun 2012
Posts: 1,377
Not sure if everybody knows this, but in ConvertBits dither=0 means dithering is ON, and dither=-1 or omitted means dithering is OFF.
raffriff42 is offline   Reply With Quote
Old 14th November 2017, 18:48   #26  |  Link
Registered User
Join Date: May 2014
Posts: 124
Originally Posted by katzenjoghurt View Post
(Would be happy to provide a link to some image comparison site... but I didn't find one. Let me know if you know of one.)
Gravitator is offline   Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 00:20.

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