Wyzecam mocord duration

Forum for questions and support relating to the 1.34.x releases only.
Post Reply
trumee
Posts: 69
Joined: Tue Mar 08, 2011 3:33 pm

Wyzecam mocord duration

Post by trumee »

Hello,

I have a Wyzecam V2 running RTSP firmware. I want to record continuously and set it up as a 'mocord'. Unfortunately, the duration which zoneminder records is very short and is not fixed. The screenshot below shows it varying from 31 seconds to 3 minutes. Is there any way to make this fixed duration?

Image

It is setup as follows
Image
Image
Image

Thanks
dougmccrary
Posts: 1210
Joined: Sat Aug 31, 2019 7:35 am
Location: San Diego

Re: Wyzecam mocord duration

Post by dougmccrary »

Try setting buffers 35 to 0 (zero)
Check logs, I think the camera is dropping out somehow.
trumee
Posts: 69
Joined: Tue Mar 08, 2011 3:33 pm

Re: Wyzecam mocord duration

Post by trumee »

I get an error message that buffer size cannot be less than 1.
dougmccrary
Posts: 1210
Joined: Sat Aug 31, 2019 7:35 am
Location: San Diego

Re: Wyzecam mocord duration

Post by dougmccrary »

My bad. You're running 1.34...
You can try 100 or so buffers.
Looks like maybe your hardware is not up to the task.

Try disabling Save JPEGs

I'd also check that the camera isn't dropping out - monitor it with VLC program to be sure.
trumee
Posts: 69
Joined: Tue Mar 08, 2011 3:33 pm

Re: Wyzecam mocord duration

Post by trumee »

You maybe right about dropping of the wyzecam. I viewed the stream from VLC and after about a minute the stream died. The camera itself is close to the wifi AP so that shouldnt be the problem. I suspect the RTSP firmware on the camera is buggy.

Here is the VLC DEBUG log,

Code: Select all

