[SOLVED] Need Help: How to use a snapshot generated by avconv/ffmpeg
Posted: Tuesday 13 February 2018 13:47
Hello,
I use avconv to generate snapshots from a camera that doesn't support this feature (avconv -i http://user:[email protected]/img/video.asf -update 1 -vsync 1 -r .5 -an /home/pi/Samba/WVC54GC-MEZZANINE.jpg )
Then I have a symbolic link to get the snapshot within domoticz web domain (/home/pi/domoticz/www/iot_CAM> ln -s /home/pi/Samba/WVC54GC-MEZZANINE.jpg ./WVC54GC-MEZZANINE)
Up to this step, everything works fine.
But I can't success to use the snapshots with Domoticz. You can see in the screenshot below the parameters I use in Edit Camera Mode. In this edit mode, I can get the snapshot if the username is null.
The issues I get :
- when in Edit mode I save the parameters, the username doesn't stay null, I get my login user name and then I can't get the snapshots anymore,
- It doesn't work at all in ShowCameraLiveSteam (when you click at the camera icon of the switch linked to the camera).
What is wrong? How do you parameter Domoticz to use snapshots generated by avconv?
I use avconv to generate snapshots from a camera that doesn't support this feature (avconv -i http://user:[email protected]/img/video.asf -update 1 -vsync 1 -r .5 -an /home/pi/Samba/WVC54GC-MEZZANINE.jpg )
Then I have a symbolic link to get the snapshot within domoticz web domain (/home/pi/domoticz/www/iot_CAM> ln -s /home/pi/Samba/WVC54GC-MEZZANINE.jpg ./WVC54GC-MEZZANINE)
Up to this step, everything works fine.
But I can't success to use the snapshots with Domoticz. You can see in the screenshot below the parameters I use in Edit Camera Mode. In this edit mode, I can get the snapshot if the username is null.
The issues I get :
- when in Edit mode I save the parameters, the username doesn't stay null, I get my login user name and then I can't get the snapshots anymore,
- It doesn't work at all in ShowCameraLiveSteam (when you click at the camera icon of the switch linked to the camera).
What is wrong? How do you parameter Domoticz to use snapshots generated by avconv?