Open bandirsen opened 1 year ago
The log shows that there is no stream. Please attach the correct log.
@bandirsen You should change the conf iformat mpegts
to iformat flv
.
Because the ffmpeg command line is runing in rtmp source, when publish by srt and enable srt_to_rtmp, srs will remux mpegts (in srt) to rtmp.
Description
I'm using obs to publish content to srs through SRT protocol I want to transmux/transcode the SRT stream using ffmpeg
1. SRS Version: 5
2. SRS Log:
3. SRS Config:
Replay:
Please describe how to replay the bug? (重现Bug的步骤)
Step 1: run srs v.5 docker (no problem) Step 2: publish live stream using obs to srs through SRT protocol (no problem) Step 3: check generated dash files inside srs docker container Step 4: if i publish from obs using RTMP protocol, it's working fine, dash files are generated but I if use SRT protocol, nothing happen, it seems SRT protocol not triggering ffmpeg transcoding process
Expect (Expected Behavior) I expecting SRT input stream to srs also triggering ffmpeg transcoding/transmuxing, because like RTMP, SRT also supported by both srs and ffmpeg
TRANS_BY_GPT3