On Thu, Sep 8, 2016 at 11:50 PM, HaiJiao Qiao 乔海娇 <[email protected] > wrote:
> Dear all, > > I’m trying reencode a H264 stream to MPEG2. The H264 is interlaced, top > field first stream. > For the output MPEG2 stream, I also want a interlaced, TFF stream. > > FFMPEG command: > “ffmpeg.exe -i f:\BUGS\YingHai_ENCODER\ORIGINAL\out.h264 -vf > yadif=0:tff,scale=720:576,colormatrix=bt709:bt601,interlace -pix_fmt > yuv420p -vcodecmpeg2video -flags +ildct+ilme -alternate_scan 1 -trellis 2 > -tff -dc 10 -g 12 –bf 2 -qmin 1 -qmax 31 -b:v 6000k -minrate 1000000 > -maxrate 9000000 -bufsize 1835008 -packetsize 2048 -muxrate 10080000 > output_0.ts” > > But output_0.ts seemed like frame coding, it’s terrible on Motion Scene. > > So can anyone whether my command is correct? How to indicate field coding? > > I’m looking forward your reply. > > Best regards, > > Qiao > > This may be too simplistic an answer, but you should try "-top 1" after " +ildct+ilme" -top 1 sets output to top field first -top 0 sets to bottom field first -top -1 senses what the input is and adjusts for it -- [image: Inline image 1] *William Caulfield *| *ContentBridge Systems* Product and Encoding Manager | www.contentbridge.tv
_______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
