<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Malgun Gothic";
panose-1:2 11 5 3 2 0 0 2 0 4;}
@font-face
{font-family:"Malgun Gothic";
panose-1:2 11 5 3 2 0 0 2 0 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
text-align:justify;
text-justify:inter-ideograph;
text-autospace:none;
word-break:break-hangul;
font-size:10.0pt;
font-family:"Malgun Gothic";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Malgun Gothic";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Malgun Gothic";}
/* Page Definitions */
@page WordSection1
{size:612.0pt 792.0pt;
margin:3.0cm 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=KO link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-US>Dear all,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>I’d like to experiment for deinterlace of fielding encode with x264, but there are problems.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>My input raw image is an video capture card that outputs a stream YUYV 4:2:2 format, However I convert YUYV422 to YUV420. Then I encode with options as following and decoding applied with deinterlace:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>$ x264.exe --keyint 10 -b 0 -o field.264 --input-res 720x480 mYUV420.yuv<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>$ ffmpeg –I filed.264 –deinterlace deinterlace_field.yuv<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Decoded is completed without problems and deinterlace is very well.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>But the encoded bitstreams are displacements randomly.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>If GOP is 10 and b frame is 0 basically, stream’s results are SPS->PPS->SEI->I->P->P->P->P->P-> P-> P-> P-> P->SPS->PPS->I-> P->P->P->P->P-> P-> P-> P-> P…. <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>But our streams are SPS->PPS->SEI->I->P->P->P->SPS->PPS->I->P->SPS->PPS->I->P->p->P->P->SPS->PPS->I->P->P->P->…<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Why GOP’s number is incorrectly?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Could you explain the reason?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Thank in advances,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>nrson<o:p></o:p></span></p></div></body></html>