Hi, I've got a problem with some file I encode. The program I'm working on, captures video screen. There is also a player. The default value of capture is one frame per second but it is possible tu use another value. I've got a problem with the video duration when I capture 2 images per second. There is certainly somethig wrong in my code.
This is how I do : AVCodecContext *video_enc; ... video_enc->time_base.num = (int)(frameRate*100.0); //frameRate value is : 2 video_enc->time_base.den = 100; ... Is it correct ? Nicolas Krieger _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
