Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 AVC / H.264

Reply
 
Thread Tools Search this Thread Display Modes
Old 13th August 2010, 20:32   #1  |  Link
sabeelmk
Video DSP
 
Join Date: Jan 2008
Location: India
Posts: 34
Encoding '12bit - 4:4:4' YUV in MBAFF

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

Last edited by sabeelmk; 13th August 2010 at 20:35.
sabeelmk is offline   Reply With Quote
Old 13th August 2010, 20:46   #2  |  Link
mp3dom
Registered User
 
Join Date: Jul 2003
Location: Italy
Posts: 1,135
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 is offline   Reply With Quote
Old 13th August 2010, 20:51   #3  |  Link
sabeelmk
Video DSP
 
Join Date: Jan 2008
Location: India
Posts: 34
Quote:
Originally Posted by mp3dom View Post
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
sabeelmk is offline   Reply With Quote
Old 13th August 2010, 20:58   #4  |  Link
Sharktooth
Mr. Sandman
 
Sharktooth's Avatar
 
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
x264 supports only 4:2:0 colorspace (YV12).
Sharktooth is offline   Reply With Quote
Old 13th August 2010, 21:12   #5  |  Link
mp3dom
Registered User
 
Join Date: Jul 2003
Location: Italy
Posts: 1,135
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?).
mp3dom is offline   Reply With Quote
Old 14th August 2010, 00:17   #6  |  Link
simonhorlick
Registered User
 
Join Date: Aug 2010
Location: UK
Posts: 9
Quote:
Originally Posted by sabeelmk View Post
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.
simonhorlick is offline   Reply With Quote
Old 14th August 2010, 00:23   #7  |  Link
Dark Shikari
x264 developer
 
Dark Shikari's Avatar
 
Join Date: Sep 2005
Posts: 8,666
Quote:
Originally Posted by simonhorlick View Post
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.
Dark Shikari is offline   Reply With Quote
Old 14th August 2010, 09:38   #8  |  Link
sabeelmk
Video DSP
 
Join Date: Jan 2008
Location: India
Posts: 34
Quote:
Originally Posted by simonhorlick View Post
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
sabeelmk is offline   Reply With Quote
Old 14th August 2010, 11:03   #9  |  Link
J_Darnley
Registered User
 
J_Darnley's Avatar
 
Join Date: May 2006
Posts: 957
Internet Relay Chat - http://en.wikipedia.org/wiki/IRC
__________________
x264 log explained || x264 deblocking how-to
preset -> tune -> user set options -> fast first pass -> profile -> level
Doom10 - Of course it's better, it's one more.
J_Darnley is offline   Reply With Quote
Old 14th August 2010, 12:18   #10  |  Link
mp3dom
Registered User
 
Join Date: Jul 2003
Location: Italy
Posts: 1,135
Quote:
Originally Posted by sabeelmk View Post
Hi
information of any other encoder that can do what the thread is about,is welcome
sabeel
You can put a look at Cineform.
mp3dom is offline   Reply With Quote
Old 14th August 2010, 14:04   #11  |  Link
shon3i
BluRay Maniac
 
shon3i's Avatar
 
Join Date: Dec 2005
Posts: 2,419
Quote:
Originally Posted by mp3dom
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
shon3i is offline   Reply With Quote
Old 14th August 2010, 15:17   #12  |  Link
mp3dom
Registered User
 
Join Date: Jul 2003
Location: Italy
Posts: 1,135
Really? Are you referring to 'Reference' or SDK?
mp3dom is offline   Reply With Quote
Old 14th August 2010, 15:21   #13  |  Link
shon3i
BluRay Maniac
 
shon3i's Avatar
 
Join Date: Dec 2005
Posts: 2,419
Quote:
Originally Posted by mp3dom View Post
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
shon3i is offline   Reply With Quote
Old 14th August 2010, 19:44   #14  |  Link
sabeelmk
Video DSP
 
Join Date: Jan 2008
Location: India
Posts: 34
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...
sabeelmk is offline   Reply With Quote
Old 14th August 2010, 19:47   #15  |  Link
shon3i
BluRay Maniac
 
shon3i's Avatar
 
Join Date: Dec 2005
Posts: 2,419
Quote:
Originally Posted by sabeelmk
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.
shon3i is offline   Reply With Quote
Old 14th August 2010, 19:49   #16  |  Link
sabeelmk
Video DSP
 
Join Date: Jan 2008
Location: India
Posts: 34
Quote:
Originally Posted by shon3i View Post
If not, you can use DirectShow Filter instead.
shon3i,u mean using something like a graphedit to do that?
sabeelmk is offline   Reply With Quote
Old 14th August 2010, 19:55   #17  |  Link
shon3i
BluRay Maniac
 
shon3i's Avatar
 
Join Date: Dec 2005
Posts: 2,419
Quote:
Originally Posted by sabeelmk View Post
shon3i,u mean using something like a graphedit to do that?
yep, or graphstudio.
shon3i is offline   Reply With Quote
Old 14th August 2010, 19:59   #18  |  Link
sabeelmk
Video DSP
 
Join Date: Jan 2008
Location: India
Posts: 34
Quote:
Originally Posted by shon3i View Post
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)
sabeelmk is offline   Reply With Quote
Old 14th August 2010, 20:26   #19  |  Link
shon3i
BluRay Maniac
 
shon3i's Avatar
 
Join Date: Dec 2005
Posts: 2,419
no you can't use executable only direct show filter through graphedit/studio.SDK usualy came as directshow filter, but executable is also available
shon3i is offline   Reply With Quote
Old 15th August 2010, 15:17   #20  |  Link
sabeelmk
Video DSP
 
Join Date: Jan 2008
Location: India
Posts: 34
@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/...o/h264avc.html

looks like only JM 17 encoder does MBAFF encoding of 12bit,444 yuvs,but with bugs :-) ..

Last edited by sabeelmk; 15th August 2010 at 15:20.
sabeelmk is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:14.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.