main error: buffer deadlock prevented
main error: video output creation failed
main error: failed to create video output
main error: video output creation failed
main error: failed to create video output
main warning: playback too early (-42366): down-sampling
main warning: playback too late (79017): up-sampling
main debug: resampling stopped (drift: -13676 us)
main warning: playback too early (-115368): down-sampling
main debug: resampling stopped (drift: -36395 us)
main warning: playback too early (-42908): down-sampling
main warning: playback way too early (-128491): playing silence
main debug: inserting 1027 zeroes
pulse debug: underflow
main warning: picture is too late to be displayed (missing 6598 ms)
main warning: picture is too late to be displayed (missing 6525 ms)
main warning: picture is too late to be displayed (missing 6465 ms)
main error: ES_OUT_SET_(GROUP_)PCR is called too late (pts_delay increased to 1000 ms)
main debug: ES_OUT_RESET_PCR called
main warning: buffer too late (-6004955 us): dropped
pulse debug: changing sink 1: alsa_output.pci-0000_00_1f.3.iec958-stereo (Built-in Audio Digital Stereo (IEC958))
pulse debug: underflow
main debug: Buffering 0%
main debug: Buffering 15%
main debug: Buffering 31%
main debug: Buffering 44%
main debug: Buffering 47%
main debug: Buffering 63%
main debug: Buffering 77%
main debug: Buffering 79%
main debug: Buffering 91%
main debug: Buffering 95%
main debug: Stream buffering done (1114 ms in 36 ms)
main error: buffer deadlock prevented
main debug: Decoder wait done in 0 ms
pulse debug: deferring start (372385 us)
pulse debug: deferring start (212306 us)
pulse debug: deferring start (52136 us)
pulse warning: starting late (-107935 us)
main warning: playback way too early (-371755): playing silence
main debug: inserting 2974 zeroes
main warning: playback way too late (228783): flushing buffers
pulse debug: changing sink 1: alsa_output.pci-0000_00_1f.3.iec958-stereo (Built-in Audio Digital Stereo (IEC958))
pulse debug: started
vlcpulse debug: write index corrupt
pulse debug: cannot synchronize start
pulse debug: deferring start (1264272 us)
vlcpulse debug: write index corrupt
pulse debug: cannot synchronize start
pulse debug: deferring start (1263547 us)
vlcpulse debug: write index corrupt
pulse debug: cannot synchronize start
pulse debug: deferring start (1263520 us)
pulse debug: deferring start (1064403 us)
pulse debug: deferring start (1064389 us)
pulse debug: deferring start (1064376 us)
pulse debug: deferring start (1064366 us)
pulse debug: changing sink 1: alsa_output.pci-0000_00_1f.3.iec958-stereo (Built-in Audio Digital Stereo (IEC958))
pulse debug: deferring start (1063487 us)
pulse debug: deferring start (894021 us)
pulse debug: deferring start (890860 us)
pulse debug: deferring start (726690 us)
pulse debug: deferring start (564262 us)
pulse debug: deferring start (393859 us)
avcodec debug: available hardware decoder output format 100 (vdpau)
avcodec debug: available hardware decoder output format 119 (cuda)
avcodec debug: available hardware decoder output format 46 (vaapi_vld)
avcodec debug: available software decoder output format 0 (yuv420p)
avcodec debug: reusing decoder output format 0
pulse debug: deferring start (360715 us)
pulse debug: deferring start (193041 us)
pulse debug: deferring start (112384 us)
pulse debug: starting deferred
pulse debug: changing sink 1: alsa_output.pci-0000_00_1f.3.iec958-stereo (Built-in Audio Digital Stereo (IEC958))
pulse debug: started
pulse debug: underflow
live555 warning: no data received in 10s, eof ?
main debug: EOF reached
main debug: waiting decoder fifos to empty
main warning: picture is too late to be displayed (missing 8590 ms)
main warning: picture is too late to be displayed (missing 8518 ms)
pulse debug: changing sink 1: alsa_output.pci-0000_00_1f.3.iec958-stereo (Built-in Audio Digital Stereo (IEC958))
main warning: picture is too late to be displayed (missing 8466 ms)
main warning: picture is too late to be displayed (missing 8401 ms)
main warning: picture is too late to be displayed (missing 8336 ms)
main debug: killing decoder fourcc `h264'
main debug: removing module "avcodec"
dbus debug: Getting property Position
dbus debug: Getting property CanSeek
main debug: saving a free vout
main debug: reusing provided vout
main debug: removing module "h264"
main debug: killing decoder fourcc `alaw'
main debug: removing module "g711"
main debug: removing module "ugly"
main debug: removing module "audio_format"
main debug: removing module "scaletempo"
main debug: removing module "audio_format"
main debug: removing module "integer_mixer"
main debug: keeping audio output
main debug: removing module "live555"
main debug: Program doesn't contain anymore ES
main debug: dead input
main debug: changing item without a request (current 1/2)
main debug: nothing to play
main debug: destroying useless vout
main debug: removing module "blend"
pulse debug: changing sink 1: alsa_output.pci-0000_00_1f.3.iec958-stereo (Built-in Audio Digital Stereo (IEC958))
main debug: removing module "swscale"
main debug: Filter 0x7fbb940f79e0 removed from chain
main debug: removing module "xcb_xv"
dbus_screensaver debug: got cookie 10281
main debug: removing module "dbus_screensaver"
qt debug: releasing video...
qt debug: IM: Deleting the input
qt debug: Video is not needed anymore
qt warning: orphaned video window
main debug: removing module "freetype"
main debug: removing module "yuvp"
main debug: removing module "swscale"
dbus debug: Getting property CanSeek
pulse debug: changing sink 1: alsa_output.pci-0000_00_1f.3.iec958-stereo (Built-in Audio Digital Stereo (IEC958))
dougmccrary
Posts: 1210
Joined: Sat Aug 31, 2019 7:35 am
Location: San Diego

Re: Wyzecam mocord duration

Post by dougmccrary »

Yeah.
Are there settings like frame rate and resolution you can change in the camera? If so set them to small and slow and if that helps you can run them up higher.
Does it have a wired connection port?
Post Reply