[MEncoder-users] h.264 stream read with too high frame rate?

belcampo belcampo at zonnet.nl
Mon Oct 5 19:06:13 CEST 2009


Mikhail Ramendik wrote:
> Hello,
> 
> I am trying to play or reencode an h/264 stream sample, saved straight
> from DVB (BBC HD). It has PAFF (an earlier mplayer reported "PAFF not
> supported").
AFAIK current BBC HD isn't PAFF.
I succesfully encode these streams with ffmpeg SVN-r17923, current 
versions suck.
I cut and demux first with tsMuxerGUI, to an h264 and ac3 stream, which 
I then remux to cutted.ts where sync of video and audio is OK.
ffmpeg -i cutted.ts -an -vcodec libx264  ..... cutted-encoded.h264
ffmpeg -i cutted.ts -vn -acodec libfaac ...... cutted-encoded.aac

mmg cutted-encoded.h264 cutted-encoded.aac
to an perfectly synced allencoded.mkv

or

tsMuerGUI cutted-encoded.h264 cutted-encoded.aac
to an perfectly synced allencoded.ts
> 
> The video is about two times slower than the sound.  In mplayer I
> attributed this to not enough CPU power. However, the same happens in
> the resulting file after a non-realtime encoding with mencoder.
> 
> After reading up on PPAF, I suspect mplayer/mencoder is reading fields
> as frames.
> 
> Is there a way to fix this? Ideally, just drop one of the fields when
> they are encoded separately, as I am scaling down to a lower size
> anyway.
> 



More information about the MEncoder-users mailing list