Open 7288Fzq opened 8 months ago
Has the problem been resolved?
not yet :(
------------------ 原始邮件 ------------------ 发件人: "deepch/RTSPtoWeb" @.>; 发送时间: 2023年10月31日(星期二) 下午4:01 @.>; @.**@.>; 主题: Re: [deepch/RTSPtoWeb] rtsp stream can normaly played in vlc,but failed to play in this program (Issue #394)
Has the problem been resolved?
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
Facing the same issue, any guidance here?
Has anyone solved this problem yet? :(
I solved the problem. The reason is codec of RTSP, RTSPToWeb only support H264 codec, if we give another codec it will return error.
I solved the problem. The reason is codec of RTSP, RTSPToWeb only support H264 codec, if we give another codec it will return error.
I was wondering about that, having the same issue... We're reading & processing raw camera video with opencv & then writing frames out to an rtsp server (mediamtx) via ffmpeg (the resulting rtsp streams look fine when playing them in VLC player or ffmpeg). When we try to convert those streams with RTSPtoWeb, we were seeing "codec not supported" in logs. We weren't able to get h264 encoding to work with our opencv/ffmpeg container (it's been a struggle and i'm not sure why, still wrestling with that). Anyways, if this only supports h264 code that would explain why RTSPtoWeb can't convert.
here are the consle outputs:
INFO[2023-10-23T23:53:23+08:00] Client Full Exit ERRO[2023-10-23T23:53:34+08:00] Stream error restart stream stream no video call=Restart INFO[2023-10-23T23:53:36+08:00] Run stream call=Run channel=0 func=StreamServerRunStreamDo module=core stream=7a9ee681-c435-470b-a2d6-f320d2432d50 INFO[2023-10-23T23:53:36+08:00] Success connection RTSP call=Start channel=0 func=StreamServerRunStream module=core stream=7a9ee681-c435-470b-a2d6-f320d2432d50 ERRO[2023-10-23T23:53:56+08:00] Stream error restart stream stream no video call=Restart INFO[2023-10-23T23:53:58+08:00] Run stream call=Run channel=0 func=StreamServerRunStreamDo module=core stream=7a9ee681-c435-470b-a2d6-f320d2432d50 INFO[2023-10-23T23:53:58+08:00] Success connection RTSP call=Start channel=0 func=StreamServerRunStream module=core stream=7a9ee681-c435-470b-a2d6-f320d2432d50 ERRO[2023-10-23T23:54:18+08:00] Stream error restart stream stream no video call=Restart INFO[2023-10-23T23:54:20+08:00] Run stream call=Run channel=0 func=StreamServerRunStreamDo module=core stream=7a9ee681-c435-470b-a2d6-f320d2432d50 INFO[2023-10-23T23:54:20+08:00] Success connection RTSP call=Start channel=0 func=StreamServerRunStream module=core stream=7a9ee681-c435-470b-a2d6-f320d2432d50 ERRO[2023-10-23T23:54:22+08:00] stream not found call=HLSMuxerM3U8 channel=0 func=HTTPAPIServerStreamHLSLLM3U8 module=http_hlsll stream=7a9ee681-c435-470b-a2d6-f320d2432d50 ERRO[2023-10-23T23:54:24+08:00] stream channel codec not ready, possible stream offline call=StreamCodecs channel=0 func=HTTPAPIServerStreamWebRTC module=http_webrtc stream=7a9ee681-c435-470b-a2d6-f320d2432d50 ERRO[2023-10-23T23:54:24+08:00] stream channel codec not ready, possible stream offline call=StreamCodecs channel=0 func=HTTPAPIServerStreamMSE module=http_mse stream=7a9ee681-c435-470b-a2d6-f320d2432d50 ERRO[2023-10-23T23:54:24+08:00] <nil> call=Close channel=0 func=HTTPAPIServerStreamMSE module=http_mse stream=7a9ee681-c435-470b-a2d6-f320d2432d50