I am using wowza server with ffmpeg to publish my screen video.
Following is the command I am using to publish my screen video to server:
ffmpeg -f dshow -i video="UScreenCapture" -c:v libx264 -b:v 150k -tune zerolatency -analyzeduration 0 -pix_fmt yuv420p -profile:v baseline -f flv rtmp://xxx.xxx.xx.xx/live/streamname
Problem: Stream automatically stop after 5-7 minutes i.e Publishing of screen frames to wowza server stops after 5 to 7 minutes by its own. Suddenly my CPU usage for ffmpeg process fall to 0 and my connection with wowza server stop sending frames to server (I checked in netlimiter) and screen video stop receiving on receiver end...and whole process of screen sharing terminates here. Every time it stops after in between of 5 to 7 minutes.
I also wrote on UScreenCapture forums but they told me that there are no time limitations on its uses.
Please suggest a solution.