Hello,

I am just wondering if someone has an idea how to change code within ffmpeg while re-streaming to avoid following error showing up randomly:

[flv @ 0x1fd73e0] Failed to update header with correct duration.
[flv @ 0x1fd73e0] Failed to update header with correct file size.

Any idea is much appreciated.

Here is ffmpeg code I am using:

ffmpeg -re -i "http://127.0.0.1:5955/" -c:v copy -c:a aac -ar 44100 -ab 128k -ac 2 -strict -2 -flags +global_header -bsf:a aac_adtstoasc -bufsize 3968k -f flv rtmp://live.



koze