[Libav-user] Calculating DTS PTS H.264
klikovnick at mail.ru
Mon Sep 15 15:22:36 CEST 2014
Hello, i'm trying to get h.264 rtp stream and write it to mp4 container via live555+ffmpeg. I can get SPS+PPS params from stream and feed it to ffmpeg decoder, so decoding works fine. But i can't properly write nals to mp4 container. I think, i should detect first and last nals of frame, write them to avpacket and fill dts, pts and duration fields. Please, tell me how can i do that.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libav-user