FiveLeavesLeft / WyzeCameraLiveStream

Hack to allow live streaming from wyze cameras to vlc or mpv on your desktop.
MIT License
100 stars 7 forks source link

rasp stream is skipping frames #4

Open nijhawank opened 3 years ago

nijhawank commented 3 years ago

When I use the Wyze iOS app, the live stream is smooth but with the stream hack installed, the rtsp stream using VLC on macOS seems to skip frames. I have v3 with the latest 4.36.0.280 firmware installed. I also see the following errors on the console...

VLC media player 3.0.11.1 Vetinari (revision 3.0.11.1-0-g52483f3ca2) [00007fe39f704310] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. [00007fe39f676f20] h26x demux error: this doesn't look like a h264 ES stream, continuing anyway 2021-04-28 10:44:48.747 VLC[2619:42540] Can't find app with identifier com.apple.iTunes 2021-04-28 10:44:48.844 VLC[2619:42540] Can't find app with identifier com.spotify.client [00007fe3a2c82ea0] videotoolbox decoder: Using Video Toolbox to decode 'h264' [00007fe3a2c82ea0] videotoolbox decoder: vt cvpx chroma: 420v 2021-04-28 10:44:51.365 VLC[2619:42540] Can't find app with identifier com.apple.iTunes 2021-04-28 10:44:51.435 VLC[2619:42540] Can't find app with identifier com.spotify.client [00007fe3a08ef4f0] main input error: ES_OUTSET(GROUP_)PCR is called too late (pts_delay increased to 1000 ms) [00007fe3a2c82ea0] main decoder error: buffer deadlock prevented [00007fe3a08ef4f0] main input error: ES_OUTSET(GROUP_)PCR is called too late (pts_delay increased to 1230 ms) [00007fe3a2c82ea0] main decoder error: buffer deadlock prevented [00007fe3a08ef4f0] main input error: ES_OUTSET(GROUP_)PCR is called too late (pts_delay increased to 2001 ms) [00007fe3a08ef4f0] main input error: ES_OUTSET(GROUP_)PCR is called too late (pts_delay increased to 4497 ms) [00007fe3a08ef4f0] main input error: ES_OUTSET(GROUP_)PCR is called too late (pts_delay increased to 4547 ms) [00007fe3a2314700] bonjour renderer discovery: starting discovery [00007fe3a08ef4f0] main input error: ES_OUTSET(GROUP_)PCR is called too late (pts_delay increased to 4824 ms) [00007fe3a2314700] bonjour renderer discovery: stopped discovery [00007fe3a08ef4f0] main input error: ES_OUTSET(GROUP_)PCR is called too late (pts_delay increased to 4927 ms) [00007fe3a08ef4f0] main input error: ES_OUTSET(GROUP_)PCR is called too late (pts_delay increased to 5194 ms)

FiveLeavesLeft commented 3 years ago

The output above is from my stream hack or some rtsp software? You might try the version I just released it had some minor changes at start up and the first several frames.

nijhawank commented 3 years ago

The above output is from VLC on Mac. Your libimp.so at crb.users.sonic.net/current/libimp.so is still the old version. I have your existing hack installed. Can you provide me the latest libimp.so only.