Motion - Support Question 2014x 05x 11x 125210

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:// or HTTP ( 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 -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: 3.2.12
ffmpeg version: 0.8.10-6:0.8.10-1+rpi1
Libraries: ffmpeg
Server OS: "Raspbian GNU/Linux 7 (wheezy) 3.10.25+
-- RichardTePas - 11 May 2014


You probably mean RTSP? RTSP is supoprted in the lasted development build. Try to get fresh sources and recompile

-- TosiaraT - 26 Sep 2014
Topic revision: r2 - 26 Sep 2014, TosiaraT
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Please do not email Kenneth for support questions (read why). Use the Support Requests page or join the Mailing List.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.