Closed bughattiveyron closed 1 year ago
with the quotes?
I used
rtsp:secure@10.xx.xx.216:554/av_stream/ch0
with the quotes?
I used
rtsp:secure@10.xx.xx.216:554/av_stream/ch0
we would of course expect it to not have audio in VLC. If you update your docker run command to map port 8554 then you can play rtsp://frigate_ip:8554/Back_Alley?video=copy&audio=aac
and it should play with audio
and yes I would recommend updating the go2rtc to the config I put above as it is above
go2rtc:
streams:
Back_Alley:
- "ffmpeg:rtsp://rtsp:secure@10.xx.xx.216:554/av_stream/ch0#video=copy#audio=aac"
Logs
2023-01-19 15:24:58.322593018 [2023-01-19 15:24:58] frigate.app INFO : Starting Frigate (0.12.0-12d51d3)
2023-01-19 15:24:58.352187578 [2023-01-19 15:24:58] peewee_migrate INFO : Starting migrations
2023-01-19 15:24:58.371547938 [2023-01-19 15:24:58] peewee_migrate INFO : There is nothing to migrate
2023-01-19 15:24:58.377648229 [2023-01-19 15:24:58] ws4py INFO : Using epoll
2023-01-19 15:24:58.398189933 [2023-01-19 15:24:58] detector.cpu INFO : Starting detection process: 277
2023-01-19 15:24:58.405342903 [2023-01-19 15:24:58] frigate.app INFO : Output process started: 279
2023-01-19 15:24:58.411403101 [2023-01-19 15:24:58] ws4py INFO : Using epoll
2023-01-19 15:24:58.411817555 [2023-01-19 15:24:58] frigate.detectors WARNING : CPU detectors are not recommended and should only be used for testing or for trial purposes.
2023-01-19 15:24:58.414905543 [2023-01-19 15:24:58] frigate.app INFO : Camera processor started for Front_Garage: 284
2023-01-19 15:24:58.423902914 [2023-01-19 15:24:58] frigate.app INFO : Camera processor started for Back_Alley: 285
2023-01-19 15:24:58.432990230 [2023-01-19 15:24:58] frigate.app INFO : Capture process started for Front_Garage: 287
2023-01-19 15:24:58.442541331 [2023-01-19 15:24:58] frigate.app INFO : Capture process started for Back_Alley: 290
2023-01-19 15:25:02.389487428 [2023-01-19 15:25:02] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:59760]
2023-01-19 15:25:03.116507981 [2023-01-19 15:25:03] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:59760]
2023-01-19 15:25:03.340968932 [2023-01-19 15:25:03] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:59762]
2023-01-19 15:25:03.581631443 [2023-01-19 15:25:03] frigate.video ERROR : Back_Alley: Unable to read frames from ffmpeg process.
2023-01-19 15:25:03.581902863 [2023-01-19 15:25:03] frigate.video ERROR : Back_Alley: ffmpeg process is not running. exiting capture thread...
2023-01-19 15:25:03.934900966 [2023-01-19 15:25:03] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:59762]
2023-01-19 15:25:04.147614515 [2023-01-19 15:25:04] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:59774]
2023-01-19 15:25:04.769362883 [2023-01-19 15:25:04] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:59774]
2023-01-19 15:25:04.956483577 [2023-01-19 15:25:04] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:59778]
2023-01-19 15:25:05.609027634 [2023-01-19 15:25:05] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:59778]
2023-01-19 15:25:06.032181378 [2023-01-19 15:25:06] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:59790]
2023-01-19 15:25:06.452709406 [2023-01-19 15:25:06] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:59790]
2023-01-19 15:25:06.951804590 [2023-01-19 15:25:06] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:59800]
2023-01-19 15:25:12.446395819 [2023-01-19 15:25:12] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:55566]
2023-01-19 15:25:13.033729697 [2023-01-19 15:25:13] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:55566]
2023-01-19 15:25:13.199518875 [2023-01-19 15:25:13] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:55578]
2023-01-19 15:25:15.653810688 [2023-01-19 15:25:15] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:59800]
2023-01-19 15:25:15.838747533 [2023-01-19 15:25:15] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:55580]
2023-01-19 15:25:16.584734932 [2023-01-19 15:25:16] ws4py INFO : Managing websocket [Local => 127.0.0.1:8082 | Remote => 127.0.0.1:59984]
2023-01-19 15:25:18.473104035 [2023-01-19 15:25:18] watchdog.Back_Alley ERROR : Ffmpeg process crashed unexpectedly for Back_Alley.
2023-01-19 15:25:18.473307753 [2023-01-19 15:25:18] watchdog.Back_Alley ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2023-01-19 15:25:18.473479601 [2023-01-19 15:25:18] ffmpeg.Back_Alley.detect ERROR : rtsp://127.0.0.1:8554/Back_Alley?video=copy&audio=aac: Invalid data found when processing input
2023-01-19 15:25:23.648983314 [2023-01-19 15:25:23] frigate.video ERROR : Back_Alley: Unable to read frames from ffmpeg process.
2023-01-19 15:25:23.649343023 [2023-01-19 15:25:23] frigate.video ERROR : Back_Alley: ffmpeg process is not running. exiting capture thread...
2023-01-19 15:25:28.528262323 [2023-01-19 15:25:28] watchdog.Back_Alley ERROR : Ffmpeg process crashed unexpectedly for Back_Alley.
2023-01-19 15:25:28.528656756 [2023-01-19 15:25:28] watchdog.Back_Alley ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2023-01-19 15:25:28.528898765 [2023-01-19 15:25:28] ffmpeg.Back_Alley.detect ERROR : rtsp://127.0.0.1:8554/Back_Alley?video=copy&audio=aac: Invalid data found when processing input
2023-01-19 15:25:33.674112504 [2023-01-19 15:25:33] frigate.video ERROR : Back_Alley: Unable to read frames from ffmpeg process.
2023-01-19 15:25:33.674122065 [2023-01-19 15:25:33] frigate.video ERROR : Back_Alley: ffmpeg process is not running. exiting capture thread...
2023-01-19 15:25:37.572153613 [2023-01-19 15:25:37] ws4py INFO : Terminating websocket [Local => 127.0.0.1:8082 | Remote => 127.0.0.1:59984]
2023-01-19 15:25:38.551835581 [2023-01-19 15:25:38] watchdog.Back_Alley ERROR : Ffmpeg process crashed unexpectedly for Back_Alley.
2023-01-19 15:25:38.552485728 [2023-01-19 15:25:38] watchdog.Back_Alley ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2023-01-19 15:25:38.553062382 [2023-01-19 15:25:38] ffmpeg.Back_Alley.detect ERROR : rtsp://127.0.0.1:8554/Back_Alley?video=copy&audio=aac: Invalid data found when processing input
2023-01-19 15:25:39.357073228 [2023-01-19 15:25:39] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:55580]
2023-01-19 15:25:39.930036974 [2023-01-19 15:25:39] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:58010]
2023-01-19 15:25:40.310846901 [2023-01-19 15:25:40] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:58010]
2023-01-19 15:25:40.522846699 [2023-01-19 15:25:40] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:37100]
2023-01-19 15:25:41.032668130 [2023-01-19 15:25:41] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:37100]
2023-01-19 15:25:41.223479366 [2023-01-19 15:25:41] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:37108]
meant to put in there, its not working at all, just a black box in frigate that says no frames have been received
just fyi you need to use ``` to be able to put stuff into blocks
and I am assuming your camera doesn't have any settings for changing audio codec?
"I dont see anything in the ewelink app to change audio, all I have is a mute and unmute in the app"
well, apps usually don't have many options for things like that, but if it has a web portal then those usually have more options
no web portal
Do you have sound when you open the stream from the camera directly in VLC? I have this camera. There is no problem with transcoding to AAC.
meant to put in there, its not working at all, just a black box in frigate that says no frames have been received
how to fix that?
in my frigate beta5 sometime have a image, sometime is not, is just a black image and says no frames have been received
Do you have sound when you open the stream from the camera directly in VLC? I have this camera. There is no problem with transcoding to AAC.
I do not have sound when I open the stream in vlc, but the sound does work when I open it in the ewelink app
@boyphongsakorn so maybe your camera not provide any sound via RTSP. I have very old firmware and all works fine. If you can't get sound in VLC with direct link - Frigate can't do anything with it. You need to write to ewelink support.
@boyphongsakorn so maybe your camera not provide any sound via RTSP. I have very old firmware and all works fine. If you can't get sound in VLC with direct link - Frigate can't do anything with it. You need to write to ewelink support.
So I just bought it a month ago, it is a GK-200MP2-B with current version being 41120220811. What is your camera and version, also is there anyway to downgrade?
Well you can close this ticket, after looking at the firmware, I noticed it had an update. I ran it and now it works fine with standard config file.
41220220712
Describe the problem you are having
Can not find a working config for output_args: to collect audio from the Sonoff GK-200MP2-B IP Camera
Camera collects video fine and records and creates clips, but no audio is being pulled. Audio works fine in the ewelink app.
Version
0.10.1-83481AF
Frigate config file
Relevant log output
FFprobe output from your camera
Frigate stats
No response
Operating system
Debian
Install method
Docker Compose
Coral version
CPU (no coral)
Network connection
Wired
Camera make and model
SONOFF Smart Camera GK-200MP2-B
Any other information that may be helpful
No response