kvazaar icon indicating copy to clipboard operation
kvazaar copied to clipboard

Request a 10-bit encoding guide.

Open st14you opened this issue 5 years ago • 3 comments

Hello, thank you for making a good program.

I try to encode 10 bit using FFMPEG with Kvazaar. Only error messages come out and the encoding is not working. Can you guide me?

ffmpeg.exe -y -i "input.mov" -pix_fmt yuv420p -s 3840x2160 -f rawvideo - | kvazaar.exe -i - --input-res=3840x2160 -o TEST_2160.hvc --bitrate 28000 --period 30 --input-fps 30

st14you avatar Aug 12 '19 18:08 st14you

Hi,

I set KVZ_BIT_DEPTH to 10 (found in kvazaar.h file), compiled Kvazaar, and copy pasted your options. Encoding seems to work properly. What is the error message?

PS. The bitrate is specified in bits per second. I believe you want to add 3 more zeroes to bitrate. Still, even that might not be enough for satisfying image quality with the default settings.

Arizer avatar Aug 13 '19 15:08 Arizer

Hi,

I set KVZ_BIT_DEPTH to 10 (found in kvazaar.h file), compiled Kvazaar, and copy pasted your options. Encoding seems to work properly. What is the error message?

PS. The bitrate is specified in bits per second. I believe you want to add 3 more zeroes to bitrate. Still, even that might not be enough for satisfying image quality with the default settings.

Thank you for your answer.

I was supposed to tell you, but the same error message is coming out. How do I output with the [email protected] profile?

Please help you~~~

ffmpeg.exe -y -i "input.mov" -pix_fmt yuv420p10le -s 3840x2160 -f rawvideo - | kvazaar.exe -i - --input-res=3840x2160 --input-depth 16 -o TEST_2160.hvc --bitrate 28000 --period 30 --input-fps 30

Error message : av_interleaved_write_frame(): Invalid argument Error writing trailer of pipe:: Invalid argument

st14you avatar Aug 16 '19 05:08 st14you

Hi,

Those errors seem to come from ffmpeg, you should include parameter -an for ffmpeg to disable audio, don't know if that's the only problem.. You should also change the --input-depth 16 to --input-bitdepth 10 and --bitrate 28000 to more like --bitrate 28000000 You can change to [email protected] with --level 5.1

fador avatar Aug 16 '19 05:08 fador