Comments (13)
I've noticed that sometimes.
Wonder if we might be able to do something with FFMpeg?
from docker-wyze-bridge.
I've just tried adding:
'-fflags', 'nobuffer',
to FFMPEG params and it's been better for me. But that might just happen to be a one off . I'll keep on trying with that.
Edit: nope no dice back to same behavior after a while.
from docker-wyze-bridge.
I think recordings from Frigate are fine, so I tried using the input and output parameters from the Frigate config, but no luck, still getting odd frame order when viewing live.
from docker-wyze-bridge.
Have you tried -err_detect ignore_err
or some other fflags like +flush_packets
+genpts
or +discardcorrupt
I wonder if moving to something like gstreamer or an alternative would help..? Open to suggestions!
from docker-wyze-bridge.
Yep, I've tried those, here's ones I've tried (both commented out ones too, this just my file as is).
-hide_banner',
# '-stats' if 'DEBUG_FFMPEG' in os.environ else '-nostats', #'-nostats',
'-avoid_negative_ts', 'make_zero', '-fflags', '+genpts+discardcorrupt',
'-use_wallclock_as_timestamps', '1',
#'-err_detect', 'ignore_err' '-loglevel','info', ## if 'DEBUG_FFMPEG' in os.environ else 'fatal',
'-f', sess.camera.camera_info['videoParm']['type'].lower(),
'-framerate', sess.camera.camera_info['videoParm']['fps'], '-i', '-', # '-b:v', str(bitrate)+'k', #'-reset_timestamps' , '1', '-strftime', '1',
'-vcodec', 'copy',
'-f','rtsp',
from docker-wyze-bridge.
Does enabling PYTHONUNBUFFERED=1
in your docker-compose help?
Also, could you give the arm version a try? For some reason it seems to be more stable.
from docker-wyze-bridge.
I'll try the PYTHONUNBUFFERED=1 - on using the arm version, I'm on ubuntu on an intel i7 - do you still want me to try it?
Edit: PythonBuffered didn't seem to help, still seeing the odd frame order artefacts if I let it run for a minute or so.
from docker-wyze-bridge.
Are the frames out of order on all streams or just hls?
from docker-wyze-bridge.
I've only looked at rtsp.
from docker-wyze-bridge.
Does adjusting the popen bufsize
help?
docker-wyze-bridge/app/cameras.py
Line 122 in cf7c5cf
from docker-wyze-bridge.
No joy on that either - fiddled around with settings but bufsize=1024*100 seemed to work in, the sense of getting a steady stream, but still jumbled timestamp.
from docker-wyze-bridge.
Is this still an issue with v0.5.0?
from docker-wyze-bridge.
Looks good now - jumping back on board after returning to wyze RTSP, now looks stable and no timestamp issues, thanks for your efforts @mrlt8 .
from docker-wyze-bridge.
Related Issues (20)
- BUG: Wyzecam V4 Video Lag HOT 64
- Trigger web recording or snapshot? HOT 2
- BUG: Snapshots from stream vs. from Wyze HOT 1
- BUG: Doorbell WYZEDB3 Stopped Working HOT 18
- Hardware Acceleration HOT 3
- CAM V4 Firmware Version Support HOT 10
- Keep getting 'Invalid User Name or Password.' even though credentials are correct HOT 3
- BUG: v2.10.0 - Authentication problem - it's asking for username/password. HOT 4
- BUG: Unable to login after pulling latest version HOT 8
- BUG: cannot login after restart HOT 1
- BUG: v2.10.1 - Authentication problem - username/password not accepted HOT 6
- Camera
- BUG: Turning off a camera's notifications doesn't actually turn them off. HOT 4
- BUG: Latest version cannot stay connected to my Wyze V3 cameras but 2.9.12 and previous work fine HOT 7
- BUG: API key not switching HOT 5
- BUG: Login screen asking for Email, Password, Key ID and API key HOT 4
- BUG: Recording Playback Issues HOT 10
- Unable to access WebUI - "Access to 127.0.0.1 was denied You don't have authorization to view this page" HOT 1
- Video stream ports connection failed HOT 3
- RTSP not able to connect HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-wyze-bridge.