I am trying to steam the pi cam live steam video on the web browser using jwplayer and while hitting the web url to display the video I am getting following error on the crtmp server;
/thelib/src/protocols/liveflv/inboundliveflvprotocol.cpp:108 Frame too large: 9828990
/thelib/src/netio/epoll/tcpcarrier.cpp:91 Unable to read data from connection: (Far: 121.241.123.4:24422; Near: 192.168.0.113:6666) CTCP(18) <-> [TCP(11)] <-> ILFL(12). Signaling upper protocols failed
From this error it seems to be clear that the frame is too large to display. any help to resolve this error?
I am using crtmp server and ffmpeg video stream to render the video and using the following command to run the raspivid;
raspivid -t 9999999 -w 960 -h 540 -fps 25 -b 500000 -vf -o - | ffmpeg -i - -vcodec copy -an -f flv -metadata streamName=myStream tcp://0.0.0.0:6666
This works and I am getting the stream on the console like this;
Please help if everything looks working then why I am getting the Frame too large error on crtmp server?ffmpeg version N-65302-gbf7ed95 Copyright (c) 2000-2014 the FFmpeg developers
built on Aug 6 2014 12:04:36 with gcc 4.6 (Debian 4.6.3-14+rpi1)
configuration:
libavutil 52. 97.100 / 52. 97.100
libavcodec 55. 72.101 / 55. 72.101
libavformat 55. 51.101 / 55. 51.101
libavdevice 55. 13.102 / 55. 13.102
libavfilter 4. 11.102 / 4. 11.102
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 19.100 / 0. 19.100
Input #0, h264, from 'pipe:':
Duration: N/A, bitrate: N/A
Stream #0:0: Video: h264 (High), yuv420p, 960x540, 25 fps, 25 tbr, 1200k tbn, 50 tbc
Output #0, flv, to 'tcp://0.0.0.0:6666':
Metadata:
streamName : myStream
encoder : Lavf55.51.101
Stream #0:0: Video: h264 ([7][0][0][0] / 0x0007), yuv420p, 960x540, q=2-31, 25 fps, 1k tbn, 1200k tbc
Stream mapping:
Stream #0:0 -> #0:0 (copy)
^Cmmal: Aborting program.0 size= 12967kB time=00:03:30.72 bitrate= 504.1kbits/s