Can u plz tell me whether we can run the x264 developments lan open sourc code of H.264 will be compiled in visual C++ express editon.<br>Also let me know whether I can get the required bt sream output from this encoder code.?
<br><br>mahesh.<br><br><div><span class="gmail_quote">On 8/8/07, <b class="gmail_sendername">List, Peter</b> <<a href="mailto:Peter.List@t-systems.com">Peter.List@t-systems.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="blue" lang="DE">
<div>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">Dear Mahesh,</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">you should have read
paragraph 7.4.5 more precisely. It somewhere says:</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"> </span></font></p>
<p><i><font face="Times New Roman" size="3"><span style="font-size: 12pt; font-style: italic;" lang="EN-GB">The macroblock types for P and SP
slices are specified in </span></font></i><i><span style="font-style: italic;" lang="EN-GB">Table 7‑13</span></i><i><span style="font-style: italic;"> <b><span style="font-weight: bold;" lang="EN-GB">and </span></b></span>
</i><b><i><span style="font-weight: bold; font-style: italic;" lang="EN-GB">Table 7‑11</span></i></b><i><span style="font-style: italic;" lang="EN-GB">. mb_type values 0 to 4 are specified
in </span></i><i><span style="font-style: italic;" lang="EN-GB">Table 7‑13</span></i><i><span style="font-style: italic;" lang="EN-GB"> and <b><span style="font-weight: bold;">mb_type
values 5 to 30</span></b> are specified in </span></i><i><span style="font-style: italic;" lang="EN-GB">Table 7‑11</span></i><i><span style="font-style: italic;" lang="EN-GB">, indexed by subtracting 5 from the value
of mb_type.</span></i></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"> </span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">This should answer: </span></font></p><span class="q">
<p><font color="#3333ff" face="Times New Roman" size="3"><span style="font-size: 12pt; color: rgb(51, 51, 255);" lang="EN-GB">mb_type should be 0 to 4 as
in the <b><span style="font-weight: bold;">table 7.13 Macroblock type values o to
4 for P and SP slices . </span></b>So how can i check for mb_type 5.</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"> </span></font></p></span>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">---------------------</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"> </span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">It seems you only have
implemented a very rudimental version of H.264 yet. Don't expect any encoder to
obey these constraints. You will have to modify the JM-encoder code in a way
that the Intra predictor function always returns a very high value so that it
will never be choosen. </span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"> </span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">This reflector is not the
right place to discuss this though, since as far as I know, we are NOT talking
about the JM here</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">Regards</span></font></p><span class="sg">
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">Peter</span></font></p></span><div><span class="e" id="q_11444820ade6e1df_4">
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"> </span></font></p>
<div>
<p><font color="green" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: green;" lang="EN-GB"> </span></font></p>
</div>
<div style="border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color blue; border-width: medium medium medium 1.5pt; padding: 0cm 0cm 0cm 4pt;">
<div>
<p><span><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-GB">On 8/7/07, <b><span style="font-weight: bold;">List, Peter</span></b> <</span><a href="mailto:Peter.List@t-systems.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
<span lang="EN-GB">Peter.List@t-systems.com</span></a></font></span><span><span lang="EN-GB">> wrote:</span></span></p>
<div link="blue" vlink="blue">
<div>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"> </span></font></p>
<div style="border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color blue; border-width: medium medium medium 1.5pt; padding: 0cm 0cm 0cm 4pt;">
<div>
<div style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">
<hr align="center" size="2" width="100%">
</span></font></div>
<p><b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;">Von:</span></font></b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;"> mahesh k [mailto:
<a href="mailto:maheswarreddy.k@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">maheswarreddy.k@gmail.com</a>]
<br>
<b><span style="font-weight: bold;">Gesendet:</span></b> Dienstag, 7. August 2007
14:24<br>
<span><b><span style="font-weight: bold;">An:</span></b> Mailing list for x264 developers</span><br>
<span><b><span style="font-weight: bold;">Betreff:</span></b> Re:
[x264-devel] Regarding disabling 4x4 in JM code</span></span></font></p>
</div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>
<p style="margin-bottom: 12pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">Dear peter,<br>
I am talking about decoder only. I will explain u my problem more clearly.<br>
<br>
Right now our decoder works properly with our encoder. Now we need to make this
decoder standardised in the sense that it should accept any other bitstream(for
example i want to decode JM encoders output with my decoder). <br>
<br>
</span></font><span lang="EN-GB">After reading the syntax elements as per
baseline standard I need to check whether this is implemented or not in my
decoder and return the error still needs to be implemented. the intent was that
the code shouldnot crash in such situations instead return proper error code. </span></p>
<p style="margin-bottom: 12pt;"><font color="red" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: red;" lang="EN-GB">Obviously you
will need to decode the COMPLETE mb_type than. For values of '0' in
Intra-frames and values of '5' in P-Frames and '23' in B-Frames you produce
your error message. </span></font></p>
<p style="margin-bottom: 12pt;"><font color="#3333ff" face="Times New Roman" size="3"><span style="font-size: 12pt; color: rgb(51, 51, 255);" lang="EN-GB">For
I frames if it is o then I will display error but for P frames (slices)
thee mb_type should be 0 to 4 as in the <b><span style="font-weight: bold;">table
7.13 Macroblock type values o to 4 for P and SP slices . </span></b>So how can
i check for mb_type 5. This is as per my knowledge IF i am wrong plz tell me. </span></font></p>
</div>
</div>
</div>
<div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"><br>
<font color="#3333ff"><span style="color: rgb(51, 51, 255);">Also we didnot
implement macroblock partitions plz tell me how to handle this
situation in case of P frames.</span></font> </span></font></p>
</div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"><br>
<font color="#3333ff"><span style="color: rgb(51, 51, 255);">Also plz tell ma how I can
generate the encoded bitstream through JM encoder code. So that I can test my
decoder with this bitstream. I disabled 4x4 but then also its encoding
intra4x4_prediction mode.</span></font><br>
<font color="#3333ff"><span style="color: rgb(51, 51, 255);">I understtod ur remaining
answers clearly and I thank for that.</span></font></span></font></p>
<div link="blue" vlink="blue">
<div>
<div style="border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color blue; border-width: medium medium medium 1.5pt; padding: 0cm 0cm 0cm 4pt;">
<p style="margin-bottom: 12pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-GB">I went through the section that u told me. </span>But
my doubts were,<br>
i dont understand what 0_0_0 signify in name of MB type. </font></p>
<p style="margin-bottom: 12pt;"><font color="red" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: red;" lang="EN-GB">The 1. number
in x_x_x corresponds to column 5 of table 7-11</span></font><span lang="EN-GB"> </span></p>
<p style="margin-bottom: 12pt;"><font color="red" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: red;" lang="EN-GB">The 2.
number….
column 6</span></font></p>
<p style="margin-bottom: 12pt;"><font color="red" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: red;" lang="EN-GB">The 3.
number
column 7</span></font></p>
<p style="margin-bottom: 12pt;"><font color="red" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: red;" lang="EN-GB">Search for the
label-text of these table-columns to get their exact meaning </span></font></p>
<p style="margin-bottom: 12pt;"><font color="red" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: red;" lang="EN-GB"> </span></font></p>
<p style="margin-bottom: 12pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-GB">Also in table 7.13 mb_types for P slices,
what do we mean by inferred type.</span></font></p>
<p style="margin-bottom: 12pt;"><i><font color="red" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: red; font-style: italic;" lang="EN-GB">Inferred</span></font></i><font color="red" face="Arial" size="2">
<span style="font-size: 10pt; font-family: Arial; color: red;" lang="EN-GB"> </span></font><font color="red" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: red;" lang="EN-GB">means <i><span style="font-style: italic;">
deduced</span></i>. I simply says: if a macroblock
does not appeare in the bitstream (because it is skipped due to 'mb_skip_run'
it automatically has the type P_Skip and is 16x16 ….</span></font></p>
<p style="margin-bottom: 12pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-GB"><br>
<span>Also tell me can we idetify the prediction mode from mb_type
itself? </span><br>
</span></font><font color="red" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: red;" lang="EN-GB">Yes, every possible mode is
part of the tables! Somewere in 7.4.5 you find the note that you have to add
the I-Table at the bottom of the P and B tables, to signal Intra MB's in P and
B-frames. </span></font></p>
<div><span>
<p style="margin-bottom: 12pt;"><font color="red" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: red;" lang="EN-GB"> </span></font></p>
<p style="margin-bottom: 12pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-GB"><br>
</span>thanks in advance,<br>
mahesh.</font></p>
<div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">On
8/7/07, <b><span style="font-weight: bold;">List, Peter</span></b> <<a href="mailto:Peter.List@t-systems.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Peter.List@t-systems.com</a>>
wrote: </span></font></p>
<div link="blue" vlink="blue">
<div>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">Dear Mahesh,</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">if you are talking about a DECODER intra 4x4 is a
must, if you want to be standard conform in all cases (for any profile). </span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">If you are talking about ENCODERS you don't
need to implement intra-4x4 but only use intra-16x16 (resulting in very poor
intra performance).</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"> </span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">I don't understand what you mean with:</span></font></p>
<p style="margin-bottom: 12pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-GB">But we want to decode any standard
bitstream that is as per standard but return the error code accordingly . </span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">About mb_type read in "Recommendation
H.264" (ISO/IEC 14496-10) paragraph 7.4.5</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"> </span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">Peter</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"> </span></font></p>
<div style="border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color blue; border-width: medium medium medium 1.5pt; padding: 0cm 0cm 0cm 4pt;">
<div>
<div style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">
<hr align="center" size="2" width="100%">
</span></font></div>
<p><b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;">Von:</span></font></b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;"> mahesh k [mailto:
<a href="mailto:maheswarreddy.k@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">maheswarreddy.k@gmail.com</a>]
<br>
<b><span style="font-weight: bold;">Gesendet:</span></b> Dienstag, 7. August 2007
11:22<br>
<b><span style="font-weight: bold;">An:</span></b> Mailing list for x264
developers<br>
<b><span style="font-weight: bold;">Betreff:</span></b> Re: [x264-devel]
Regarding disabling 4x4 in JM code</span></font></p>
</div>
<div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>
<p style="margin-bottom: 12pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">thanks for ur reply. Plz tell me whether intra 4x4 is
must in base line profile or it is an optional.<br>
Can't we run the baseline profile decoder without 4x4 as per standard?<br>
I need this because at present we have not implemented this 4x4 mode But we
want to decode any standard bitstream that is as per standard but return the
error code accordingly . <br>
Also I am confused with the syntax element mb_type. <br>
What values does mb_type should have if i need to check whether this is an 4x4
or 16x16.<br>
Also plz tell me in clear about this mb_type and ma_mde.<br>
If possible refer some good document on this. <br>
<br>
Thanks in advance.</span></font></p>
<div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">On
8/7/07, <b><span style="font-weight: bold;">List, Peter</span></b> <<a href="mailto:Peter.List@t-systems.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Peter.List@t-systems.com</a>>
wrote:</span></font></p>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"><br>
> mahesh k wrote:<br>
> > I want a baseline ecoded bit stream in which intra4x4 predition mode<br>
> > should not be present.<br>
><br>
> Note (but you probably already know it): of course intra4x4 is part of <br>
> baseline.<br>
<br>
Also note that intra4x4 is NOT some fancy add on for intra-coding like<br>
some people think 4x4 motion estimation is.<br>
Intra4x4 is the basic intra coding mode! It is usually used for the<br>
majority of intra-macroblocks. Intra-16x16 is only used for very uniform <br>
macroblocks like blocks from a blue sky or something like that.<br>
Regards, Peter<br>
_______________________________________________<br>
x264-devel mailing list<br>
<a href="mailto:x264-devel@videolan.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">x264-devel@videolan.org
</a><br>
<a href="http://mailman.videolan.org/listinfo/x264-devel" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://mailman.videolan.org/listinfo/x264-devel</a></span></font></p>
</div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>
</div>
</div>
</div>
</div>
<p style="margin-bottom: 12pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"><br>
_______________________________________________<br>
x264-devel mailing list<br>
<a href="mailto:x264-devel@videolan.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">x264-devel@videolan.org</a><br>
<a href="http://mailman.videolan.org/listinfo/x264-devel" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://mailman.videolan.org/listinfo/x264-devel</a></span></font></p>
</div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>
</span></div>
</div>
</div>
</div>
<p style="margin-bottom: 12pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"><br>
_______________________________________________<br>
x264-devel mailing list<br>
<a href="mailto:x264-devel@videolan.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">x264-devel@videolan.org</a><br>
<a href="http://mailman.videolan.org/listinfo/x264-devel" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://mailman.videolan.org/listinfo/x264-devel</a></span></font></p>
</div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>
</div>
</span></div></div>
</div>
<br>_______________________________________________<br>x264-devel mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:x264-devel@videolan.org">x264-devel@videolan.org</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://mailman.videolan.org/listinfo/x264-devel" target="_blank">
http://mailman.videolan.org/listinfo/x264-devel</a><br><br></blockquote></div><br>