The most widely used pull-and-push tool for video streaming is FFMPEG. TSINGEE Video also has its own pull-and-push platforms, namely EasyRTMPLive and EasyRTSPLive, both of which can pull RTSP RTMP streams.

These days, I met a customer’s feedback that when FFMPEG was used to pull the IPC stream and then pushed it to EasyDSS streaming media server, I found that the playback picture was incomplete and there was a situation of splintered screen.

With this in mind, we did the following experiments:

1, FFMPEG pull RTSP stream push RTMP Ffmpeg – re – I RTSP: / / admin: [email protected]:554 / Streaming/Channels / 102 – vcodec copy – acodec copy – f FLV – y rtmp://demo.easydss.com:10035/hls/Seven-02?sign=BsBncNCMg

2. Enter EasyDSS to have a look at the playing effect

According to the phenomenon of appeal, we analyze the possible situation of screen blossom as follows:

1, the player end read buffer is not enough, sometimes encounter HD code stream, a frame of several megabytes, so the buffer should be long enough, this may be the player’s problem;

2. The push stream end may lose frames and push streams, resulting in insufficient key frames on the player end.

In order to confirm our prediction, we use EasyRTSPLive to do another experiment, EasyRTSPLive is a pull and push tool based on LIVE555 transformation, the configuration is very simple, get the program package decompressed after an INI configuration file, directly configure the RTSP source and RTMP destination address, then you can start the program.

Then we have a look at the playback effect on the EasyDSS streaming media server, there is obviously no screen.

Let’s compare the effects of the two ways of playing as follows:

This problem can be solved by #define UDP_MAX_PKT_SIZE 65536 in FFMPEG source udp.c.