Results 1 to 9 of 9

Thread: wowza zero typed function error, ffmpeg error warnin QUEUE INPUT IS BACKWARD IN TIME

  1. #1

    Default wowza zero typed function error, ffmpeg error warnin QUEUE INPUT IS BACKWARD IN TIME

    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.
    Last edited by todafuture; 09-22-2015 at 08:28 PM.

  2. #2

    Default

    Hi,

    There are a number of reasons as to why you may see an error related to zero sized functions. Often it is related to lack of resources or memory. Please raise a support ticket providing the details as described in the article and reference this thread and we can take a closer look.


    Paul

  3. #3

    Default

    The details of the article, logs, conf and setenv.sh files were sent to support@wowza.com .

  4. #4

    Default

    Any help for this Zero sized function? I search all the Internet and I find no solution for this error. All performance tuning changes I tried did not work. The logs in Wowza says only 'Zero sized function' with no other clues. The error Queue input is backward in time of ffmpeg (then ffmpeg still keeps running) probably occurred after Wowza streaming process had already stopped.

  5. #5

    Default

    Hi,

    Can you please provide the ticket reference number and we can further update you via that process.


    Regards,

    Paul

  6. #6

    Default

    The ticket number is 142332. Thank you.
    Last edited by todafuture; 09-25-2015 at 10:50 PM.

  7. #7

    Default

    Hi,

    It looks like this was resolved successfully in the ticket.


    Regards,

    Paul

  8. #8

    Default

    Solution:
    This is because the network bandwidth where ffmpeg is run is limited. This leads to rtbufsize error and Wowza by default do not handle rtbufsize 2000M case --> leads to Zero typed function.
    Solution is to Reduce -rtbufsize to 700M and use a good network (although it is possible, avoid playing video on the same machine to save bandwidth and avoid delays).

    This command solves the problem for the 7160 HD Capture card:

    ffmpeg -threads 6 -rtbufsize 700M -thread_queue_size 100 -f dshow -video_size 1280x720 -i video="7160 HD Capture":audio="7160 HD Capture" -i logo1.png -filter_complex "[0:v][1:v] overlay=137:577" -vcodec libx264 -b:v 2048k -preset superfast -tune zerolatency -r 24 -acodec aac -ar 44100 -strict experimental -f flv - | ffmpeg -i - -acodec copy -vcodec copy -f flv rtmp://server:1935/live/test
    Last edited by todafuture; 10-03-2015 at 02:36 AM.

  9. #9

    Default

    Thanks for the update, and for posting the solution here for others.

    Regards,

    Salvadore

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •