[FFmpeg-devel] writing h.264 raw frames to mp4
Reimar Döffinger
Reimar.Doeffinger at gmx.de
Wed Aug 7 22:18:24 CEST 2013
On 07.08.2013, at 20:35, Nisar Ahmed <nisar.med at gmail.com> wrote:
> Dear list,
Wrong list, try one of the -user ones.
> I am writing my first libav program and facing problem in muxing h.264 raw
> frames to mp4.
No idea what you mean by "raw" but probably it is not the right "raw" format for direct muxing into .mp4.
> pkt.pts = videoFrameNumber;
> pkt.dts = videoFrameNumber;
pts == dts is unlikely to be correct and will give files that play wrongly in all kinds of strange ways on different devices.
More information about the ffmpeg-devel
mailing list