I like to share some experience i made regarding the stability issues i had with my zero w and various programs which use the camera.
In the beginning of using my zero w and the camera for streaming via raspivid and vlc i experience various system freezes. After a while after streaming the system stops. Streaming stops and i can't log into the system.
When i use ffmpeg to capture the stream while streaming, the system crashed even faster.
Most of the time kernel oops occured and the logs never gave me information which let me identify the problem.
Same with Rpi Cam Control. When i start record or use motion detection, the system will freeze after while.
I used Raspian lite. So i tested it with fresh install without and with update && upgrade. No change.
Distro.upgrade. Nope. Latest kernel and firmware. Nope.
I changed the Memory split. Nothing. I changed the power source. Got some with enough power and one with volt/ampere display. Nothing. And at this time i only tried to get a stable rtsp streaming, because i gave more or less up and saw the raspberry zero w only as streaming device.
I tried all the above programs with a pi 2b and they were always stable. So i thought it had to be a zero w problem. But the ram or the processing power could not be the problem. All the parameters were ok and i tested the system with 100% cpu usage and it never crashed like this.
So far my story. And now the good ending.
I thought mmmh stability ...stability, volt Volt!. More Power!!!
So i changed the config.txt and added:
and now it runs stable. Everything Rpi cam control, streaming while recording. Runs for 4 Days.
So i don't know why. My changes are increasing the volts and to increase to 1000mhz which should involve an increasing of the voltage too.
So i stay with a happy mmmh.
Is this a common problem and fix with the zero w or is it just my board?