How to use a RTMP stream in Motion
Hi, i use Motion a few years with a couple of camera's. I run it on my Raspberry Pi. Now i bought a new camera (Vanxse V-B810 / Onvif) i cannot connect this camera with Motion. I tried various approaches without luck. I can connect the cam from a browser on RTMP (rtmp://xxx.xxx.xxx.xxx:8002/720p.264) or HTTP (http://xxx.xxx.xxx.xxx:8002/cgi-bin/view.cgi
) also can get snapshots (url/snapshot.jpg)
Connection by Motion's config file are unsuccesful. Looked at the patches i cannot find a patch that could help.
I tryed to restream with VLC, i was not succesfull, think it has to do with my inexperience. Also tried FFMPEG and crtmpserver.
Last thing i tryed is dump the HTTP stream to single JPG files using avconv. That works, i can connect to those JPG file's but i cannot get avconv update a single JPG file, it creates series of files. The manual says i have to use the -update option. (avconv -i http://xxx.xxx.xxx.xxx:8002/cgi-bin/view.cgi
-f image2 -update 1 /var/www/snapshot.jpg) Updating a single image does not work, avconv says he cannot set the option '1'.
Is there another way to connect Motion or am i on the right track ?
Paste in your error messages, config settings, terminal window output etc in this text field.
| Motion version:
| ffmpeg version:
| Server OS:
|| "Raspbian GNU/Linux 7 (wheezy) 3.10.25+
- 11 May 2014
You probably mean RTSP? RTSP is supoprted in the lasted development build. Try to get fresh sources and recompile
- 26 Sep 2014