Log in

View Full Version : AVS2YUV to x264


MysteryX
28th August 2017, 07:00
I'm trying to pass AVS2YUV to x264 instead of ffmpeg for 10-bit encoding. I had this working before, but somehow it's not cooperating this time.


"cmd" /c " "avs2yuv.exe" "Input.avs" -o - | "x264-10bit.exe" --psy-rd 1:0.05 --preset veryslow --crf 23 -o "Output.mkv" - "

raw [error]: raw input requires a resolution.
x264 [error]: could not open input file `-'
Input.avs: 1920x1080, 60 fps, 13774 frames
error: wrote only 3085668 of 3110400 bytes


What am I doing wrong?

Also, it was suggested that "psy-rd 1:0.05" generally gave better results with x264. Does the 10-bit version of x264 also benefit from this option?

DJATOM
28th August 2017, 10:41
Add --demuxer "y4m" to x264 params and it should work.

MysteryX
28th August 2017, 16:10
Thanks that works :)

If anyone knows about the psy-rd detail, I'd love to hear: keep or discard that option?

sneaker_ger
28th August 2017, 16:15
it was suggested that "psy-rd 1:0.05" generally gave better results with x264
Who suggested that? Values in the tunings are higher so the developers seem to think it's useful in most cases. And even higher.
Maybe just use the tunings?