[x264-devel] how do I resovles problem in x264 field coding?

SON NAM RYE nrson at win4net.com
Tue Oct 9 22:03:41 CEST 2012


Dear all,

 

I'd like to experiment for deinterlace of fielding encode with x264, but
there are problems.

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:

 

$ x264.exe --keyint 10 -b 0 -o field.264 --input-res 720x480 mYUV420.yuv

$ ffmpeg -I filed.264 -deinterlace deinterlace_field.yuv

 

Decoded is completed without problems and deinterlace is very well.

But the encoded bitstreams are displacements randomly.

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.. 

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->.

Why GOP's number is incorrectly?

Could you explain the reason?

 

Thank in advances,

nrson

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x264-devel/attachments/20121009/000aeaad/attachment.html>


More information about the x264-devel mailing list