Hello, In my project I write a video-stream to *.avi file (ASP MPEG-4), frame-by-frame, using av_write_frame(). Since every frame has a timestamp in milliseconds, I setup time_base as follows: time_base.den = 1000; time_base.num = 1;
Then I use frames' "normilized" time-stamps as their pts. The "normalization" merely shifts the timestamps from the interval [first..last] to [0..last-first]. The application runs under WinXP SP3. Now, when I check the AVI file properies, I see "framerate: 1000", while the actual framerate is 10 fps, and I guess this's because of the incorrect time_base settings. So what would be the correct time_base and pts calculations? Thanks. _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
