I am trying to get record videos via ffmpeg but I would like to position the camera to a specific preset.
I know I can set it via http request before recording, like
Code: Select all
$ wget http://user:password@192.168.1.154/cgi-bin/ptz.cgi?action=start\&channel=0\&code=GotoPreset\&arg1=0\&arg2=1\&arg3=0\&arg4=0Code: Select all
$ ffmpeg -y -rtsp_transport tcp -i rtsp://user:password@192.168.1.154:554/cam/realmonitor?channel=1\&subtype=0 -vcodec copy -acodec copy -t 10 test.mp4Thank you.