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. ------ Klykov Nickolay
_______________________________________________ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user