Log in

View Full Version : ConvertBits(10)?


Forteen88
12th July 2018, 12:15
I used this script,
LoadPlugin("C:\Program Files (x86)\AviSynth+\plugins64+\ffms2.dll")
FFVideoSource("C:\temp\x265-testencode\LibrarySweetgirl.mp4", colorspace = "YV12", cachefile = "C:\temp\x265-testencode\LibrarySweetgirl.mp4.ffindex")
ConvertBits(10)But then AviSynth+ writes: "Error trying to display the clip".
When I remove ConvertBits(10), AviSynth+ displays the image well.

Does this mean that I need hardware that can display 10 bit images? I got a ~3 years old laptop.

Thanks,
/Newbie :)

sneaker_ger
12th July 2018, 12:34
"Error trying to display the clip" isn't an AviSynth+ error at all. It's an error message of the software you are using to open the AviSynth script. Seems like it cannot handle the 10 bit format. You don't need 10 bit display hardware.

What is it you are trying to do?

Forteen88
12th July 2018, 13:04
@sneaker_ger. Thanks. I'm trying to make a x265 10-bit reencode of a h264-8-bit video clip. I don't know if it's necessary to have the "ConvertBits(10)" in my script, is it?
Or can I just have this script for x265 to make a x265 10-bit encode?
LoadPlugin("C:\Program Files (x86)\AviSynth+\plugins64+\ffms2.dll")
FFVideoSource("C:\temp\x265-testencode\LibrarySweetgirl.mp4", colorspace = "YV12", cachefile = "C:\temp\x265-testencode\LibrarySweetgirl.mp4.ffindex")

I set x265 to --crf 18 --preset slower --profile main10 --output-depth 10

lansing
12th July 2018, 15:35
This is the same question (https://forum.doom9.org/showthread.php?p=1845621#post1845621) I asked a couple of weeks ago.

Long story short, you don't need to convert bitdepth.

Forteen88
19th July 2018, 13:56
This is the same question (https://forum.doom9.org/showthread.php?p=1845621#post1845621) I asked a couple of weeks ago.
Long story short, you don't need to convert bitdepth.Thanks! I suspected that, because I tried feeding x265 an AVS-script with ConvertBits(10), and it resulted in x265-error.