gmarco <[email protected]> added the comment:
attached a path to solve this problem
________________________________________________
FFmpeg issue tracker <[email protected]>
<https://roundup.ffmpeg.org/issue2012>
________________________________________________
--- ffmpeg-0.6/libavcodec/libx264.c 2010-04-19 23:20:20.000000000 +0200
+++ ffmpeg-0.6-new/libavcodec/libx264.c 2010-09-05 11:31:28.000000000 +0200
@@ -100,6 +100,7 @@
x4->pic.i_pts = frame->pts;
x4->pic.i_type = X264_TYPE_AUTO;
+ x4->params.b_tff = !frame->top_field_first;
}
if (x264_encoder_encode(x4->enc, &nal, &nnal, frame? &x4->pic: NULL, &pic_out) < 0)