Closed tangwenixng closed 3 months ago
The content failed to parse, which seems to be an issue with the stream of content.
TRANS_BY_GPT4
The content failed to parse, which seems to be an issue with the stream of content.
TRANS_BY_GPT4
FFmpeg log shows 'VPS 0 does not exist,' whether it might be the cause of this.
I try dump raw rtsp data to file, use command : ./ffmpeg -i 'rtsp://user:Gyjc1234!@10.129.117.51/media/video0' -c copy -f rawvideo -y output.raw
,
and then use this file push to srs server: ffmpeg -i /root/output.raw -c:v copy -an -f flv rtmp://172.26.29.103:19351/gy/test
, result is ok, stream is living
Yes, I believe your stream content is quite unique and contains problems. So, if you could use ffmpeg to convert it to a raw image and then transcode it for live streaming, it might work better. If successful, this could be a more effective solution.
Describe the bug use ffmpeg push rtsp stream of hevc format to srs server , the log show :
"serve error code=3099(HevcDecode)(HEVC decode av stream failed) : service cycle : rtmp: stream service : rtmp: receive thread : handle publish message : rtmp : consume message : rtmp: consume video : format consume video : demux hevc VPS/SPS/PPS : requires 23 only 0 bytes"
Version 6.0.101
To Reproduce Steps to reproduce the behavior:
docker run --rm -it -p 19851:1985 -p 19351:1935 -p 8180:8080 registry.cn-hangzhou.aliyuncs.com/ossrs/srs:6.0.101 ./objs/srs -c conf/hevc.flv.conf
docker run --rm -it -w /usr/local/srs/objs/ffmpeg/bin registry.cn-hangzhou.aliyuncs.com/ossrs/srs:6.0.101 ./ffmpeg -rtsp_transport tcp -i 'rtsp://user:Gyjc1234!@10.129.117.51/media/video0' -loglevel info -c:v copy -an -flvflags no_duration_filesize -map 0:v -f flv 'rtmp://172.26.29.103:19351/Prd_stream/407lq'
Expected behavior expect rtmp stream is living
Screenshots
Additional context