View Full Version : Encoding '12bit - 4:4:4' YUV in MBAFF
sabeelmk
13th August 2010, 20:32
Hi
My question is related specifically with encoding a YUV in MBAFF.
I would like to know if "x264" encoder do the following
1. Can 'x264' Encode '12 Bit YUV,with 4:4:4 chromaformat' in MBAFF ?
2. Can 'x264' take raw YUV file directly as input,for encoding ?
I have tried JM17 encoder for the above requirement,and JM17 encoder has a bug in encoding in 12bit Yuv,with 4:4:4 chroma format in MBAFF mode (with Separate colour plane = 0 and 1 )
Is there any other encoder that do the above?
Thanks
sabeel
mp3dom
13th August 2010, 20:46
1. I don't think so. If you need to encode it to bluray or 8bit 4:2:0, it's better to dither down your source (a step that you need anyway to do)
2. Yes, in YUV4MPEG (Y4M) file format.
sabeelmk
13th August 2010, 20:51
1. I don't think so. If you need to encode it to bluray or 8bit 4:2:0, it's better to dither down your source (a step that you need anyway to do)
2. Yes, in YUV4MPEG (Y4M) file format.
mp3dom
appreciate ur response
But my requirement is strictly encoding the following
1. 12 Bit Yuv,of 4:4:4 chroma Format In MBAFF
additionally,The purpose of such a stream is for next generation products.
thanks
Sharktooth
13th August 2010, 20:58
x264 supports only 4:2:0 colorspace (YV12).
mp3dom
13th August 2010, 21:12
To encode in such specs, you need an Hi444PP profile encoder. I don't know actually any encoder capable of this (maybe some hardware-based encoder?).
simonhorlick
14th August 2010, 00:17
Hi
My question is related specifically with encoding a YUV in MBAFF.
I would like to know if "x264" encoder do the following
1. Can 'x264' Encode '12 Bit YUV,with 4:4:4 chromaformat' in MBAFF ?
High bit depth support is a summer of code project, so you can probably expect to see it very soon. As for 4:4:4 I don't believe x264 currently supports it. You could, of course ask on IRC and see if anyone is willing to write this.
Dark Shikari
14th August 2010, 00:23
High bit depth support is a summer of code project, so you can probably expect to see it very soon.It's been in for weeks, actually.
sabeelmk
14th August 2010, 09:38
You could, of course ask on IRC and see if anyone is willing to write this.
Hi
Can u please elaborate what is "IRC" , where can i find it...
information of any other encoder that can do what the thread is about,is welcome
sabeel
J_Darnley
14th August 2010, 11:03
Internet Relay Chat - http://en.wikipedia.org/wiki/IRC
mp3dom
14th August 2010, 12:18
Hi
information of any other encoder that can do what the thread is about,is welcome
sabeel
You can put a look at Cineform.
shon3i
14th August 2010, 14:04
I don't know actually any encoder capable of this (maybe some hardware-based encoder?).Mainconcept support 4:4:4 up to 14bits and MBAFF
mp3dom
14th August 2010, 15:17
Really? Are you referring to 'Reference' or SDK?
shon3i
14th August 2010, 15:21
Really? Are you referring to 'Reference' or SDK?
reference can only do a 10bit, sdk can go to 14bit, both can use 4:4:4
sabeelmk
14th August 2010, 19:44
Hmm
Interesting
Shon3i,i think i have to check out the SDK of Mainconcept,and see wether the code does 12bit 4:4:4 encoding,only issue is i hope,the executable from the mainconcept sdk can take YUV input for encoding...
shon3i
14th August 2010, 19:47
only issue is i hope,the executable from the mainconcept sdk can take YUV input for encoding... If not, you can use DirectShow Filter instead.
sabeelmk
14th August 2010, 19:49
If not, you can use DirectShow Filter instead.
shon3i,u mean using something like a graphedit to do that?
shon3i
14th August 2010, 19:55
shon3i,u mean using something like a graphedit to do that?
yep, or graphstudio.
sabeelmk
14th August 2010, 19:59
yep, or graphstudio.
Cool..but i am not sure we can plugin a Mainconcept SDK executable in graphedit..i am assuming that the sdk output would be just a normal executable(.exe)
shon3i
14th August 2010, 20:26
no you can't use executable only direct show filter through graphedit/studio.SDK usualy came as directshow filter, but executable is also available
sabeelmk
15th August 2010, 15:17
@shon3i and All
Guys
i checked the mainconcept sdk site,i found out that mainconcept sdk doesnt support 12bit, i dont think i found anywhere on that site that mainconcept sdk has support for 444 and 12 bit
i dont know if it is right to post links,but for reference here is the link giving description of mainconcept sdk
http://www.mainconcept.com/products/sdks/video/h264avc.html
looks like only JM 17 encoder does MBAFF encoding of 12bit,444 yuvs,but with bugs :-) ..
shon3i
15th August 2010, 16:34
i dont think i found anywhere on that site that mainconcept sdk has support for 444 and 12 bitTrue, but one thing is for sure 444 is supported. You can download their Reference 2 software and you will see High 444 profile, but only up to 10bit. Anyway their SDK can go up to 14-bits, at least version i get.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.