[FFmpeg-devel] How to identify frame number of reconstructed mpeg4 video

Daniel Kim qiaotouzhen
Wed Sep 19 07:32:23 CEST 2007

Hello all,

I am working on video streaming over wireless.

I send a m4v file (UDP) and collect both sender and receiver dump
(tcpdump) to reconstruct video at the recevier side.

Is it possible to get frame number of the received video, say 1, 3, 4,
5, 7 (2 and 6 are lost due to packet losses)? I want to compute PSNR
of the original and reconstructed videos, so I have to know the frame

I do not know how the function av_seek_frame and other related APIs
work. Do they help solving my problem?

Thanks much.

More information about the ffmpeg-devel mailing list