datarhei / restreamer

The Restreamer is a complete streaming server solution for self-hosting. It has a visually appealing user interface and no ongoing license costs. Upload your live stream to YouTube, Twitch, Facebook, Vimeo, or other streaming solutions like Wowza. Receive video data from OBS and publish it with the RTMP and SRT server.
https://docs.datarhei.com/restreamer/
Apache License 2.0
3.94k stars 451 forks source link

Issue with rtmp_enhanced_codecs #783

Open Dag0n opened 4 months ago

Dag0n commented 4 months ago

I am having an issue when streaming to a RTMP ingest server, it fails to relay the stream across, and the connection times out.

I have tried taking the command from the process details screen and running it seperatly with ffmpeg this also fails too.

ffmpeg -loglevel level+info -err_detect ignore_err -rtmp_enhanced_codecs hvc1,av01,vp09 -i rtmp://[ip]:1935/492adc78-df62-46f5-83f7-fa9f1a4fe25a.stream -map 0:0 -codec:v copy -map 0:1 -codec:a copy -f flv -rtmp_enhanced_codecs hvc1,av01,vp09 -rtmp_playpath [removed] -rtmp_flashver FMLE/3.0 rtmp://[removed]

However when I remove rtmp_enhanced_codecs from the output this works fine. Is there anywhere I can amend this in restreamer?

Dag0n commented 4 months ago

Looking a little more into this I can see that it writes this into /core/config/db.json so it can be removed manually, but any amendments in the UI repopulate this rtmp_enhanced_codecs back again.

ioppermann commented 2 months ago

We will look into that. Usually the -rtmp_enhanced_codecs option shouldn't interfere with normal operation. Do you stream to a specific service or does it happen if you stream to any RTMP target?