[FFmpeg-user] delay/lag in playing stream from network camera in ffplay

Rehman Saeed rehman_saeed at live.com
Thu Sep 22 21:56:36 CEST 2011

Hi All,

I am having problem (delay or lag of 3-4 seconds) in 
playing stream from network camera. Those 3-4  seconds are with 
resolution of 320x240. If I change my resolution to 640x480, ffplay 
almost get dead. Please find below my environment

OS: "Window 7 Home Premium"
Environment: "MINGW32_NT-6.1 SAEED-PC 1.0.17(0.48/3/2) 2011-04-24 23:39 i686 Msys"
Gcc version: "4.6.1"
ffplay/ffmpeg version: "0.8.3"
Commandline in MingW: {ffplay.exe ""}
Network camera stream: "MJPEG"

 have validated the build of ffplay/ffmpeg with bigbuckbunny file and 
everything worked perfectly even with full HD mode using below command:

./ffplay.exe "C:\work\Demo_Clips\big_buck_bunny_1080p_surround.avi"

The above command line shows the video perfectly.

 have verified that network camera is also working and streaming images 
as firefox can show stream if i give the url 
It seems like I am missing something very basic in order to 
access/decode video stream from network camera. Can someone please 
enlighten me what I am missing or point me to right direction?

Please let me know if I need to provide any more information. Many thanks.

Kind regards,


More information about the ffmpeg-user mailing list