I uses this command of ffmpeg to publish stream to wowza :
ffmpeg -threads 6 -rtbufsize 2000M -f dshow -video_size 1920x1080 -i video=“7160 HD Capture”:audio=“7160 HD Capture” -acodec aac -ar 48000 -strict experimental -vcodec libx264 -x264opts keyint=25:min-keyint=20 -b:v 2048k -preset ultrafast -tune zerolatency -r 10 -pix_fmt yuv420p -f flv rtmp://localhost:1935/live/test
The video runs nicely and smoothly for about 10 min and stops but the ffmpeg process still keeps running (but in reality the streaming process does not work anymore) , I see the log of Wowza and it shows Zero sized function in wowza log, for ffmpeg it shows yellow warning QUEUE INPUT IS BACKWARD IN TIME (ffmpeg still was running but no streaming process was available to play on wowza).
Searching on Internet they say ‘zero sized function’ error is something with long pause, I tried to modified setenv.sh in several ways according to the performance tuning wowza page, but that still does not solve the problem. Do you know how to solve this QUEUE INPUT IS BACKWARD IN TIME and ZERO SIZED FUNCTION?
Thank you very much.