Closed pfzer closed 1 year ago
You cannot utilize VLC or standard H5 players to play HEVC live streams in HTTP-FLV format. Instead, you should employ mpegts.js or a modified ffplay. Please refer to the instructions provided in #465 for proper usage.
Thank you! We have verified again using the modified ffplay, and the phenomenon remains the same: when using the stream in the attachment (H265 TS stream recorded and encoded by the chip), there is video stuttering when pushing with SRT and pulling with RTMP. However, pushing with RTMP and pulling with RTMP for playback is normal.
TRANS_BY_GPT3
Description
haisi-h265-4kp30-5m.zip The H265 stream recorded from the encoding chip (HiSilicon or Socionext) is encoded into a TS file. Using the ffmpeg copy method, it is pushed as SRT and the SRT stream is received normally. However, when receiving the RTMP stream using VLC and PotPlayer, only the audio is recognized.
To resolve this, transcode the file using ffmpeg to H265 and then push it using ffmpeg. After this, both the SRT and RTMP streams can be received normally.
SRS Version: v6.0.45
SRS Log:
haisi-h265-4kp30-5m.zip
The attached file contains a test TS stream file. Reproduction of the issue can be done by pushing the SRT stream using ffmpeg.
Expect
The H265 stream generated by the encoding chip can be pushed using SRT and can be pulled using both SRT and RTMP without any issues.
haisi-h265-4kp30-5m.zip
TRANS_BY_GPT3