Hi All, For AVI files we can use video stream duration and frame rate information to calculate the video duration. This is how i calculate the duration (correct me if i am wrong). duration = streams[VideoStream]->duration * streams[VideoStream]->r_frame_rate.den/streams[VideoStream]->r_frame_rate.num;
But for FLV files, the streams[VideoStream]->duration = 0x8000000000000000. Can someone give me details to calculate the duration of FLV video. Thanks, Srinivasan. _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
