I try to merge one rtmp video live stream with a second audio rtmp live stream. To get translation on a existing live stream
But I get 2 errors:
rtmp server sent error
RTMP_ReadPacket, failed to read RTMP packet header.
I already added the rtmp enable flag to the nimble config file.
My code is:
ffmpeg -loglevel verbose -i rtmp://ip-nimble/rtmp/mainvideo -i rtmp://ip-nimble/rtmp/translation –acodec copy –vcodec copy -f flv -map 0:0 –map 0:1 –map 1:0 "rtmp://ip-nimble/live?rtmpauth=user:password/videowithtranslation“
My final purpose is to have one video live stream with 3 or more extra audio translations.
but first I try to merge for each translation two live streams into one stream.
have you any idea why I get a rtmp sent error?
Most of the people say, it is an autentication problem with the rtmp server.