Hi,

I'm writing a small application that receive RTP packets containing
video and write everything in a mp4 file. I'm using
av_write_header, av_write_trailer, and av_write_frame.

Everything works fine except the speed of the movie when I play it with
mplayer for example.

Frame rate is not constant, and I've got a 90000 parameter for the video.

How to convert the timestamp received in RTP packets into a timestamp to
 fill in the struct AVPacket ?

I guess I have to use av_rescale, but with which parameters ?

Regards

Stephane
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to