Is there any way I can find out the data transfer between two ports in given time.
We have a client software which shows the video streaming and I have to verify it's FPS, So i though I will find out the data transfer between the port 554 ( RTSP Protocol ) and then will derive the FPS
FPS = data transfer/ Time ( in sec)*resolution.
Or is there any other better way to find out FPS in live streaming ?
Various protocol analyzers (with filtering for particular port and protocol) would handily provide this information. You have your pick of commercial or opensource protocol analyzers available for the task.