Skip to main content
Participant
June 24, 2010
Question

FMS closes connection when publishing 1600x1200 screen

  • June 24, 2010
  • 1 reply
  • 633 views

I am publishing screen data to FMS 3.5.3 using ffmpeg  with flv.  Everything is fine with 1024 x 768.  When I try to publish 1600 x 1200, the connection closes and I get an entry in core.00.log:

1458 (e)2631029      Bad network data;  terminating conection.

Is there a configuration limit I may be hitting?

Thanks.

    This topic has been closed for replies.

    1 reply

    June 25, 2010

    Hi,

    I tried the same using Flash Media Live Encoder and published screen data setting the input size greater than 1600 x 1200 too. I didn't see any issue on FMS. I didn't get a chance to check with  ffmpeg. But do you see that happening everytime you set the size as 1600 x 1200 consistently?

    Thanks

    Mamata

    bkaser3Author
    Participant
    June 25, 2010

    Hi Mamata,

    Thanks for the response. Yes, I consistently see the FMS close the connection when I try to stream 1600 x 1200. 1024 x 768 works fine as does 1200 x 800. 1280 x 1024 works for a while then stops.

    Here is my ffmpeg output:

    $ readpipe /fifo/scr2 | ffmpeg -i - -re -f flv -sameq rtmp://10.200.210.193/live/scr2

    FFmpeg version SVN-r23333, Copyright (c) 2000-2010 the FFmpeg developers

    built on May 26 2010 15:04:30 with gcc 4.1.2 20080704 (Red Hat 4.1.2-48)

    configuration: --extra-cflags=-g

    libavutil 50.16. 0 / 50.16. 0

    libavcodec 52.70. 0 / 52.70. 0

    libavformat 52.66. 0 / 52.66. 0

    libavdevice 52. 2. 0 / 52. 2. 0

    libavfilter 1.20. 0 / 1.20. 0

    libswscale 0.10. 0 / 0.10. 0

    Estimating duration from bitrate, this may be inaccurate

    Input #0, flv, from 'pipe:':

    Duration: N/A, start: 0.000000, bitrate: N/A

    Stream #0.0: Video: flashsv, bgr24, 1600x1200, 1k tbr, 1k tbn, 1k tbc

    auto-inserting filter 'auto-inserted scaler 0' between the filter 'src' and the filter 'out'

    w:1600 h:1200 fmt:bgr24 -> w:1600 h:1200 fmt:yuv420p flags:0xa0000004

    Output #0, flv, to 'rtmp://10.200.210.193/live/scr2':

    Metadata:

    encoder : Lavf52.66.0

    Stream #0.0: Video: flv, yuv420p, 1600x1200, q=2-31, 200 kb/s, 1k tbn, 1k tbc

    Stream mapping:

    Stream #0.0 -> #0.0