Ken wrote:
Herv? wrote:
I didn't write it in the previous mail but vsync must be before input ;-) just a notice: you deinterlace (remove one of the 2 fields), but double the output framerate (=duplication), why?!? command line:
ffmpeg -vsync 2 -deinterlace -i sample.m2ts -r 30000:1001 -s 480x272 - vcodec libx264 -y sample.mp4
Herv?, using this command I get the same result... no change. In fact the video frame rate is reported as 15fps. Did you try this on the source http://www.onnet.cc/sample.m2ts and it worked? I'm using a ffmpeg-checkout-2008-02-29 build, by the way..
I believe vsync serves to synchronize to the video as a timebase/reference... but the problem with AVCHD (or H264 +interlace in general) is that the h264 decoder is reporting the wrong frame rate, probably related to the interface timebase (needing support for mixed progressive& interlace modes, PAFF MBAFF etc). So vsync cannot correct for that, inherently.