Hi, I currently have to deal with videos that have been transcoded with ffmpeg and the itsscale option. When I read a video and compute the approximate number of frames, I usually do this by taking the duration of the video times the fps found in the r_frame_rate field of my video stream.
ffmpeg seems to only change the frame pts/dts values when itsscale is used and as a result, there is still the old framerate stored in the video. When I open my file in any other video player (VLC, QT) I get the right approximate framerate, so I suppose there must be a way to estimate this. How can I achieve this? Is there anything I have overlooked? Just by looking at the pts values of the frames of the first gop, is somehow close, but not as close as the video player I tried get. Thank you for your help Herbert Grasberger _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
