Page 1 of 1

encoding in yuv422

Posted: Mon Jan 13, 2020 1:36 am
by Bryman
I want to encode in yuv422p with VP9 and can't figure out how with Handbrake.. I tried pix_fmt yuv422p and that didn't work
I probably missed it in the docs.. I read something about changing the color space but not about chroma subsampling
By default it does yuv420p and that blurs part of the video pretty significantly (I could export higher resolution to counteract this but it's already 3840 x 2160 and I don't want/need to go higher)
Thanks

Re: encoding in yuv422

Posted: Mon Jan 13, 2020 1:52 am
by Bryman
I'd also like to know how to encode in full range because it also seems to default to limited

Re: encoding in yuv422

Posted: Mon Jan 13, 2020 5:52 am
by Bryman
So I figured out how to encode it using ffmpeg but it'd still be nice to be able to do it with Handbrake.. I just don't like the black spots between some of the color changes/blurriness yuv420 is causing
full range versus limited isn't as important

Re: encoding in yuv422

Posted: Mon Jan 13, 2020 8:37 am
by Deleted User 11865
Nope, HandBrake is currently 4:2:0 only.

Re: encoding in yuv422

Posted: Mon Jan 13, 2020 9:16 am
by Deleted User 13735
I want to encode in yuv422p with VP9
What is your source? I'm sure you know you can't change 420 source to 422 by encoding.

Re: encoding in yuv422

Posted: Tue Jan 14, 2020 2:12 am
by Bryman
source are exported swf files so they export in RGB and then I reencode with apple prores (which brings it down to 4:2:2) to properly convert RGB>YUV (I know you can do zscale with x264 but this works)
I should test zscale sometime with converting RGB to YUV just to see how it compares

Re: encoding in yuv422

Posted: Tue Jan 14, 2020 2:22 am
by Bryman
I probably should have given more info to begin with.. I'm exporting swf files with adobe animate and then reencoding with VP9
I'm actually not sure VP9 has zscale or is that an x264 thing... hmm.. and I tried lagarith but even though it's lossless it caused slightly more banding so I just use apple prores
But what I'm wondering is if it's possible to encode in yuv422 with Handbrake.. I know it's not the ffmpeg command if it is possible
I could just encode in 6 or 8k res to counteract the lower chroma resolution but that causes it not to play on a lot of mobile devices...

Re: encoding in yuv422

Posted: Tue Jan 14, 2020 2:31 am
by Deleted User 11865
Bryman wrote: Tue Jan 14, 2020 2:22 amBut what I'm wondering is if it's possible to encode in yuv422 with Handbrake…
Rodeo wrote: Mon Jan 13, 2020 8:37 amNope, HandBrake is currently 4:2:0 only.

Re: encoding in yuv422

Posted: Tue Jan 14, 2020 2:50 am
by Bryman
oh, okay, thanks
Not all videos benefit from yuv422 but some do and for those I'll just use ffmpeg.. I just like GUIs better

Re: encoding in yuv422

Posted: Tue Jan 14, 2020 3:05 am
by Bryman
Oh, I'm sorry... I totally missed you saying it's 4:2:0 only earlier

Re: encoding in yuv422

Posted: Tue Jan 14, 2020 3:06 am
by Deleted User 11865
Under macOS there's always ffWorks: https://www.ffworks.net

Never used it myself, but it does have a GUI :)

Re: encoding in yuv422

Posted: Wed Jan 15, 2020 6:26 am
by Deleted User 13735
Rodeo wrote: Mon Jan 13, 2020 8:37 am Nope, HandBrake is currently 4:2:0 only.
As is h264, for any practical application. Hi422p and Hi444p were DOA.