yi-hack-Allwinner icon indicating copy to clipboard operation
yi-hack-Allwinner copied to clipboard

Issue with only high stream in alt rtsp server

Open bonuzzz opened this issue 3 years ago • 9 comments

Seems rtsp doesn't work when using only high stream in alternate rtsp server. I see two processes in ps: h264grabber -m y20ga -r high -f rtsp_server_yi -m y20ga -r high -a no -p 554

with only low stream it works. y20ga 0.2.9

bonuzzz avatar Apr 17 '22 14:04 bonuzzz

What about both streams?

roleoroleo avatar Apr 17 '22 17:04 roleoroleo

I tested now your config:

  • only high res
  • no audio It seems working, maybe it depends on other settings.

Please share your config (without personal data).

roleoroleo avatar Apr 17 '22 17:04 roleoroleo

Sorry for late answer. I thought I sent the comment after preview. After that time I flashed 0.3.0 firmware and did reset camera. After two weeks I see the similar situation when I connect to camera with vlc and don't see any video on high res stream (high and both parameters) Attached two configs. new and previous one config.zip

bonuzzz avatar May 05 '22 11:05 bonuzzz

I switched between live555 and alternate rtsp server on camera several times in gui and seems after that high stream stopped working

bonuzzz avatar May 05 '22 11:05 bonuzzz

Also I have these lags on vlc with live rtsp server. I don't know whether it is related or not. Video in zip. Wifi strength 90 percent in gui

2022-05-05 14.35.38.mp4.zip

bonuzzz avatar May 05 '22 11:05 bonuzzz

Your configs are ok.

I switched between live555 and alternate rtsp server on camera several times in gui and seems after that high stream stopped working

It stopped working for both rtsp daemons?

About the mp4, you have a lot of lost frames. It's not a normal behavior. Is your network ok? I have no other ideas.

roleoroleo avatar May 06 '22 14:05 roleoroleo

It stopped working only with alternate server. In that time I see recordings on microsd. I tested again today. When I try to connect to camera with vlc to rtsp stream without audio, I got only error there. If I turn on audio, I hear sounds on vlc but without video. I attached last config config.tar.bz2.zip

bonuzzz avatar May 06 '22 17:05 bonuzzz

I noticed rmm process not exist and rRTSPserver process has high cpu usage (70-90 percent in top) It is on live555 rtsp server.. I have several mstar cameras with the same config and they work without any issues

bonuzzz avatar May 07 '22 11:05 bonuzzz

The config is ok.

I noticed rmm process not exist and rRTSPserver process has high cpu usage (70-90 percent in top)

If rmm doesn't exist it's a big problem. The cam can't work if rmm is not running. Probably rRTSPServer increases the cpu usage because the the video buffer is not filled by rmm. But why isn't it running?

rRTSPServer shouldn't be running when you are using alternative server.

roleoroleo avatar May 10 '22 13:05 roleoroleo

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Apr 02 '24 02:04 github-actions[bot]