I'm trying to restream a stream using ffmpeg. I'm using the following command:
ffmpeg -i "http://serverIP/USER/PASSWORD/STREAM" -c:v copy -c:a aac -f flv rtmp://127.0.0.1/live/STREAM
The input stream is "Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, top first), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 50 tbr, 90k tbn, 50 tbc"
The RTMP side is working perfectly fine. Issue is with HLS. In HLS output there's no video only sound. If I change the profile to MAIN I get video but speed is always below 1. I'm running out of ideas. Any help is greatly appriciated. Thanks in advance
ffmpeg -i "http://serverIP/USER/PASSWORD/STREAM" -c:v copy -c:a aac -f flv rtmp://127.0.0.1/live/STREAM
The input stream is "Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, top first), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 50 tbr, 90k tbn, 50 tbc"
The RTMP side is working perfectly fine. Issue is with HLS. In HLS output there's no video only sound. If I change the profile to MAIN I get video but speed is always below 1. I'm running out of ideas. Any help is greatly appriciated. Thanks in advance