-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SRS6.0.55, H265 stream encoded with Shoxi M50 chip, SRT streaming, SRT to RTMP conversion with severe mosaic #3604
Comments
Can adjust the number of PPS generated by the encoder to only 1.
|
It seems to have something to do with the encoder. When converting SRS to RTMP, there were no error messages. Is there any encoding parameter that can be adjusted for another try?
|
I have performed a test on your file and have identified a possible error with ffplay. As @xiaozhihong said, there were no error log prompts during play after publishing the rtmp stream. |
It is normal to push RTMP directly with this stream, but if you push SRT with this stream and then convert it to RTMP, there will be mosaic. I don't know what affects SRT to RTMP. I tried modifying encoding parameters such as profile, level, chroma space, precision, and GOP, but the phenomenon remains the same.
|
Could you provide me with information about the equipment you are currently using? |
The translation to English would be: "The encoding device we made ourselves uses a SII M50 encoding chip (formerly known as the Fujitsu M50).
|
It should be caused by multiple PPS. This TS stream originally has 3 PPS in it. When we push the stream to srs, for example, using TS over SRT, and pull the stream with RTMP and configure it with hevdecodercconfigure, only 1 PPS is available. If we push the stream with RTMP and pull it with RTMP, hevdecoercconfigure should have 3 PPS.
|
When the srs have multiple pps in hevc.the srs can't parse for this. problem fixed this #3604 --------- Co-authored-by: chundonglinlin <chundonglinlin@163.com> Co-authored-by: john <hondaxiao@tencent.com>
Description
The TS stream encoded with Shoxi M50 chip using H265 encoding is being streamed using SRT to SRS6. The SRT streaming works fine, but when the RTMP stream is pulled, there is severe mosaic. The TS stream file has been uploaded in the middle, which can be referred to.
SRS Version: SRS/6.0.55 with "./configure --h265=on && make && ./objs/srs -c conf/srt.conf"
SRS Log:
Please make sure to maintain the markdown structure.
Replay
Step 1: Recording the TS stream file using ffmpeg SRT streaming.
Replay
Step 2: Playing the RTMP stream using ffplay, audio is normal but video is severely mosaic. Use hevc-ffplay rtmp://10.0.3.85/live/tvsky, the ffplay log is as follows:
Expect
The stream from this chip can be SRT streamed to SRS6 and can be converted to RTMP for normal playback.
m50-4kp30-10m-main-l5.zip
TRANS_BY_GPT3
The text was updated successfully, but these errors were encountered: