Hello, good afternoon I have got a IP camera in an app where I have had to log in. In the app's setting it appears the posibility of setting up Onvif with an user and password. My intention is to record the camera using ffmpeg. I have tried to reproduce the streaming without success: ffplay http://admin:password@192.168.1.59:8000 and to record it in various protocols and formats: ffmpeg -i http://admin:password@192.168.1.59:8000 stream.h264 or ffmpeg -i rtsp://admin:password@192.168.1.59:8000//onvif/device_service stream.mp4 Nothing happens and when I cancel with "ctrl + c" appear "Exiting normally, received signal 2." I have been able to see the camera in software under Windows such as AnyCam or IP Camera Viewer ( is detected as PPS IPC based on ONVIF MINI 9T). But I am a linux user and I prefer to use ffmpeg Do you have any sugestion? Thank you very much.
I have tried to reproduce the streaming without success:
ffplay http://admin:password@192.168.1.59:8000
and to record it in various protocols and formats:
ffmpeg -i http://admin:password@192.168.1.59:8000 stream.h264 or ffmpeg -i rtsp://admin:password@192.168.1.59:8000//onvif/device_service stream.mp4
Nothing happens and when I cancel with "ctrl + c" appear "Exiting normally, received signal 2."
How did you find these URLs? FFmpeg doesn't have ONVIF support so you normally have to use an ONVIF program to query the camera and ask it for its streaming URLs, and then pass those to FFmpeg.
I have been able to see the camera in software under Windows such as AnyCam or IP Camera Viewer ( is detected as PPS IPC based on ONVIF MINI 9T). But I am a linux user and I prefer to use ffmpeg
See if you can find a Linux-compatible ONVIF utility (doesn't have to be a viewer, there are command-line ones around) and use that to request the available streaming URLs from the camera. Usually there are multiple URLs and the one you pick depends on the codec and video resolution you prefer. Cheers, Adam.
participants (2)
-
Adam Nielsen -
mac de paz