[Support]: Cannot figure out why video playback on my Wyze Thingino cameras isn't working #22084
Replies: 4 comments 10 replies
-
|
Your issue stems from multiple audio streams being advertised by your Thingino cameras, which is causing FFmpeg to struggle with stream selection and resulting in corrupt recordings.(1) Your ffprobe output shows each camera advertising 4-5 audio streams (opus, aac, pcm_mulaw, pcm_alaw), and Frigate is having difficulty selecting the correct one.(2) ## Primary Issue: Multiple Audio Streams Your cameras are exposing multiple audio codecs simultaneously.(2) The ffprobe output shows: - Stream #0:1: Audio: opus, 48000 Hz (patio cam) - Stream #0:1: Audio: aac (LC), 16000 Hz (front cam) - Stream #0:2: Audio: aac, 16000 Hz - Stream #0:3: Audio: pcm_mulaw, 8000 Hz - Stream #0:4: Audio: pcm_alaw, 8000 Hz This is causing FFmpeg to either select the wrong stream or fail to properly mux the audio with video, resulting in audio-only files.(2) ## Solution: Explicitly Select Audio Stream in go2rtc You need to modify your go2rtc configuration to explicitly select the correct audio stream.(2) Update your config: 📚 Sources: Have another question? Just tag @inkeep. |
Beta Was this translation helpful? Give feedback.
-
|
In addition to the AI's response, this does seem like a wifi/connection issue - the go2rtc logs make that pretty clear. See this note about wifi cameras and why we don't recommend them: https://ipcamtalk.com/threads/multiple-cameras-high-bandwidth.77100/#post-861110 |
Beta Was this translation helpful? Give feedback.
-
|
Okay some very interesting progress. The thingino firmware was a few months old and apparently had a bug where after selecting AAC, opus was still the thing coming out first (and it was also spitting out four audio types anyway). While I know wifi isn't great, the ffprobe command only has those errors with UDP, if i do TCP then its totally fine. After i updated the Thingino firmware, i restarted frigate and for a whole day and this morning, everything worked great - playback was awesome, no gaps or audio only parts. Then, I tried to check a recording this afternoon and it wasn't working. So i scrolled through, and it seems the playback for my front cameras stop playing at EXACTLY 11am. I also noticed that at, for example, 10:59:58am (according to frigate), the OSD on the camera showed 2026-02-24 18:59:59. Most importantly - if i download these clips from my server (the recordings folder), the videos all are totally fine and non problematic. Its only the playback on the webui that doesnt work it seems.. The only log i see a lot is: edit Just kidding. Videos stop playing back at 11am this morning on the webui, but while the actual recordings are fine then, at 11:47am theres one more normal video recording, and then the next video after that is 36 MB and when i download it and watch it, it's 22 hours long LOL. 10 seconds or so of video and then just black. After that, all recordings are 50 or so KB and only audio. What in the world?! |
Beta Was this translation helpful? Give feedback.
-
|
In case it is an option, there is a way to set up Thingino to use a USB ethernet dongle and an OTG cable to convert the wifi Wyze cam v3 into a wired camera. In my testing, I was only able to get the wired connection to work with specific cables (short, high quality) so it might require some persistence testing various cables (see this issue from the Thingino repo). That is, if your camera placement allows for cable connections. I ended up continuing with wireless connections to my Wyze cams, but I use them for camera placements where outages are tolerable. And I try to have no more than 2 wireless cameras connecting to each wireless access point. Hope that helps |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the problem you are having
A while back I switched my wyze cams over to thingino firmware so i could use them with Frigate. At first it seemed like it was working fine, but something is really NOT working well. Every time I try to playback any video from my wyze cams, the playback doesn't work (but the thumbnail preview image DOES work while im seeking).
I think go2rtc is the first reason it started screwing up, but the reason I even tried go2rtc was because there were errors showing up about audio stream problems.
Two different types of log sections attached.
I have tried so many different config options, I've talked to people on Reddit, I've talked to the Frigate docs AI, etc. Nothing seems to work, and at the end of the day what I can't figure out is - IS the video actually breaking somehow or is it just a connection issue?
If i look at my recordings folder on my server, its.. very weird.
My 'wyze-cam-thingino-patio' files are all gargbled sounding, and they're all about 150 KB, no video visible. Just audio. Not good.
My 'wyze-cam-thingino-front' files are not garbled, audio is fine, but they're all about 50 KB and again, no video visible. Just audio.
Mostly the same with 'wyze-cam-thingino-cat' except i can find SOME videos that are about 600 KB, video IS visible, audio is totally garbled.
Most of the feedback I get from the docs is that it must be connection issues causing this, but basically 100% of my videos have no actual video. If i connect directly to the camera UIs (thingino has a ui), i can view the video totally fine, no issues ever. Lastly, if i go to my Omada dashboard (my wifi AP setup), all my cameras have fairly good signal, no issues detected.
I'm sure there's an occasional wifi hiccup but I think something is majorly off here. I found some discussion of Thingino Wyze setups where people say you have to kill the audio, but I do not want to do that, audio is fairly important.
FYI - my thingino cameras are all setup to be:
Main stream - 1920x1080, 25fps, H264, 1500 bitrate, CBR, GOP 25, Max GOP 25
Sub stream (detection) - 640x360, 5fps, H264, 1000 bitrate, CBR, GOP 5, Max GOP 5.
Audio - AAC, 16000 Hz, 40 kbps.
Can someone please help me figure this out? I've tried everything I can think of in terms of debugging but there's so many mixed messages online about what errors mean in frigate.
Note: cams are connected via wifi. Unraid server running frigate is connected via ethernet.
Note 2: Seems like ffprobe runs are sometimes breaking... see below.
Version
0.16.3-3793098
What browser(s) are you using?
Chrome 145.0.7632.45
Frigate config file
Relevant Frigate log output
Relevant go2rtc log output
FFprobe output from your camera
Frigate stats
{"cameras":{"front_doorbell":{"camera_fps":5.0,"process_fps":5.0,"skipped_fps":0.0,"detection_fps":0.0,"detection_enabled":true,"pid":544,"capture_pid":586,"ffmpeg_pid":3317411,"audio_rms":0.0,"audio_dBFS":0.0},"wyze-cam-thingino-front":{"camera_fps":4.9,"process_fps":4.9,"skipped_fps":0.0,"detection_fps":1.2,"detection_enabled":true,"pid":561,"capture_pid":608,"ffmpeg_pid":2994732,"audio_rms":0.0,"audio_dBFS":0.0},"wyze-cam-thingino-patio":{"camera_fps":5.0,"process_fps":4.9,"skipped_fps":0.2,"detection_fps":5.0,"detection_enabled":true,"pid":570,"capture_pid":622,"ffmpeg_pid":2563475,"audio_rms":0.0,"audio_dBFS":0.0},"wyze-cam-thingino-cat":{"camera_fps":5.1,"process_fps":5.1,"skipped_fps":0.0,"detection_fps":0.0,"detection_enabled":true,"pid":577,"capture_pid":634,"ffmpeg_pid":2837460,"audio_rms":0.0,"audio_dBFS":0.0}},"detectors":{"ov":{"inference_speed":27.24,"detection_start":0.0,"pid":479}},"detection_fps":6.2,"embeddings":{},"gpu_usages":{"intel-vaapi":{"gpu":"0.0%","mem":"-%","clients":{"479":"0.0%","2563475":"0.0%","2837460":"0.0%","2994732":"0.0%","3317411":"0.0%"}}},"cpu_usages":{"frigate.full_system":{"cpu":"6.6","mem":"54.9"},"1":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"/package/admin/s6/command/s6-svscan -d4 -- /run/service"},"17":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-supervise s6-linux-init-shutdownd"},"18":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"/package/admin/s6-linux-init/command/s6-linux-init-shutdownd -d3 -c /run/s6/basedir -g 3000 -C -B"},"27":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-supervise s6rc-oneshot-runner"},"28":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-supervise s6rc-fdholder"},"29":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-supervise certsync"},"30":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-supervise certsync-log"},"31":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-supervise frigate"},"32":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-supervise frigate-log"},"33":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-supervise go2rtc"},"34":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-supervise go2rtc-healthcheck"},"35":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-supervise go2rtc-log"},"36":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-supervise nginx"},"37":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-supervise nginx-log"},"48":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"/package/admin/s6-2.13.2.0/command/s6-fdholderd -1 -n 256 -i data/rules"},"49":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"/package/admin/s6/command/s6-ipcserverd -1 -- /package/admin/s6/command/s6-ipcserver-access -v0 -E -l0 -i data/rules -- /package/admin/s6/command/s6-sudod -t 30000 -- /package/admin/s6-rc/command/s6-rc-oneshot-run -l ../.. --"},"101":{"cpu":"0.1","cpu_average":"0","mem":"0.0","cmdline":"s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/nginx"},"102":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/go2rtc"},"103":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/frigate"},"104":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/certsync"},"112":{"cpu":"4.3","cpu_average":"3","mem":"0.1","cmdline":"/usr/local/go2rtc/bin/go2rtc -config=/dev/shm/go2rtc.yaml"},"125":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"bash ./run.user go2rtc-healthcheck"},"130":{"cpu":"9.2","cpu_average":"2","mem":"3.4","cmdline":"python3 -u -m frigate"},"143":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"nginx: master process nginx"},"203":{"cpu":"0.8","cpu_average":"0","mem":"0.1","cmdline":"nginx: worker process"},"204":{"cpu":"0.8","cpu_average":"0","mem":"0.1","cmdline":"nginx: worker process"},"205":{"cpu":"0.5","cpu_average":"0","mem":"0.1","cmdline":"nginx: worker process"},"210":{"cpu":"0.8","cpu_average":"0","mem":"0.1","cmdline":"nginx: worker process"},"230":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"nginx: cache manager process"},"388":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"bash ./run.user certsync"},"424":{"cpu":"0.1","cpu_average":"0","mem":"0.6","cmdline":"python3 -u -m frigate"},"454":{"cpu":"0.9","cpu_average":"0","mem":"1.0","cmdline":"frigate.recording_manager"},"461":{"cpu":"0.5","cpu_average":"0","mem":"0.6","cmdline":"frigate.review_segment_manager"},"479":{"cpu":"20.4","cpu_average":"7","mem":"1.4","cmdline":"frigate.detector.ov "},"496":{"cpu":"1.3","cpu_average":"1","mem":"0.8","cmdline":"frigate.output "},"505":{"cpu":"0.0","cpu_average":"0","mem":"0.1","cmdline":"/usr/lib/ffmpeg/7.0/bin/ffmpeg -threads 1 -f rawvideo -pix_fmt yuv420p -video_size 384x512 -i pipe: -threads 1 -f mpegts -s 540x720 -codec:v mpeg1video -q 8 -bf 0 pipe:"},"512":{"cpu":"0.0","cpu_average":"0","mem":"0.1","cmdline":"/usr/lib/ffmpeg/7.0/bin/ffmpeg -threads 1 -f rawvideo -pix_fmt yuv420p -video_size 640x360 -i pipe: -threads 1 -f mpegts -s 1280x720 -codec:v mpeg1video -q 8 -bf 0 pipe:"},"532":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"/usr/lib/ffmpeg/7.0/bin/ffmpeg -threads 1 -f rawvideo -pix_fmt yuv420p -video_size 640x360 -i pipe: -threads 1 -f mpegts -s 1280x720 -codec:v mpeg1video -q 8 -bf 0 pipe:"},"539":{"cpu":"0.0","cpu_average":"0","mem":"0.1","cmdline":"/usr/lib/ffmpeg/7.0/bin/ffmpeg -threads 1 -f rawvideo -pix_fmt yuv420p -video_size 640x360 -i pipe: -threads 1 -f mpegts -s 1280x720 -codec:v mpeg1video -q 8 -bf 0 pipe:"},"544":{"cpu":"0.5","cpu_average":"1","mem":"0.8","cmdline":"frigate.process:front_doorbell"},"547":{"cpu":"0.0","cpu_average":"0","mem":"0.1","cmdline":"/usr/lib/ffmpeg/7.0/bin/ffmpeg -threads 1 -f rawvideo -pix_fmt yuv420p -video_size 1280x720 -i pipe: -threads 1 -f mpegts -s 1280x720 -codec:v mpeg1video -q 8 -bf 0 pipe:"},"561":{"cpu":"2.3","cpu_average":"2","mem":"0.8","cmdline":"frigate.process:wyze-cam-thingino-front"},"570":{"cpu":"5.6","cpu_average":"1","mem":"0.8","cmdline":"frigate.process:wyze-cam-thingino-patio"},"577":{"cpu":"0.6","cpu_average":"0","mem":"0.8","cmdline":"frigate.process:wyze-cam-thingino-cat"},"586":{"cpu":"0.3","cpu_average":"0","mem":"0.8","cmdline":"frigate.capture:front_doorbell"},"608":{"cpu":"0.3","cpu_average":"0","mem":"0.8","cmdline":"frigate.capture:wyze-cam-thingino-front"},"622":{"cpu":"0.3","cpu_average":"0","mem":"0.8","cmdline":"frigate.capture:wyze-cam-thingino-patio"},"634":{"cpu":"0.4","cpu_average":"0","mem":"0.8","cmdline":"frigate.capture:wyze-cam-thingino-cat"},"2563475":{"cpu":"0.5","cpu_average":"0","mem":"0.2","cmdline":"/usr/lib/ffmpeg/7.0/bin/ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel_flags allow_profile_mismatch -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi -user_agent FFmpeg Frigate/0.16.3-3793098 -rtsp_transport tcp -timeout 10000000 -i rtsp://127.0.0.1:8554/wyze-cam-thingino-patio_sub -r 5 -vf fps=5,scale_vaapi=w=640:h=360,hwdownload,format=nv12,eq=gamma=1.4:gamma_weight=0.5 -threads 2 -f rawvideo -pix_fmt yuv420p pipe:"},"2837460":{"cpu":"0.6","cpu_average":"0","mem":"0.1","cmdline":"/usr/lib/ffmpeg/7.0/bin/ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel_flags allow_profile_mismatch -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi -user_agent FFmpeg Frigate/0.16.3-3793098 -rtsp_transport tcp -timeout 10000000 -i rtsp://127.0.0.1:8554/wyze-cam-thingino-cat_sub -r 5 -vf fps=5,scale_vaapi=w=640:h=360,hwdownload,format=nv12,eq=gamma=1.4:gamma_weight=0.5 -threads 2 -f rawvideo -pix_fmt yuv420p pipe:"},"2994732":{"cpu":"0.5","cpu_average":"0","mem":"0.1","cmdline":"/usr/lib/ffmpeg/7.0/bin/ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel_flags allow_profile_mismatch -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi -user_agent FFmpeg Frigate/0.16.3-3793098 -rtsp_transport tcp -timeout 10000000 -i rtsp://127.0.0.1:8554/wyze-cam-thingino-front_sub -r 5 -vf fps=5,scale_vaapi=w=640:h=360,hwdownload,format=nv12,eq=gamma=1.4:gamma_weight=0.5 -threads 2 -f rawvideo -pix_fmt yuv420p pipe:"},"3001484":{"cpu":"0.2","cpu_average":"0","mem":"0.1","cmdline":"/usr/lib/ffmpeg/7.0/bin/ffmpeg -hide_banner -loglevel warning -threads 2 -user_agent FFmpeg Frigate/0.16.3-3793098 -rtsp_transport tcp -timeout 10000000 -i rtsp://127.0.0.1:8554/wyze-cam-thingino-front -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy /tmp/cache/wyze-cam-thingino-front@%Y%m%d%H%M%S%z.mp4"},"3317411":{"cpu":"1.7","cpu_average":"1","mem":"0.2","cmdline":"/usr/lib/ffmpeg/7.0/bin/ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel_flags allow_profile_mismatch -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi -user_agent FFmpeg Frigate/0.16.3-3793098 -rtsp_transport tcp -timeout 10000000 -i rtsp://127.0.0.1:8554/front_doorbell -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy /tmp/cache/front_doorbell@%Y%m%d%H%M%S%z.mp4 -r 5 -vf fps=5,scale_vaapi=w=384:h=512,hwdownload,format=nv12,eq=gamma=1.4:gamma_weight=0.5 -threads 2 -f rawvideo -pix_fmt yuv420p pipe:"},"3326568":{"cpu":"0.4","cpu_average":"0","mem":"0.1","cmdline":"/usr/lib/ffmpeg/7.0/bin/ffmpeg -hide_banner -loglevel warning -threads 2 -user_agent FFmpeg Frigate/0.16.3-3793098 -rtsp_transport tcp -timeout 10000000 -i rtsp://127.0.0.1:8554/wyze-cam-thingino-cat -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy /tmp/cache/wyze-cam-thingino-cat@%Y%m%d%H%M%S%z.mp4"},"3334528":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"sh"},"3339203":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"sleep 60"},"3339373":{"cpu":"0.0","cpu_average":"0","mem":"0.1","cmdline":"/usr/lib/ffmpeg/7.0/bin/ffmpeg -hide_banner -loglevel warning -threads 2 -user_agent FFmpeg Frigate/0.16.3-3793098 -rtsp_transport tcp -timeout 10000000 -i rtsp://127.0.0.1:8554/wyze-cam-thingino-patio -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy /tmp/cache/wyze-cam-thingino-patio@%Y%m%d%H%M%S%z.mp4"},"3339546":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"sleep 30s"}},"service":{"uptime":555400,"version":"0.16.3-3793098","latest_version":"0.16.4","storage":{"/media/frigate/recordings":{"total":15257609.9,"used":7250140.1,"free":8007469.9,"mount_type":"xfs"},"/media/frigate/clips":{"total":15257609.9,"used":7250140.1,"free":8007469.9,"mount_type":"xfs"},"/tmp/cache":{"total":953.7,"used":2.3,"free":951.3,"mount_type":"tmpfs"},"/dev/shm":{"total":512.0,"used":80.0,"free":432.0,"mount_type":"tmpfs"}},"temperatures":{},"last_updated":1771783250},"processes":{"recording":{"pid":454},"review_segment":{"pid":461},"go2rtc":{"pid":112}}}Install method
Docker Compose
docker-compose file or Docker CLI command
Object Detector
OpenVino
Network connection
Wireless
Camera make and model
Wyze Cam v3 w/ Thingino firmware
Screenshots of the Frigate UI's System metrics pages
No response
Any other information that may be helpful
No response
Beta Was this translation helpful? Give feedback.
All reactions