I am trying to encode a video and audio file with a fps of 29.97 in the muxing example. If I set .num = 1, .den = fps the video and audio get saved properly, but with the wrong fps.

If I set .num = 1000, .den = 1000 * fps, the video and audio do not get saved properly only saving 4 frames or so.

In both cases I am using:
picture->pts++;

Can someone help me to see what I am doing wrong?
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to