You can subscribe to this list here.
| 2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(172) |
Jun
(145) |
Jul
(190) |
Aug
(189) |
Sep
(84) |
Oct
(177) |
Nov
(105) |
Dec
(149) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2006 |
Jan
(54) |
Feb
(52) |
Mar
(79) |
Apr
(87) |
May
(76) |
Jun
(61) |
Jul
(50) |
Aug
(72) |
Sep
(98) |
Oct
(46) |
Nov
(69) |
Dec
(45) |
| 2007 |
Jan
(92) |
Feb
(58) |
Mar
(75) |
Apr
(44) |
May
(41) |
Jun
(36) |
Jul
(28) |
Aug
(24) |
Sep
(42) |
Oct
(79) |
Nov
(72) |
Dec
(93) |
| 2008 |
Jan
(46) |
Feb
(74) |
Mar
(39) |
Apr
(40) |
May
(66) |
Jun
(58) |
Jul
(61) |
Aug
(58) |
Sep
(30) |
Oct
(62) |
Nov
(63) |
Dec
(47) |
| 2009 |
Jan
(50) |
Feb
(26) |
Mar
(60) |
Apr
(31) |
May
(36) |
Jun
(40) |
Jul
(59) |
Aug
(56) |
Sep
(28) |
Oct
(25) |
Nov
(19) |
Dec
(42) |
| 2010 |
Jan
(5) |
Feb
(42) |
Mar
(26) |
Apr
(46) |
May
(28) |
Jun
(49) |
Jul
(19) |
Aug
(38) |
Sep
(25) |
Oct
(28) |
Nov
(32) |
Dec
(18) |
| 2011 |
Jan
(51) |
Feb
(44) |
Mar
(20) |
Apr
(46) |
May
(51) |
Jun
(128) |
Jul
(95) |
Aug
(24) |
Sep
(19) |
Oct
(81) |
Nov
(7) |
Dec
(17) |
| 2012 |
Jan
(36) |
Feb
(38) |
Mar
(12) |
Apr
(14) |
May
(20) |
Jun
(15) |
Jul
(23) |
Aug
(54) |
Sep
(22) |
Oct
(65) |
Nov
(38) |
Dec
(34) |
| 2013 |
Jan
(35) |
Feb
(101) |
Mar
(94) |
Apr
(43) |
May
(37) |
Jun
(33) |
Jul
(55) |
Aug
(7) |
Sep
(61) |
Oct
(17) |
Nov
(95) |
Dec
(118) |
| 2014 |
Jan
(54) |
Feb
(55) |
Mar
(112) |
Apr
(27) |
May
(31) |
Jun
(4) |
Jul
(44) |
Aug
(39) |
Sep
(72) |
Oct
(73) |
Nov
(8) |
Dec
(23) |
| 2015 |
Jan
(35) |
Feb
(17) |
Mar
(12) |
Apr
(12) |
May
(29) |
Jun
(11) |
Jul
(79) |
Aug
(60) |
Sep
(101) |
Oct
(52) |
Nov
(23) |
Dec
(45) |
| 2016 |
Jan
(34) |
Feb
(67) |
Mar
(39) |
Apr
(11) |
May
(14) |
Jun
(25) |
Jul
(4) |
Aug
(147) |
Sep
(22) |
Oct
(42) |
Nov
(36) |
Dec
(39) |
| 2017 |
Jan
(21) |
Feb
(12) |
Mar
(40) |
Apr
(1) |
May
(22) |
Jun
(37) |
Jul
(44) |
Aug
(18) |
Sep
(23) |
Oct
(10) |
Nov
(9) |
Dec
(40) |
| 2018 |
Jan
(51) |
Feb
(82) |
Mar
(46) |
Apr
(23) |
May
(78) |
Jun
(27) |
Jul
(59) |
Aug
(21) |
Sep
(83) |
Oct
(52) |
Nov
(76) |
Dec
(38) |
| 2019 |
Jan
(109) |
Feb
(39) |
Mar
(45) |
Apr
(28) |
May
(61) |
Jun
(72) |
Jul
(82) |
Aug
(80) |
Sep
(36) |
Oct
(63) |
Nov
(33) |
Dec
(49) |
| 2020 |
Jan
(20) |
Feb
(106) |
Mar
(59) |
Apr
(66) |
May
(41) |
Jun
(115) |
Jul
(32) |
Aug
(55) |
Sep
(32) |
Oct
(69) |
Nov
(32) |
Dec
(22) |
| 2021 |
Jan
(70) |
Feb
(99) |
Mar
(38) |
Apr
(34) |
May
(62) |
Jun
(28) |
Jul
(51) |
Aug
(59) |
Sep
(26) |
Oct
(5) |
Nov
(49) |
Dec
(4) |
| 2022 |
Jan
(26) |
Feb
(50) |
Mar
(49) |
Apr
(19) |
May
(15) |
Jun
(29) |
Jul
(20) |
Aug
(11) |
Sep
(9) |
Oct
|
Nov
(1) |
Dec
(46) |
| 2023 |
Jan
(36) |
Feb
(18) |
Mar
(28) |
Apr
(25) |
May
(4) |
Jun
|
Jul
(9) |
Aug
(11) |
Sep
(6) |
Oct
(19) |
Nov
(30) |
Dec
(43) |
| 2024 |
Jan
(42) |
Feb
(10) |
Mar
(24) |
Apr
(27) |
May
(5) |
Jun
(8) |
Jul
(23) |
Aug
(6) |
Sep
(13) |
Oct
(4) |
Nov
|
Dec
(10) |
| 2025 |
Jan
|
Feb
(4) |
Mar
|
Apr
(15) |
May
(7) |
Jun
(4) |
Jul
(1) |
Aug
(4) |
Sep
(1) |
Oct
(6) |
Nov
(1) |
Dec
(21) |
|
From: jmb <jm...@gm...> - 2025-12-27 13:23:56
|
Hello Tosiara, Thank you very much for so patiently and persistently tracking down the cause and suggesting a solution to the problem! I used the 1st variant ( netcam_url mjpeg://lg-230:8080/video ) you suggested in the /etc/motion/conf.d/camera1.conf file and now it works! Open source software which I have been using for 2 decades is such a wonderful ecosystem to be using; because of various dedicated and selfless contributors - you being one of them... I truncated all the intermediate email exchanges we had so others (should they encounter the same problem) can find the simple fix you suggested below. Wishing you and all other FOSS contributors a happy new year. Many thanks, JMB On 12/26/25 09:29, tosiara wrote: > Try to change netcam_url to one of the following and see if that > changes anything: > > netcam_url mjpeg://lg-230:8080/video > or > netcam_url mjpg://lg-230:8080/video > >>>>>>>> Hello, >>>>>>>> >>>>>>>> I have been using motion software for more than 2 decades. Wonderful >>>>>>>> software that I have found it to be. >>>>>>>> >>>>>>>> I am currently using: >>>>>>>> Version 4.7.1(C)2000-24 J.Vreeken/F.Heusden/K.Lavrsen/Project team >>>>>>>> ... where motion is running on a server at 192.168.1.100 under Ubuntu >>>>>>>> 24.04 and acquiring its video from older (repurposed) Android phones. I >>>>>>>> am trying to make it work with the following older Android phones (as IP >>>>>>>> cameras) that are running Pavel Klebovich's IPWebCam app. >>>>>>>> >>>>>>>> What I am finding: >>>>>>>> a) Android 5.1.1 MotoE2 -WORKS >>>>>>>> with ONVIF support enabled in IPWebCam >>>>>>>> Brave-browser http://192.168.1.2XX:8080/video (video works) >>>>>>>> Motion (streams the video perfectly) from >>>>>>>> http://192.168.1.100:8081/2XX/stream >>>>>>>> b) Android 4.0.4 Kyocera -WORKS >>>>>>>> with ONVIF support enabled in IPWebCam >>>>>>>> Brave-browser http://192.168.1.2YY:8081/video (video works) >>>>>>>> Motion (streams the video perfectly) from >>>>>>>> http://192.168.1.100:8081/2YY/stream >>>>>>>> c) Android 2.2.2 LG -FAILS >>>>>>>> ONVIF support NOT available in IPWebCam >>>>>>>> Brave-browser http://192.168.1.2ZZ:8081/video (video works) >>>>>>>> Motion reports: "Unable to open video device, since ..." from >>>>>>>> http://192.168.1.100:8081/2ZZ/stream >>>>>>>> It is the oldest Android 2.2.2 LG phone that's not working with motion. >>>>>>>> Incidentally is is also the most reliable one for running IPWebCam !!! >>>>>>>> >>>>>>>> QUESTIONS: >>>>>>>> Could it be because ONVIF is unavailable in IPWebCam version of the >>>>>>>> oldest OS -Android 2.2.2? I realize the differences could be the >>>>>>>> versions of IPWebCam apps between the 3 Android OSes. But my question >>>>>>>> is whether I can somehow overcome the limitations of the oldest Android >>>>>>>> OS and or IPWebCam app available for it? Are there any motion software >>>>>>>> configuration settings I could tweak? >>>>>>>> >>>>>>>> SIDE NOTE: >>>>>>>> Am also running motion on various generations of RPi quite reliably! >>>>>>>> >>>>>>>> REQUEST: >>>>>>>> Any help would be much appreciated, for keeping older hardware useful >>>>>>>> and less destined to the landfills. Thanks. >>>>>>>> >>>>>>>> JMB >>>>>>>> _______________________________________________ >>>>>>>> Motion-user mailing list >>>>>>>> Mot...@li... >>>>>>>> https://lists.sourceforge.net/lists/listinfo/motion-user >>>>>>>> https://motion-project.github.io/ >>>>>>>> >>>>>>>> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user >> |
|
From: tosiara <to...@gm...> - 2025-12-26 14:29:42
|
Try to change netcam_url to one of the following and see if that
changes anything:
netcam_url mjpeg://lg-230:8080/video
or
netcam_url mjpg://lg-230:8080/video
On Fri, Dec 26, 2025 at 3:54 PM jmb <jm...@gm...> wrote:
>
> Hello Tosiara,
>
> I have captured a brief pertinent (LEVEL 9) log of the Android (@230) that fails to stream with abbreviated time stamp:
> ----------------------------------------------------------
> [0:motion] [NTC] [ALL] [43:13] motion_startup: Motion 4.7.1 Started
> [0:motion] [NTC] [ALL] [43:13] motion_startup: Using default log type (ALL)
> [0:motion] [NTC] [ALL] [43:13] motion_startup: Using log type (ALL) log level (ALL)
> [0:motion] [INF] [ALL] [43:13] conf_output_parms: Writing configuration parameters from all files (2):
> [0:motion] [INF] [ALL] [43:13] Thread 0 - Config file: /etc/motion/motion.conf
> [0:motion] [INF] [ALL] [43:13] daemon off
> [0:motion] [INF] [ALL] [43:13] setup_mode off
> [0:motion] [INF] [ALL] [43:13] pid_file
> [0:motion] [INF] [ALL] [43:13] log_file /home/motion/motion.log
> [0:motion] [INF] [ALL] [43:13] log_level 9
> [0:motion] [INF] [ALL] [43:13] log_type ALL
> [0:motion] [INF] [ALL] [43:13] quiet on
> [0:motion] [INF] [ALL] [43:13] native_language on
> [0:motion] [INF] [ALL] [43:13] watchdog_tmo 30
> [0:motion] [INF] [ALL] [43:13] watchdog_kill 10
> [0:motion] [INF] [ALL] [43:13] camera_name
> [0:motion] [INF] [ALL] [43:13] camera_id 0
> [0:motion] [INF] [ALL] [43:13] target_dir /home/motion/Android
> [0:motion] [INF] [ALL] [43:13] video_device /dev/video0
> [0:motion] [INF] [ALL] [43:13] video_params
> [0:motion] [INF] [ALL] [43:13] auto_brightness 0
> [0:motion] [INF] [ALL] [43:13] tuner_device
> [0:motion] [INF] [ALL] [43:13] roundrobin_frames 1
> [0:motion] [INF] [ALL] [43:13] roundrobin_skip 1
> [0:motion] [INF] [ALL] [43:13] roundrobin_switchfilter off
> [0:motion] [INF] [ALL] [43:13] netcam_url
> [0:motion] [INF] [ALL] [43:13] netcam_params keepalive=off,tolerant_check=on,rtsp_transport=tcp
> [0:motion] [INF] [ALL] [43:13] netcam_high_url
> [0:motion] [INF] [ALL] [43:13] netcam_high_params
> [0:motion] [INF] [ALL] [43:13] netcam_userpass
> [0:motion] [INF] [ALL] [43:13] width 640
> [0:motion] [INF] [ALL] [43:13] height 480
> [0:motion] [INF] [ALL] [43:13] framerate 15
> [0:motion] [INF] [ALL] [43:13] minimum_frame_time 0
> [0:motion] [INF] [ALL] [43:13] rotate 0
> [0:motion] [INF] [ALL] [43:13] flip_axis none
> [0:motion] [INF] [ALL] [43:13] locate_motion_mode off
> [0:motion] [INF] [ALL] [43:13] locate_motion_style box
> [0:motion] [INF] [ALL] [43:13] text_left
> [0:motion] [INF] [ALL] [43:13] text_right %Y%m%d\n%T-%q
> [0:motion] [INF] [ALL] [43:13] text_changes off
> [0:motion] [INF] [ALL] [43:13] text_scale 1
> [0:motion] [INF] [ALL] [43:13] text_event %Y%m%d%H%M%S
> [0:motion] [INF] [ALL] [43:13] emulate_motion off
> [0:motion] [INF] [ALL] [43:13] pause off
> [0:motion] [INF] [ALL] [43:13] threshold 1500
> [0:motion] [INF] [ALL] [43:13] threshold_maximum 0
> [0:motion] [INF] [ALL] [43:13] threshold_tune off
> [0:motion] [INF] [ALL] [43:13] noise_level 32
> [0:motion] [INF] [ALL] [43:13] noise_tune on
> [0:motion] [INF] [ALL] [43:13] despeckle_filter EedDl
> [0:motion] [INF] [ALL] [43:13] area_detect
> [0:motion] [INF] [ALL] [43:13] mask_file
> [0:motion] [INF] [ALL] [43:13] mask_privacy
> [0:motion] [INF] [ALL] [43:13] smart_mask_speed 0
> [0:motion] [INF] [ALL] [43:13] lightswitch_percent 0
> [0:motion] [INF] [ALL] [43:13] lightswitch_frames 5
> [0:motion] [INF] [ALL] [43:13] minimum_motion_frames 3
> [0:motion] [INF] [ALL] [43:13] event_gap 60
> [0:motion] [INF] [ALL] [43:13] pre_capture 5
> [0:motion] [INF] [ALL] [43:13] post_capture 5
> [0:motion] [INF] [ALL] [43:13] on_event_start
> [0:motion] [INF] [ALL] [43:13] on_event_end
> [0:motion] [INF] [ALL] [43:13] on_picture_save
> [0:motion] [INF] [ALL] [43:13] on_area_detected
> [0:motion] [INF] [ALL] [43:13] on_motion_detected
> [0:motion] [INF] [ALL] [43:13] on_movie_start
> [0:motion] [INF] [ALL] [43:13] on_movie_end
> [0:motion] [INF] [ALL] [43:13] on_camera_lost
> [0:motion] [INF] [ALL] [43:13] on_camera_found
> [0:motion] [INF] [ALL] [43:13] picture_output center
> [0:motion] [INF] [ALL] [43:13] picture_output_motion off
> [0:motion] [INF] [ALL] [43:13] picture_type jpeg
> [0:motion] [INF] [ALL] [43:13] picture_quality 50
> [0:motion] [INF] [ALL] [43:13] picture_exif
> [0:motion] [INF] [ALL] [43:13] picture_filename %Y%m%d-%H%M%S-%q-%$
> [0:motion] [INF] [ALL] [43:13] snapshot_interval 0
> [0:motion] [INF] [ALL] [43:13] snapshot_filename %v-%Y%m%d%H%M%S-snapshot
> [0:motion] [INF] [ALL] [43:13] movie_output on
> [0:motion] [INF] [ALL] [43:13] movie_output_motion off
> [0:motion] [INF] [ALL] [43:13] movie_max_time 60
> [0:motion] [INF] [ALL] [43:13] movie_bps 400000
> [0:motion] [INF] [ALL] [43:13] movie_quality 50
> [0:motion] [INF] [ALL] [43:13] movie_codec mpeg4
> [0:motion] [INF] [ALL] [43:13] movie_duplicate_frames off
> [0:motion] [INF] [ALL] [43:13] movie_passthrough off
> [0:motion] [INF] [ALL] [43:13] movie_filename %Y%m%d-%H%M%S-%t-%v-%$
> [0:motion] [INF] [ALL] [43:13] movie_extpipe_use off
> [0:motion] [INF] [ALL] [43:13] movie_extpipe
> [0:motion] [INF] [ALL] [43:13] timelapse_interval 1
> [0:motion] [INF] [ALL] [43:13] timelapse_mode hourly
> [0:motion] [INF] [ALL] [43:13] timelapse_fps 30
> [0:motion] [INF] [ALL] [43:13] timelapse_codec mpg
> [0:motion] [INF] [ALL] [43:13] timelapse_filename %Y%m%d-%H-timelapse-%$
> [0:motion] [INF] [ALL] [43:13] video_pipe
> [0:motion] [INF] [ALL] [43:13] video_pipe_motion
> [0:motion] [INF] [ALL] [43:13] webcontrol_port 8000
> [0:motion] [INF] [ALL] [43:13] webcontrol_ipv6 off
> [0:motion] [INF] [ALL] [43:13] webcontrol_localhost off
> [0:motion] [INF] [ALL] [43:13] webcontrol_parms 2
> [0:motion] [INF] [ALL] [43:13] webcontrol_interface 0
> [0:motion] [INF] [ALL] [43:13] webcontrol_auth_method 0
> [0:motion] [INF] [ALL] [43:13] webcontrol_authentication
> [0:motion] [INF] [ALL] [43:13] webcontrol_tls off
> [0:motion] [INF] [ALL] [43:13] webcontrol_cert
> [0:motion] [INF] [ALL] [43:13] webcontrol_key
> [0:motion] [INF] [ALL] [43:13] webcontrol_header_params
> [0:motion] [INF] [ALL] [43:13] webcontrol_lock_minutes 5
> [0:motion] [INF] [ALL] [43:13] webcontrol_lock_attempts 5
> [0:motion] [INF] [ALL] [43:13] webcontrol_lock_max_ips 25
> [0:motion] [INF] [ALL] [43:13] stream_port 8081
> [0:motion] [INF] [ALL] [43:13] stream_localhost off
> [0:motion] [INF] [ALL] [43:13] stream_auth_method 0
> [0:motion] [INF] [ALL] [43:13] stream_authentication
> [0:motion] [INF] [ALL] [43:13] stream_tls off
> [0:motion] [INF] [ALL] [43:13] stream_header_params
> [0:motion] [INF] [ALL] [43:13] stream_preview_scale 25
> [0:motion] [INF] [ALL] [43:13] stream_preview_newline off
> [0:motion] [INF] [ALL] [43:13] stream_preview_method 0
> [0:motion] [INF] [ALL] [43:13] stream_quality 50
> [0:motion] [INF] [ALL] [43:13] stream_grey off
> [0:motion] [INF] [ALL] [43:13] stream_motion off
> [0:motion] [INF] [ALL] [43:13] stream_maxrate 1
> [0:motion] [INF] [ALL] [43:13] stream_limit 0
> [0:motion] [INF] [ALL] [43:13] database_type
> [0:motion] [INF] [ALL] [43:13] database_dbname
> [0:motion] [INF] [ALL] [43:13] database_host localhost
> [0:motion] [INF] [ALL] [43:13] database_port 0
> [0:motion] [INF] [ALL] [43:13] database_user
> [0:motion] [INF] [ALL] [43:13] database_password
> [0:motion] [INF] [ALL] [43:13] database_busy_timeout 0
> [0:motion] [INF] [ALL] [43:13] sql_log_picture off
> [0:motion] [INF] [ALL] [43:13] sql_log_snapshot off
> [0:motion] [INF] [ALL] [43:13] sql_log_movie off
> [0:motion] [INF] [ALL] [43:13] sql_log_timelapse off
> [0:motion] [INF] [ALL] [43:13] sql_query_start
> [0:motion] [INF] [ALL] [43:13] sql_query_stop
> [0:motion] [INF] [ALL] [43:13] sql_query
> [0:motion] [INF] [ALL] [43:13] track_type 0
> [0:motion] [INF] [ALL] [43:13] track_auto off
> [0:motion] [INF] [ALL] [43:13] track_port
> [0:motion] [INF] [ALL] [43:13] track_motorx 0
> [0:motion] [INF] [ALL] [43:13] track_motorx_reverse off
> [0:motion] [INF] [ALL] [43:13] track_motory 0
> [0:motion] [INF] [ALL] [43:13] track_motory_reverse off
> [0:motion] [INF] [ALL] [43:13] track_maxx 0
> [0:motion] [INF] [ALL] [43:13] track_minx 0
> [0:motion] [INF] [ALL] [43:13] track_maxy 0
> [0:motion] [INF] [ALL] [43:13] track_miny 0
> [0:motion] [INF] [ALL] [43:13] track_homex 128
> [0:motion] [INF] [ALL] [43:13] track_homey 128
> [0:motion] [INF] [ALL] [43:13] track_iomojo_id 0
> [0:motion] [INF] [ALL] [43:13] track_step_angle_x 10
> [0:motion] [INF] [ALL] [43:13] track_step_angle_y 10
> [0:motion] [INF] [ALL] [43:13] track_move_wait 10
> [0:motion] [INF] [ALL] [43:13] track_speed 255
> [0:motion] [INF] [ALL] [43:13] track_stepsize 40
> [0:motion] [INF] [ALL] [43:13] track_generic_move
> [0:motion] [INF] [ALL] [43:13] camera
> [0:motion] [INF] [ALL] [43:13] camera_dir /etc/motion/conf.d
> [0:motion] [INF] [ALL] [43:13] Thread 1 - Config file: /etc/motion/conf.d/camera3.conf
> [0:motion] [INF] [ALL] [43:13] camera_name LG-230
> [0:motion] [INF] [ALL] [43:13] camera_id 230
> [0:motion] [INF] [ALL] [43:13] netcam_url <redacted>
> [0:motion] [INF] [ALL] [43:13] text_left %$ %wx%h %t Event %v fps:%{fps} Ver:%{ver}
> [0:motion] [DBG] [ALL] [43:13] motion_ntc: v4l2 : available
> [0:motion] [DBG] [ALL] [43:13] motion_ntc: bktr : not available
> [0:motion] [DBG] [ALL] [43:13] motion_ntc: webp : available
> [0:motion] [DBG] [ALL] [43:13] motion_ntc: ffmpeg : available
> [0:motion] [DBG] [DBL] [43:13] motion_ntc: mysql : not available
> [0:motion] [DBG] [DBL] [43:13] motion_ntc: MariaDB: available
> [0:motion] [DBG] [DBL] [43:13] motion_ntc: sqlite3: available
> [0:motion] [DBG] [DBL] [43:13] motion_ntc: pgsql : available
> [0:motion] [DBG] [DBL] [43:13] motion_ntc: nls : available
> [0:motion] [NTC] [STR] [43:13] webu_start_strm: Starting all camera streams on port 8081
> [0:motion] [DBG] [STR] [43:13] webu_mhd_features_basic: Basic authentication: available
> [0:motion] [DBG] [STR] [43:13] webu_mhd_features_digest: Digest authentication: available
> [0:motion] [DBG] [STR] [43:13] webu_mhd_features_ipv6: IPV6: available
> [0:motion] [DBG] [STR] [43:13] webu_mhd_features_tls: SSL/TLS: available
> [0:motion] [NTC] [STR] [43:13] webu_strm_ntc: Started camera 230 stream on port/camera_id 8081/230
> [0:motion] [NTC] [STR] [43:13] webu_start_ctrl: Starting webcontrol on port 8000
> [0:motion] [DBG] [STR] [43:13] webu_mhd_features_basic: Basic authentication: available
> [0:motion] [DBG] [STR] [43:13] webu_mhd_features_digest: Digest authentication: available
> [0:motion] [DBG] [STR] [43:13] webu_mhd_features_ipv6: IPV6: available
> [0:motion] [DBG] [STR] [43:13] webu_mhd_features_tls: SSL/TLS: available
> [0:motion] [NTC] [STR] [43:13] webu_start_ctrl: Started webcontrol on port 8000
> [0:motion] [NTC] [ENC] [43:13] ffmpeg_global_init: ffmpeg libavcodec version 60.31.102 libavformat version 60.16.100
> [0:motion] [DBG] [DBL] [43:13] dbse_global_init: Initializing database
> [0:motion] [NTC] [ALL] [43:13] translate_init: Language: English
> [0:motion] [NTC] [ALL] [43:13] motion_start_thread: Camera ID: 230 is from /etc/motion/conf.d/camera3.conf
> [0:motion] [NTC] [ALL] [43:13] motion_start_thread: Camera ID: 230 Camera Name: LG-230 Service: http:
> [0:motion] [NTC] [ALL] [43:13] main: Waiting for threads to finish, pid: 2267593
> [1:ml1:LG-230] [NTC] [ALL] [43:13] motion_init: Camera 230 started: motion detection Enabled
> [1:ml1:LG-230] [NTC] [VID] [43:13] vid_start: Opening Netcam RTSP
> [1:ml1:LG-230] [INF] [NET] [43:13] netcam_rtsp_set_parms: Setting up norm stream.
> [1:ml1:LG-230] [DBG] [ALL] [43:13] util_parms_add: Parsed: >decoder< >NULL<
> [1:ml1:LG-230] [INF] [NET] [43:13] netcam_rtsp_set_path: Setting up http via netcam
> [1:ml1:LG-230] [INF] [NET] [43:13] netcam_rtsp_set_options: norm: Setting input_format mjpeg
> [1:ml1:LG-230] [DBG] [ALL] [43:13] util_parms_add: Parsed: >reconnect_on_network_error< >1<
> [1:ml1:LG-230] [DBG] [ALL] [43:13] util_parms_add: Parsed: >reconnect_at_eof< >1<
> [1:ml1:LG-230] [DBG] [ALL] [43:13] util_parms_add: Parsed: >reconnect< >1<
> [1:ml1:LG-230] [DBG] [ALL] [43:13] util_parms_add: Parsed: >multiple_requests< >1<
> [1:ml1:LG-230] [DBG] [ALL] [43:13] util_parms_add: Parsed: >reconnect_streamed< >1<
> [1:ml1:LG-230] [INF] [NET] [43:13] netcam_rtsp_set_options: norm: option: reconnect_on_network_error = 1
> [1:ml1:LG-230] [INF] [NET] [43:13] netcam_rtsp_set_options: norm: option: reconnect_at_eof = 1
> [1:ml1:LG-230] [INF] [NET] [43:13] netcam_rtsp_set_options: norm: option: reconnect = 1
> [1:ml1:LG-230] [INF] [NET] [43:13] netcam_rtsp_set_options: norm: option: multiple_requests = 1
> [1:ml1:LG-230] [INF] [NET] [43:13] netcam_rtsp_set_options: norm: option: reconnect_streamed = 1
> [1:ml1:LG-230] [INF] [NET] [43:14] netcam_rtsp_open_context: norm: Opened camera(LG-230)
> [0:cn0] [DBG] [STR] [43:25] webu_parseurl: Sent url: /
> [0:cn0] [DBG] [STR] [43:25] webu_parseurl: Decoded url: /
> [0:wu0] [INF] [ALL] [43:25] webu_answer_ctrl: Connection from: 127.0.0.1
> [0:cn0] [DBG] [STR] [43:25] webu_parseurl: Sent url: /230/stream
> [0:cn0] [DBG] [STR] [43:25] webu_parseurl: Decoded url: /230/stream
> [0:cn0] [DBG] [STR] [43:25] webu_parseurl: camid: >230< cmd1: >stream< cmd2: >< parm1:>< val1:>< parm2:>< val2:><
> [0:st0] [DBG] [STR] [43:25] webu_answer_strm: Stream picture is not ready yet
> [0:cn0] [DBG] [STR] [43:25] webu_parseurl: Sent url: /230/stream
> [0:cn0] [DBG] [STR] [43:25] webu_parseurl: Decoded url: /230/stream
> [0:cn0] [DBG] [STR] [43:25] webu_parseurl: camid: >230< cmd1: >stream< cmd2: >< parm1:>< val1:>< parm2:>< val2:><
> [0:st0] [DBG] [STR] [43:25] webu_answer_strm: Stream picture is not ready yet
> [0:cn0] [DBG] [STR] [43:25] webu_parseurl: Sent url: /230/stream
> [0:cn0] [DBG] [STR] [43:25] webu_parseurl: Decoded url: /230/stream
> [0:cn0] [DBG] [STR] [43:25] webu_parseurl: camid: >230< cmd1: >stream< cmd2: >< parm1:>< val1:>< parm2:>< val2:><
> [0:st0] [DBG] [STR] [43:25] webu_answer_strm: Stream picture is not ready yet
> [0:cn0] [DBG] [STR] [43:25] webu_parseurl: Sent url: /230/stream
> [0:cn0] [DBG] [STR] [43:25] webu_parseurl: Decoded url: /230/stream
> [0:cn0] [DBG] [STR] [43:25] webu_parseurl: camid: >230< cmd1: >stream< cmd2: >< parm1:>< val1:>< parm2:>< val2:><
> [0:st0] [DBG] [STR] [43:25] webu_answer_strm: Stream picture is not ready yet
> [0:cn0] [DBG] [STR] [43:25] webu_parseurl: Sent url: /230/stream
> [0:cn0] [DBG] [STR] [43:25] webu_parseurl: Decoded url: /230/stream
> [0:cn0] [DBG] [STR] [43:25] webu_parseurl: camid: >230< cmd1: >stream< cmd2: >< parm1:>< val1:>< parm2:>< val2:><
> [0:st0] [DBG] [STR] [43:25] webu_answer_strm: Stream picture is not ready yet
> [0:cn0] [DBG] [STR] [43:25] webu_parseurl: Sent url: /230/stream
> [0:cn0] [DBG] [STR] [43:25] webu_parseurl: Decoded url: /230/stream
> [0:cn0] [DBG] [STR] [43:25] webu_parseurl: camid: >230< cmd1: >stream< cmd2: >< parm1:>< val1:>< parm2:>< val2:><
> [0:st0] [DBG] [STR] [43:25] webu_answer_strm: Stream picture is not ready yet
> [0:cn0] [DBG] [STR] [43:25] webu_parseurl: Sent url: /230/stream
> [0:cn0] [DBG] [STR] [43:25] webu_parseurl: Decoded url: /230/stream
> [0:cn0] [DBG] [STR] [43:25] webu_parseurl: camid: >230< cmd1: >stream< cmd2: >< parm1:>< val1:>< parm2:>< val2:><
> [0:st0] [DBG] [STR] [43:25] webu_answer_strm: Stream picture is not ready yet
> [0:cn0] [DBG] [STR] [43:25] webu_parseurl: Sent url: /230/stream
> [0:cn0] [DBG] [STR] [43:25] webu_parseurl: Decoded url: /230/stream
> [0:cn0] [DBG] [STR] [43:25] webu_parseurl: camid: >230< cmd1: >stream< cmd2: >< parm1:>< val1:>< parm2:>< val2:><
> [0:st0] [DBG] [STR] [43:25] webu_answer_strm: Stream picture is not ready yet
> [0:cn0] [DBG] [STR] [43:25] webu_parseurl: Sent url: /230/stream
> [0:cn0] [DBG] [STR] [43:25] webu_parseurl: Decoded url: /230/stream
> [0:cn0] [DBG] [STR] [43:25] webu_parseurl: camid: >230< cmd1: >stream< cmd2: >< parm1:>< val1:>< parm2:>< val2:><
> [0:st0] [DBG] [STR] [43:25] webu_answer_strm: Stream picture is not ready yet
> [0:cn0] [DBG] [STR] [43:25] webu_parseurl: Sent url: /230/stream
> [0:cn0] [DBG] [STR] [43:25] webu_parseurl: Decoded url: /230/stream
> [0:cn0] [DBG] [STR] [43:25] webu_parseurl: camid: >230< cmd1: >stream< cmd2: >< parm1:>< val1:>< parm2:>< val2:><
> [0:st0] [DBG] [STR] [43:25] webu_answer_strm: Stream picture is not ready yet
> [0:cn0] [DBG] [STR] [43:25] webu_parseurl: Sent url: /230/stream
> [0:cn0] [DBG] [STR] [43:25] webu_parseurl: Decoded url: /230/stream
> [0:cn0] [DBG] [STR] [43:25] webu_parseurl: camid: >230< cmd1: >stream< cmd2: >< parm1:>< val1:>< parm2:>< val2:><
> [0:st0] [DBG] [STR] [43:25] webu_answer_strm: Stream picture is not ready yet
> [0:cn0] [DBG] [STR] [43:25] webu_parseurl: Sent url: /230/stream
> [0:cn0] [DBG] [STR] [43:25] webu_parseurl: Decoded url: /230/stream
> [0:cn0] [DBG] [STR] [43:25] webu_parseurl: camid: >230< cmd1: >stream< cmd2: >< parm1:>< val1:>< parm2:>< val2:><
> [0:st0] [DBG] [STR] [43:25] webu_answer_strm: Stream picture is not ready yet
> [0:cn0] [DBG] [STR] [43:25] webu_parseurl: Sent url: /230/stream
> [0:cn0] [DBG] [STR] [43:25] webu_parseurl: Decoded url: /230/stream
> [0:cn0] [DBG] [STR] [43:25] webu_parseurl: camid: >230< cmd1: >stream< cmd2: >< parm1:>< val1:>< parm2:>< val2:><
> [0:st0] [DBG] [STR] [43:25] webu_answer_strm: Stream picture is not ready yet
> [0:cn0] [DBG] [STR] [43:25] webu_parseurl: Sent url: /230/stream
> [0:cn0] [DBG] [STR] [43:25] webu_parseurl: Decoded url: /230/stream
> [0:cn0] [DBG] [STR] [43:25] webu_parseurl: camid: >230< cmd1: >stream< cmd2: >< parm1:>< val1:>< parm2:>< val2:><
> [0:st0] [DBG] [STR] [43:25] webu_answer_strm: Stream picture is not ready yet
> [0:cn0] [DBG] [STR] [43:25] webu_parseurl: Sent url: /230/stream
> [0:cn0] [DBG] [STR] [43:25] webu_parseurl: Decoded url: /230/stream
> [0:cn0] [DBG] [STR] [43:25] webu_parseurl: camid: >230< cmd1: >stream< cmd2: >< parm1:>< val1:>< parm2:>< val2:><
> [0:st0] [DBG] [STR] [43:25] webu_answer_strm: Stream picture is not ready yet
> [0:cn0] [DBG] [STR] [43:25] webu_parseurl: Sent url: /230/stream
> [0:cn0] [DBG] [STR] [43:25] webu_parseurl: Decoded url: /230/stream
> [0:cn0] [DBG] [STR] [43:25] webu_parseurl: camid: >230< cmd1: >stream< cmd2: >< parm1:>< val1:>< parm2:>< val2:><
> [0:st0] [DBG] [STR] [43:25] webu_answer_strm: Stream picture is not ready yet
> [0:cn0] [DBG] [STR] [43:25] webu_parseurl: Sent url: /230/stream
> [0:cn0] [DBG] [STR] [43:25] webu_parseurl: Decoded url: /230/stream
> [0:cn0] [DBG] [STR] [43:25] webu_parseurl: camid: >230< cmd1: >stream< cmd2: >< parm1:>< val1:>< parm2:>< val2:><
> [0:st0] [DBG] [STR] [43:25] webu_answer_strm: Stream picture is not ready yet
> [0:cn0] [DBG] [STR] [43:25] webu_parseurl: Sent url: /230/stream
> [0:cn0] [DBG] [STR] [43:25] webu_parseurl: Decoded url: /230/stream
> [0:cn0] [DBG] [STR] [43:25] webu_parseurl: camid: >230< cmd1: >stream< cmd2: >< parm1:>< val1:>< parm2:>< val2:><
> [0:st0] [DBG] [STR] [43:25] webu_answer_strm: Stream picture is not ready yet
> [0:cn0] [DBG] [STR] [43:25] webu_parseurl: Sent url: /230/stream
> [0:cn0] [DBG] [STR] [43:25] webu_parseurl: Decoded url: /230/stream
> [0:cn0] [DBG] [STR] [43:25] webu_parseurl: camid: >230< cmd1: >stream< cmd2: >< parm1:>< val1:>< parm2:>< val2:><
> [0:st0] [DBG] [STR] [43:25] webu_answer_strm: Stream picture is not ready yet
> [0:cn0] [DBG] [STR] [43:25] webu_parseurl: Sent url: /230/stream
> [0:cn0] [DBG] [STR] [43:25] webu_parseurl: Decoded url: /230/stream
> [0:cn0] [DBG] [STR] [43:25] webu_parseurl: camid: >230< cmd1: >stream< cmd2: >< parm1:>< val1:>< parm2:>< val2:><
> [0:st0] [DBG] [STR] [43:25] webu_answer_strm: Stream picture is not ready yet
> [1:ml1:LG-230] [INF] [NET] [43:34] netcam_rtsp_interrupt: norm: Camera (LG-230) timed out
> [1:ml1:LG-230] [ERR] [NET] Above message repeats 1 times
> [1:ml1:LG-230] [ERR] [NET] [43:34] netcam_rtsp_open_context: norm: Unable to find stream info: Success
> [1:ml1:LG-230] [INF] [NET] [43:34] netcam_rtsp_cleanup: norm: Shutting down network camera.
> [1:ml1:LG-230] [NTC] [NET] [43:34] netcam_rtsp_cleanup: Normal resolution: Shut down complete.
> [1:ml1:LG-230] [ERR] [VID] [43:34] vid_start: Netcam RTSP failed to open
> [1:ml1:LG-230] [WRN] [ALL] [43:34] motion_init: Could not fetch initial image from camera
> [1:ml1:LG-230] [WRN] [ALL] [43:34] motion_init: Motion continues using width and height from config file(s)
> [1:ml1:LG-230] [NTC] [ALL] [43:34] image_ring_resize: Resizing pre_capture buffer to 1 items
> [1:ml1:LG-230] [NTC] [ALL] [43:34] image_ring_resize: Resizing pre_capture buffer to 8 items
> [1:ml1:LG-230] [NTC] [EVT] [43:34] event_ffmpeg_timelapse: Timelapse using mpg codec.
> [1:ml1:LG-230] [NTC] [EVT] [43:34] event_ffmpeg_timelapse: Events will be appended to file
> [1:ml1:LG-230] [INF] [ENC] [43:34] ffmpeg_set_quality: mpeg2video codec vbr/crf/bit_rate: 1001
> [1:ml1:LG-230] [NTC] [EVT] [43:34] event_newfile: Writing movie to file: /home/motion/Android/20251226-08-timelapse-LG-230.mpg
> [1:ml1:LG-230] [DBG] [ENC] [43:34] ffmpeg_encode_video: Receive packet threw EAGAIN returning -2 code :Resource temporarily unavailable
> [1:ml1:LG-230] [WRN] [ALL] [43:40] mlp_retry: Retrying until successful connection with camera
> [1:ml1:LG-230] [NTC] [VID] [43:40] vid_start: Opening Netcam RTSP
> [1:ml1:LG-230] [INF] [NET] [43:40] netcam_rtsp_set_parms: Setting up norm stream.
> [1:ml1:LG-230] [DBG] [ALL] [43:40] util_parms_add: Parsed: >decoder< >NULL<
> [1:ml1:LG-230] [INF] [NET] [43:40] netcam_rtsp_set_path: Setting up http via netcam
> [1:ml1:LG-230] [INF] [NET] [43:40] netcam_rtsp_set_options: norm: Setting input_format mjpeg
> [1:ml1:LG-230] [DBG] [ALL] [43:40] util_parms_add: Parsed: >reconnect_on_network_error< >1<
> [1:ml1:LG-230] [DBG] [ALL] [43:40] util_parms_add: Parsed: >reconnect_at_eof< >1<
> [1:ml1:LG-230] [DBG] [ALL] [43:40] util_parms_add: Parsed: >reconnect< >1<
> [1:ml1:LG-230] [DBG] [ALL] [43:40] util_parms_add: Parsed: >multiple_requests< >1<
> [1:ml1:LG-230] [DBG] [ALL] [43:40] util_parms_add: Parsed: >reconnect_streamed< >1<
> [1:ml1:LG-230] [INF] [NET] [43:40] netcam_rtsp_set_options: norm: option: reconnect_on_network_error = 1
> [1:ml1:LG-230] [INF] [NET] [43:40] netcam_rtsp_set_options: norm: option: reconnect_at_eof = 1
> [1:ml1:LG-230] [INF] [NET] [43:40] netcam_rtsp_set_options: norm: option: reconnect = 1
> [1:ml1:LG-230] [INF] [NET] [43:40] netcam_rtsp_set_options: norm: option: multiple_requests = 1
> [1:ml1:LG-230] [INF] [NET] [43:40] netcam_rtsp_set_options: norm: option: reconnect_streamed = 1
> [1:ml1:LG-230] [INF] [NET] [43:40] netcam_rtsp_open_context: norm: Opened camera(LG-230)
> [0:cn0] [DBG] [STR] [43:40] webu_parseurl: Sent url: /
> [0:cn0] [DBG] [STR] [43:40] webu_parseurl: Decoded url: /
> [0:wu0] [INF] [ALL] [43:40] webu_answer_ctrl: Connection from: 127.0.0.1
> [0:cn0] [DBG] [STR] [43:40] webu_parseurl: Sent url: /230/stream
> [0:cn0] [DBG] [STR] [43:40] webu_parseurl: Decoded url: /230/stream
> [0:cn0] [DBG] [STR] [43:40] webu_parseurl: camid: >230< cmd1: >stream< cmd2: >< parm1:>< val1:>< parm2:>< val2:><
> [0:st0] [INF] [ALL] [43:40] webu_answer_strm: Connection from: 127.0.0.1
> [1:ml1:LG-230] [INF] [NET] [44:01] netcam_rtsp_interrupt: norm: Camera (LG-230) timed out
> [1:ml1:LG-230] [ERR] [NET] Above message repeats 1 times
> [1:ml1:LG-230] [ERR] [NET] [44:01] netcam_rtsp_open_context: norm: Unable to find stream info: Success
> [1:ml1:LG-230] [INF] [NET] [44:01] netcam_rtsp_cleanup: norm: Shutting down network camera.
> [1:ml1:LG-230] [NTC] [NET] [44:01] netcam_rtsp_cleanup: Normal resolution: Shut down complete.
> [1:ml1:LG-230] [ERR] [VID] [44:01] vid_start: Netcam RTSP failed to open
> [0:motion] [NTC] [ALL] [44:09] sig_handler: Received signal 15.
> [1:ml1:LG-230] [NTC] [ALL] [44:09] motion_loop: Thread exiting
> [1:ml1:LG-230] [DBG] [EVT] [44:09] event_closefile: Saved movie to file: /home/motion/Android/20251226-08-timelapse-LG-230.mpg
> [0:motion] [NTC] [ALL] [44:09] main: Threads finished
> [0:motion] [NTC] [ALL] [44:09] main: Motion terminating
> [0:motion] [NTC] [ALL] [44:09] motion_remove_pid: Closing logfile (/home/motion/motion.log).
> ----------------------------------------------------------
>
> Thank you for looking into this!
> JMB
>
> On 12/25/25 14:50, tosiara wrote:
> > Could you please also include non-working motion.log?
> >
> > On Thu, Dec 25, 2025 at 4:13 PM jmb <jm...@gm...> wrote:
> >> Hello Tosiara,
> >>
> >> Thank you again for looking into this and your assistance to dig
> >> deeper! I think all the relevant information that you might need is
> >> shown below. I have provided information from /etc/hosts;
> >> /etc/motion.conf; /etc/motion/conf.d/camera*.conf; etc. Let me know if
> >> you need anything else. Note: beside just the difference in the final
> >> IP address (230 v/s 236) everything else is identical in the motion
> >> server for the Android that the motion panel is not streaming (@230)
> >> from; versus the one (@236) that it is able to. All output below is
> >> from the server (@100) running motion. I don't think I have overlooked
> >> or mis-configured something.
> >>
> >> # IP ADDRESSES:
> >> grep 230 /etc/hosts
> >> 192.168.1.230 LG-230 # This Android does not stream in the
> >> motion panel
> >> grep 236 /etc/hosts
> >> 192.168.1.236 MotoE2 # This Android does stream in the
> >> motion panel
> >>
> >> # MOTION conf file:
> >> grep stream_port /etc/motion/motion.conf
> >> stream_port 8081
> >> grep camera_dir /etc/motion/motion.conf
> >> camera_dir /etc/motion/conf.d
> >>
> >> # CAMERA conf files:
> >> # conf file for Android that streams in ffplay NOT motion:
> >> grep 230 /etc/motion/conf.d/*.conf
> >> /etc/motion/conf.d/camera3.conf:camera_name LG-230
> >> /etc/motion/conf.d/camera3.conf:camera_id 230
> >> /etc/motion/conf.d/camera3.conf:netcam_url
> >> http://192.168.1.230:8080/video
> >> # conf file for Android that streams in ffplay AND motion:
> >> grep 236 /etc/motion/conf.d/*.conf
> >> /etc/motion/conf.d/camera4.conf:camera_id 236
> >> /etc/motion/conf.d/camera4.conf:netcam_url
> >> http://192.168.1.236:8080/video
> >>
> >> # OBSERVATIONS (non-working v/s working):
> >> brave-browser http://lg-230:8080/video # Works...
> >> brave-browser http://localhost:8081/230/stream # Does not work !
> >> # "UNABLE TO OPEN VIDEO DEVICE SINCE ..."
> >> # Browser tab shows: "stream (JPEG image, 640 x ...)
> >>
> >> brave-browser http://motoe2:8080/video # Works...
> >> brave-browser http://localhost:8081/236/stream # Works...
> >>
> >> # CONSOLE OUTPUT (both streams DO work):
> >> ffplay http://192.168.1.230:8080/video
> >> ffplay version 6.1.1-3ubuntu5+esm6 Copyright (c) 2003-2023 the FFmpeg
> >> developers
> >> built with gcc 13 (Ubuntu 13.3.0-6ubuntu2~24.04)
> >> configuration: --prefix=/usr --extra-version=3ubuntu5+esm6
> >> --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu
> >> --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl
> >> --disable-stripping --disable-omx --enable-gnutls --enable-libaom
> >> --enable-libass --enable-libbs2b --enable-libcaca --enable-libcdio
> >> --enable-libcodec2 --enable-libdav1d --enable-libflite
> >> --enable-libfontconfig --enable-libfreetype --enable-libfribidi
> >> --enable-libglslang --enable-libgme --enable-libgsm --enable-libharfbuzz
> >> --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg
> >> --enable-libopenmpt --enable-libopus --enable-librubberband
> >> --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex
> >> --enable-libtheora --enable-libtwolame --enable-libvidstab
> >> --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265
> >> --enable-libxml2 --enable-libxvid --enable-libzimg --enable-openal
> >> --enable-opencl --enable-opengl --disable-sndio --enable-libvpl
> >> --disable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883
> >> --enable-chromaprint --enable-frei0r --enable-ladspa --enable-libbluray
> >> --enable-libjack --enable-libpulse --enable-librabbitmq --enable-librist
> >> --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libx264
> >> --enable-libzmq --enable-libzvbi --enable-lv2 --enable-sdl2
> >> --enable-libplacebo --enable-librav1e --enable-pocketsphinx
> >> --enable-librsvg --enable-libjxl --enable-shared
> >> libavutil 58. 29.100 / 58. 29.100
> >> libavcodec 60. 31.102 / 60. 31.102
> >> libavformat 60. 16.100 / 60. 16.100
> >> libavdevice 60. 3.100 / 60. 3.100
> >> libavfilter 9. 12.100 / 9. 12.100
> >> libswscale 7. 5.100 / 7. 5.100
> >> libswresample 4. 12.100 / 4. 12.100
> >> libpostproc 57. 3.100 / 57. 3.100
> >> Input #0, mpjpeg, from 'http://192.168.1.230:8080/video':0B f=0/0
> >> Duration: N/A, bitrate: N/A
> >> Stream #0:0: Video: mjpeg (Baseline), yuvj420p(pc,
> >> bt470bg/unknown/unknown), 640x480 [SAR 1:1 DAR 4:3], 25 tbr, 25 tbn
> >> [swscaler @ 0x74357c08b880] deprecated pixel format used, make sure you
> >> did set range correctly
> >> Last message repeated 3 times
> >> Switch subtitle stream from #-1 to #-1 vq= 0KB sq= 0B f=0/0
> >> 6.57 M-V: 5.524 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
> >>
> >> ffplay http://192.168.1.100:8081/236/stream
> >> ffplay version 6.1.1-3ubuntu5+esm6 Copyright (c) 2003-2023 the FFmpeg
> >> developers
> >> built with gcc 13 (Ubuntu 13.3.0-6ubuntu2~24.04)
> >> configuration: --prefix=/usr --extra-version=3ubuntu5+esm6
> >> --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu
> >> --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl
> >> --disable-stripping --disable-omx --enable-gnutls --enable-libaom
> >> --enable-libass --enable-libbs2b --enable-libcaca --enable-libcdio
> >> --enable-libcodec2 --enable-libdav1d --enable-libflite
> >> --enable-libfontconfig --enable-libfreetype --enable-libfribidi
> >> --enable-libglslang --enable-libgme --enable-libgsm --enable-libharfbuzz
> >> --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg
> >> --enable-libopenmpt --enable-libopus --enable-librubberband
> >> --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex
> >> --enable-libtheora --enable-libtwolame --enable-libvidstab
> >> --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265
> >> --enable-libxml2 --enable-libxvid --enable-libzimg --enable-openal
> >> --enable-opencl --enable-opengl --disable-sndio --enable-libvpl
> >> --disable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883
> >> --enable-chromaprint --enable-frei0r --enable-ladspa --enable-libbluray
> >> --enable-libjack --enable-libpulse --enable-librabbitmq --enable-librist
> >> --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libx264
> >> --enable-libzmq --enable-libzvbi --enable-lv2 --enable-sdl2
> >> --enable-libplacebo --enable-librav1e --enable-pocketsphinx
> >> --enable-librsvg --enable-libjxl --enable-shared
> >> libavutil 58. 29.100 / 58. 29.100
> >> libavcodec 60. 31.102 / 60. 31.102
> >> libavformat 60. 16.100 / 60. 16.100
> >> libavdevice 60. 3.100 / 60. 3.100
> >> libavfilter 9. 12.100 / 9. 12.100
> >> libswscale 7. 5.100 / 7. 5.100
> >> libswresample 4. 12.100 / 4. 12.100
> >> libpostproc 57. 3.100 / 57. 3.100
> >> [tcp @ 0x77dfe8003f80] Connection to tcp://192.168.1.100:8081 failed:
> >> Connection timed out
> >> http://192.168.1.100:8081/236/stream: Connection timed out
> >> nan : 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
> >>
> >> Thank you very much!
> >> JMB
> >>
> >> On 12/24/25 13:01, tosiara wrote:
> >>> Can you add console output of a working ffplay and not working motion
> >>> of the same camera?
> >>> So I can see the same url is being used in both cases
> >>>
> >>> On Wed, Dec 24, 2025 at 2:52 PM jmb <jm...@gm...> wrote:
> >>>> Hello Tosiara,
> >>>>
> >>>> Thank you very much for replying so speedily! All 3 work with ffplay using:
> >>>> a) ffplay http://192.168.1.2XX:8080/video
> >>>> b) ffplay http://192.168.1.2YY:8080/video
> >>>> c) ffplay http://192.168.1.2ZZ:8080/video
> >>>> Motion streams the video perfectly from:
> >>>> a) http://192.168.1.100:8081/2XX/stream
> >>>> b) http://192.168.1.100:8081/2YY/stream
> >>>> but the same motion instance does not from:
> >>>> c) http://192.168.1.100:8081/2ZZ/stream
> >>>> (all 3 being IPWebCam sources for the same server at 192.168.1.100, when
> >>>> browsing server via http://localhost:8000/)
> >>>>
> >>>> CLARIFICATION:
> >>>> needed in my previous email a) and b) WORK; c) does NOT; in the
> >>>> motion video display (multi or single).
> >>>>
> >>>> Your help is much appreciated! Thank you.
> >>>> JMB
> >>>>
> >>>> On 12/24/25 04:35, tosiara wrote:
> >>>>> You should find the correct stream url not by using Browser, but using
> >>>>> "ffplay" command. Then it will work with also motion. If a url works
> >>>>> with ffplay, but does not work with motion - let us know
> >>>>>
> >>>>> On Tue, Dec 23, 2025 at 10:15 PM jmb <jm...@gm...> wrote:
> >>>>>> Hello,
> >>>>>>
> >>>>>> I have been using motion software for more than 2 decades. Wonderful
> >>>>>> software that I have found it to be.
> >>>>>>
> >>>>>> I am currently using:
> >>>>>> Version 4.7.1(C)2000-24 J.Vreeken/F.Heusden/K.Lavrsen/Project team
> >>>>>> ... where motion is running on a server at 192.168.1.100 under Ubuntu
> >>>>>> 24.04 and acquiring its video from older (repurposed) Android phones. I
> >>>>>> am trying to make it work with the following older Android phones (as IP
> >>>>>> cameras) that are running Pavel Klebovich's IPWebCam app.
> >>>>>>
> >>>>>> What I am finding:
> >>>>>> a) Android 5.1.1 MotoE2 -WORKS
> >>>>>> with ONVIF support enabled in IPWebCam
> >>>>>> Brave-browser http://192.168.1.2XX:8080/video (video works)
> >>>>>> Motion (streams the video perfectly) from
> >>>>>> http://192.168.1.100:8081/2XX/stream
> >>>>>> b) Android 4.0.4 Kyocera -WORKS
> >>>>>> with ONVIF support enabled in IPWebCam
> >>>>>> Brave-browser http://192.168.1.2YY:8081/video (video works)
> >>>>>> Motion (streams the video perfectly) from
> >>>>>> http://192.168.1.100:8081/2YY/stream
> >>>>>> c) Android 2.2.2 LG -FAILS
> >>>>>> ONVIF support NOT available in IPWebCam
> >>>>>> Brave-browser http://192.168.1.2ZZ:8081/video (video works)
> >>>>>> Motion reports: "Unable to open video device, since ..." from
> >>>>>> http://192.168.1.100:8081/2ZZ/stream
> >>>>>> It is the oldest Android 2.2.2 LG phone that's not working with motion.
> >>>>>> Incidentally is is also the most reliable one for running IPWebCam !!!
> >>>>>>
> >>>>>> QUESTIONS:
> >>>>>> Could it be because ONVIF is unavailable in IPWebCam version of the
> >>>>>> oldest OS -Android 2.2.2? I realize the differences could be the
> >>>>>> versions of IPWebCam apps between the 3 Android OSes. But my question
> >>>>>> is whether I can somehow overcome the limitations of the oldest Android
> >>>>>> OS and or IPWebCam app available for it? Are there any motion software
> >>>>>> configuration settings I could tweak?
> >>>>>>
> >>>>>> SIDE NOTE:
> >>>>>> Am also running motion on various generations of RPi quite reliably!
> >>>>>>
> >>>>>> REQUEST:
> >>>>>> Any help would be much appreciated, for keeping older hardware useful
> >>>>>> and less destined to the landfills. Thanks.
> >>>>>>
> >>>>>> JMB
> >>>>>> _______________________________________________
> >>>>>> Motion-user mailing list
> >>>>>> Mot...@li...
> >>>>>> https://lists.sourceforge.net/lists/listinfo/motion-user
> >>>>>> https://motion-project.github.io/
> >>>>>>
> >>>>>> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user
>
>
|
|
From: tosiara <to...@gm...> - 2025-12-25 19:50:55
|
Could you please also include non-working motion.log? On Thu, Dec 25, 2025 at 4:13 PM jmb <jm...@gm...> wrote: > > Hello Tosiara, > > Thank you again for looking into this and your assistance to dig > deeper! I think all the relevant information that you might need is > shown below. I have provided information from /etc/hosts; > /etc/motion.conf; /etc/motion/conf.d/camera*.conf; etc. Let me know if > you need anything else. Note: beside just the difference in the final > IP address (230 v/s 236) everything else is identical in the motion > server for the Android that the motion panel is not streaming (@230) > from; versus the one (@236) that it is able to. All output below is > from the server (@100) running motion. I don't think I have overlooked > or mis-configured something. > > # IP ADDRESSES: > grep 230 /etc/hosts > 192.168.1.230 LG-230 # This Android does not stream in the > motion panel > grep 236 /etc/hosts > 192.168.1.236 MotoE2 # This Android does stream in the > motion panel > > # MOTION conf file: > grep stream_port /etc/motion/motion.conf > stream_port 8081 > grep camera_dir /etc/motion/motion.conf > camera_dir /etc/motion/conf.d > > # CAMERA conf files: > # conf file for Android that streams in ffplay NOT motion: > grep 230 /etc/motion/conf.d/*.conf > /etc/motion/conf.d/camera3.conf:camera_name LG-230 > /etc/motion/conf.d/camera3.conf:camera_id 230 > /etc/motion/conf.d/camera3.conf:netcam_url > http://192.168.1.230:8080/video > # conf file for Android that streams in ffplay AND motion: > grep 236 /etc/motion/conf.d/*.conf > /etc/motion/conf.d/camera4.conf:camera_id 236 > /etc/motion/conf.d/camera4.conf:netcam_url > http://192.168.1.236:8080/video > > # OBSERVATIONS (non-working v/s working): > brave-browser http://lg-230:8080/video # Works... > brave-browser http://localhost:8081/230/stream # Does not work ! > # "UNABLE TO OPEN VIDEO DEVICE SINCE ..." > # Browser tab shows: "stream (JPEG image, 640 x ...) > > brave-browser http://motoe2:8080/video # Works... > brave-browser http://localhost:8081/236/stream # Works... > > # CONSOLE OUTPUT (both streams DO work): > ffplay http://192.168.1.230:8080/video > ffplay version 6.1.1-3ubuntu5+esm6 Copyright (c) 2003-2023 the FFmpeg > developers > built with gcc 13 (Ubuntu 13.3.0-6ubuntu2~24.04) > configuration: --prefix=/usr --extra-version=3ubuntu5+esm6 > --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu > --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl > --disable-stripping --disable-omx --enable-gnutls --enable-libaom > --enable-libass --enable-libbs2b --enable-libcaca --enable-libcdio > --enable-libcodec2 --enable-libdav1d --enable-libflite > --enable-libfontconfig --enable-libfreetype --enable-libfribidi > --enable-libglslang --enable-libgme --enable-libgsm --enable-libharfbuzz > --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg > --enable-libopenmpt --enable-libopus --enable-librubberband > --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex > --enable-libtheora --enable-libtwolame --enable-libvidstab > --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 > --enable-libxml2 --enable-libxvid --enable-libzimg --enable-openal > --enable-opencl --enable-opengl --disable-sndio --enable-libvpl > --disable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 > --enable-chromaprint --enable-frei0r --enable-ladspa --enable-libbluray > --enable-libjack --enable-libpulse --enable-librabbitmq --enable-librist > --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libx264 > --enable-libzmq --enable-libzvbi --enable-lv2 --enable-sdl2 > --enable-libplacebo --enable-librav1e --enable-pocketsphinx > --enable-librsvg --enable-libjxl --enable-shared > libavutil 58. 29.100 / 58. 29.100 > libavcodec 60. 31.102 / 60. 31.102 > libavformat 60. 16.100 / 60. 16.100 > libavdevice 60. 3.100 / 60. 3.100 > libavfilter 9. 12.100 / 9. 12.100 > libswscale 7. 5.100 / 7. 5.100 > libswresample 4. 12.100 / 4. 12.100 > libpostproc 57. 3.100 / 57. 3.100 > Input #0, mpjpeg, from 'http://192.168.1.230:8080/video':0B f=0/0 > Duration: N/A, bitrate: N/A > Stream #0:0: Video: mjpeg (Baseline), yuvj420p(pc, > bt470bg/unknown/unknown), 640x480 [SAR 1:1 DAR 4:3], 25 tbr, 25 tbn > [swscaler @ 0x74357c08b880] deprecated pixel format used, make sure you > did set range correctly > Last message repeated 3 times > Switch subtitle stream from #-1 to #-1 vq= 0KB sq= 0B f=0/0 > 6.57 M-V: 5.524 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0 > > ffplay http://192.168.1.100:8081/236/stream > ffplay version 6.1.1-3ubuntu5+esm6 Copyright (c) 2003-2023 the FFmpeg > developers > built with gcc 13 (Ubuntu 13.3.0-6ubuntu2~24.04) > configuration: --prefix=/usr --extra-version=3ubuntu5+esm6 > --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu > --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl > --disable-stripping --disable-omx --enable-gnutls --enable-libaom > --enable-libass --enable-libbs2b --enable-libcaca --enable-libcdio > --enable-libcodec2 --enable-libdav1d --enable-libflite > --enable-libfontconfig --enable-libfreetype --enable-libfribidi > --enable-libglslang --enable-libgme --enable-libgsm --enable-libharfbuzz > --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg > --enable-libopenmpt --enable-libopus --enable-librubberband > --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex > --enable-libtheora --enable-libtwolame --enable-libvidstab > --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 > --enable-libxml2 --enable-libxvid --enable-libzimg --enable-openal > --enable-opencl --enable-opengl --disable-sndio --enable-libvpl > --disable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 > --enable-chromaprint --enable-frei0r --enable-ladspa --enable-libbluray > --enable-libjack --enable-libpulse --enable-librabbitmq --enable-librist > --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libx264 > --enable-libzmq --enable-libzvbi --enable-lv2 --enable-sdl2 > --enable-libplacebo --enable-librav1e --enable-pocketsphinx > --enable-librsvg --enable-libjxl --enable-shared > libavutil 58. 29.100 / 58. 29.100 > libavcodec 60. 31.102 / 60. 31.102 > libavformat 60. 16.100 / 60. 16.100 > libavdevice 60. 3.100 / 60. 3.100 > libavfilter 9. 12.100 / 9. 12.100 > libswscale 7. 5.100 / 7. 5.100 > libswresample 4. 12.100 / 4. 12.100 > libpostproc 57. 3.100 / 57. 3.100 > [tcp @ 0x77dfe8003f80] Connection to tcp://192.168.1.100:8081 failed: > Connection timed out > http://192.168.1.100:8081/236/stream: Connection timed out > nan : 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0 > > Thank you very much! > JMB > > On 12/24/25 13:01, tosiara wrote: > > Can you add console output of a working ffplay and not working motion > > of the same camera? > > So I can see the same url is being used in both cases > > > > On Wed, Dec 24, 2025 at 2:52 PM jmb <jm...@gm...> wrote: > >> Hello Tosiara, > >> > >> Thank you very much for replying so speedily! All 3 work with ffplay using: > >> a) ffplay http://192.168.1.2XX:8080/video > >> b) ffplay http://192.168.1.2YY:8080/video > >> c) ffplay http://192.168.1.2ZZ:8080/video > >> Motion streams the video perfectly from: > >> a) http://192.168.1.100:8081/2XX/stream > >> b) http://192.168.1.100:8081/2YY/stream > >> but the same motion instance does not from: > >> c) http://192.168.1.100:8081/2ZZ/stream > >> (all 3 being IPWebCam sources for the same server at 192.168.1.100, when > >> browsing server via http://localhost:8000/) > >> > >> CLARIFICATION: > >> needed in my previous email a) and b) WORK; c) does NOT; in the > >> motion video display (multi or single). > >> > >> Your help is much appreciated! Thank you. > >> JMB > >> > >> On 12/24/25 04:35, tosiara wrote: > >>> You should find the correct stream url not by using Browser, but using > >>> "ffplay" command. Then it will work with also motion. If a url works > >>> with ffplay, but does not work with motion - let us know > >>> > >>> On Tue, Dec 23, 2025 at 10:15 PM jmb <jm...@gm...> wrote: > >>>> Hello, > >>>> > >>>> I have been using motion software for more than 2 decades. Wonderful > >>>> software that I have found it to be. > >>>> > >>>> I am currently using: > >>>> Version 4.7.1(C)2000-24 J.Vreeken/F.Heusden/K.Lavrsen/Project team > >>>> ... where motion is running on a server at 192.168.1.100 under Ubuntu > >>>> 24.04 and acquiring its video from older (repurposed) Android phones. I > >>>> am trying to make it work with the following older Android phones (as IP > >>>> cameras) that are running Pavel Klebovich's IPWebCam app. > >>>> > >>>> What I am finding: > >>>> a) Android 5.1.1 MotoE2 -WORKS > >>>> with ONVIF support enabled in IPWebCam > >>>> Brave-browser http://192.168.1.2XX:8080/video (video works) > >>>> Motion (streams the video perfectly) from > >>>> http://192.168.1.100:8081/2XX/stream > >>>> b) Android 4.0.4 Kyocera -WORKS > >>>> with ONVIF support enabled in IPWebCam > >>>> Brave-browser http://192.168.1.2YY:8081/video (video works) > >>>> Motion (streams the video perfectly) from > >>>> http://192.168.1.100:8081/2YY/stream > >>>> c) Android 2.2.2 LG -FAILS > >>>> ONVIF support NOT available in IPWebCam > >>>> Brave-browser http://192.168.1.2ZZ:8081/video (video works) > >>>> Motion reports: "Unable to open video device, since ..." from > >>>> http://192.168.1.100:8081/2ZZ/stream > >>>> It is the oldest Android 2.2.2 LG phone that's not working with motion. > >>>> Incidentally is is also the most reliable one for running IPWebCam !!! > >>>> > >>>> QUESTIONS: > >>>> Could it be because ONVIF is unavailable in IPWebCam version of the > >>>> oldest OS -Android 2.2.2? I realize the differences could be the > >>>> versions of IPWebCam apps between the 3 Android OSes. But my question > >>>> is whether I can somehow overcome the limitations of the oldest Android > >>>> OS and or IPWebCam app available for it? Are there any motion software > >>>> configuration settings I could tweak? > >>>> > >>>> SIDE NOTE: > >>>> Am also running motion on various generations of RPi quite reliably! > >>>> > >>>> REQUEST: > >>>> Any help would be much appreciated, for keeping older hardware useful > >>>> and less destined to the landfills. Thanks. > >>>> > >>>> JMB > >>>> _______________________________________________ > >>>> Motion-user mailing list > >>>> Mot...@li... > >>>> https://lists.sourceforge.net/lists/listinfo/motion-user > >>>> https://motion-project.github.io/ > >>>> > >>>> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user > >> > |
|
From: jmb <jm...@gm...> - 2025-12-25 14:13:59
|
Hello Tosiara, Thank you again for looking into this and your assistance to dig deeper! I think all the relevant information that you might need is shown below. I have provided information from /etc/hosts; /etc/motion.conf; /etc/motion/conf.d/camera*.conf; etc. Let me know if you need anything else. Note: beside just the difference in the final IP address (230 v/s 236) everything else is identical in the motion server for the Android that the motion panel is not streaming (@230) from; versus the one (@236) that it is able to. All output below is from the server (@100) running motion. I don't think I have overlooked or mis-configured something. # IP ADDRESSES: grep 230 /etc/hosts 192.168.1.230 LG-230 # This Android does not stream in the motion panel grep 236 /etc/hosts 192.168.1.236 MotoE2 # This Android does stream in the motion panel # MOTION conf file: grep stream_port /etc/motion/motion.conf stream_port 8081 grep camera_dir /etc/motion/motion.conf camera_dir /etc/motion/conf.d # CAMERA conf files: # conf file for Android that streams in ffplay NOT motion: grep 230 /etc/motion/conf.d/*.conf /etc/motion/conf.d/camera3.conf:camera_name LG-230 /etc/motion/conf.d/camera3.conf:camera_id 230 /etc/motion/conf.d/camera3.conf:netcam_url http://192.168.1.230:8080/video # conf file for Android that streams in ffplay AND motion: grep 236 /etc/motion/conf.d/*.conf /etc/motion/conf.d/camera4.conf:camera_id 236 /etc/motion/conf.d/camera4.conf:netcam_url http://192.168.1.236:8080/video # OBSERVATIONS (non-working v/s working): brave-browser http://lg-230:8080/video # Works... brave-browser http://localhost:8081/230/stream # Does not work ! # "UNABLE TO OPEN VIDEO DEVICE SINCE ..." # Browser tab shows: "stream (JPEG image, 640 x ...) brave-browser http://motoe2:8080/video # Works... brave-browser http://localhost:8081/236/stream # Works... # CONSOLE OUTPUT (both streams DO work): ffplay http://192.168.1.230:8080/video ffplay version 6.1.1-3ubuntu5+esm6 Copyright (c) 2003-2023 the FFmpeg developers built with gcc 13 (Ubuntu 13.3.0-6ubuntu2~24.04) configuration: --prefix=/usr --extra-version=3ubuntu5+esm6 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --disable-omx --enable-gnutls --enable-libaom --enable-libass --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libglslang --enable-libgme --enable-libgsm --enable-libharfbuzz --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-openal --enable-opencl --enable-opengl --disable-sndio --enable-libvpl --disable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-ladspa --enable-libbluray --enable-libjack --enable-libpulse --enable-librabbitmq --enable-librist --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libx264 --enable-libzmq --enable-libzvbi --enable-lv2 --enable-sdl2 --enable-libplacebo --enable-librav1e --enable-pocketsphinx --enable-librsvg --enable-libjxl --enable-shared libavutil 58. 29.100 / 58. 29.100 libavcodec 60. 31.102 / 60. 31.102 libavformat 60. 16.100 / 60. 16.100 libavdevice 60. 3.100 / 60. 3.100 libavfilter 9. 12.100 / 9. 12.100 libswscale 7. 5.100 / 7. 5.100 libswresample 4. 12.100 / 4. 12.100 libpostproc 57. 3.100 / 57. 3.100 Input #0, mpjpeg, from 'http://192.168.1.230:8080/video':0B f=0/0 Duration: N/A, bitrate: N/A Stream #0:0: Video: mjpeg (Baseline), yuvj420p(pc, bt470bg/unknown/unknown), 640x480 [SAR 1:1 DAR 4:3], 25 tbr, 25 tbn [swscaler @ 0x74357c08b880] deprecated pixel format used, make sure you did set range correctly Last message repeated 3 times Switch subtitle stream from #-1 to #-1 vq= 0KB sq= 0B f=0/0 6.57 M-V: 5.524 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0 ffplay http://192.168.1.100:8081/236/stream ffplay version 6.1.1-3ubuntu5+esm6 Copyright (c) 2003-2023 the FFmpeg developers built with gcc 13 (Ubuntu 13.3.0-6ubuntu2~24.04) configuration: --prefix=/usr --extra-version=3ubuntu5+esm6 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --disable-omx --enable-gnutls --enable-libaom --enable-libass --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libglslang --enable-libgme --enable-libgsm --enable-libharfbuzz --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-openal --enable-opencl --enable-opengl --disable-sndio --enable-libvpl --disable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-ladspa --enable-libbluray --enable-libjack --enable-libpulse --enable-librabbitmq --enable-librist --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libx264 --enable-libzmq --enable-libzvbi --enable-lv2 --enable-sdl2 --enable-libplacebo --enable-librav1e --enable-pocketsphinx --enable-librsvg --enable-libjxl --enable-shared libavutil 58. 29.100 / 58. 29.100 libavcodec 60. 31.102 / 60. 31.102 libavformat 60. 16.100 / 60. 16.100 libavdevice 60. 3.100 / 60. 3.100 libavfilter 9. 12.100 / 9. 12.100 libswscale 7. 5.100 / 7. 5.100 libswresample 4. 12.100 / 4. 12.100 libpostproc 57. 3.100 / 57. 3.100 [tcp @ 0x77dfe8003f80] Connection to tcp://192.168.1.100:8081 failed: Connection timed out http://192.168.1.100:8081/236/stream: Connection timed out nan : 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0 Thank you very much! JMB On 12/24/25 13:01, tosiara wrote: > Can you add console output of a working ffplay and not working motion > of the same camera? > So I can see the same url is being used in both cases > > On Wed, Dec 24, 2025 at 2:52 PM jmb <jm...@gm...> wrote: >> Hello Tosiara, >> >> Thank you very much for replying so speedily! All 3 work with ffplay using: >> a) ffplay http://192.168.1.2XX:8080/video >> b) ffplay http://192.168.1.2YY:8080/video >> c) ffplay http://192.168.1.2ZZ:8080/video >> Motion streams the video perfectly from: >> a) http://192.168.1.100:8081/2XX/stream >> b) http://192.168.1.100:8081/2YY/stream >> but the same motion instance does not from: >> c) http://192.168.1.100:8081/2ZZ/stream >> (all 3 being IPWebCam sources for the same server at 192.168.1.100, when >> browsing server via http://localhost:8000/) >> >> CLARIFICATION: >> needed in my previous email a) and b) WORK; c) does NOT; in the >> motion video display (multi or single). >> >> Your help is much appreciated! Thank you. >> JMB >> >> On 12/24/25 04:35, tosiara wrote: >>> You should find the correct stream url not by using Browser, but using >>> "ffplay" command. Then it will work with also motion. If a url works >>> with ffplay, but does not work with motion - let us know >>> >>> On Tue, Dec 23, 2025 at 10:15 PM jmb <jm...@gm...> wrote: >>>> Hello, >>>> >>>> I have been using motion software for more than 2 decades. Wonderful >>>> software that I have found it to be. >>>> >>>> I am currently using: >>>> Version 4.7.1(C)2000-24 J.Vreeken/F.Heusden/K.Lavrsen/Project team >>>> ... where motion is running on a server at 192.168.1.100 under Ubuntu >>>> 24.04 and acquiring its video from older (repurposed) Android phones. I >>>> am trying to make it work with the following older Android phones (as IP >>>> cameras) that are running Pavel Klebovich's IPWebCam app. >>>> >>>> What I am finding: >>>> a) Android 5.1.1 MotoE2 -WORKS >>>> with ONVIF support enabled in IPWebCam >>>> Brave-browser http://192.168.1.2XX:8080/video (video works) >>>> Motion (streams the video perfectly) from >>>> http://192.168.1.100:8081/2XX/stream >>>> b) Android 4.0.4 Kyocera -WORKS >>>> with ONVIF support enabled in IPWebCam >>>> Brave-browser http://192.168.1.2YY:8081/video (video works) >>>> Motion (streams the video perfectly) from >>>> http://192.168.1.100:8081/2YY/stream >>>> c) Android 2.2.2 LG -FAILS >>>> ONVIF support NOT available in IPWebCam >>>> Brave-browser http://192.168.1.2ZZ:8081/video (video works) >>>> Motion reports: "Unable to open video device, since ..." from >>>> http://192.168.1.100:8081/2ZZ/stream >>>> It is the oldest Android 2.2.2 LG phone that's not working with motion. >>>> Incidentally is is also the most reliable one for running IPWebCam !!! >>>> >>>> QUESTIONS: >>>> Could it be because ONVIF is unavailable in IPWebCam version of the >>>> oldest OS -Android 2.2.2? I realize the differences could be the >>>> versions of IPWebCam apps between the 3 Android OSes. But my question >>>> is whether I can somehow overcome the limitations of the oldest Android >>>> OS and or IPWebCam app available for it? Are there any motion software >>>> configuration settings I could tweak? >>>> >>>> SIDE NOTE: >>>> Am also running motion on various generations of RPi quite reliably! >>>> >>>> REQUEST: >>>> Any help would be much appreciated, for keeping older hardware useful >>>> and less destined to the landfills. Thanks. >>>> >>>> JMB >>>> _______________________________________________ >>>> Motion-user mailing list >>>> Mot...@li... >>>> https://lists.sourceforge.net/lists/listinfo/motion-user >>>> https://motion-project.github.io/ >>>> >>>> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user >> |
|
From: tosiara <to...@gm...> - 2025-12-24 18:01:32
|
Can you add console output of a working ffplay and not working motion of the same camera? So I can see the same url is being used in both cases On Wed, Dec 24, 2025 at 2:52 PM jmb <jm...@gm...> wrote: > > Hello Tosiara, > > Thank you very much for replying so speedily! All 3 work with ffplay using: > a) ffplay http://192.168.1.2XX:8080/video > b) ffplay http://192.168.1.2YY:8080/video > c) ffplay http://192.168.1.2ZZ:8080/video > Motion streams the video perfectly from: > a) http://192.168.1.100:8081/2XX/stream > b) http://192.168.1.100:8081/2YY/stream > but the same motion instance does not from: > c) http://192.168.1.100:8081/2ZZ/stream > (all 3 being IPWebCam sources for the same server at 192.168.1.100, when > browsing server via http://localhost:8000/) > > CLARIFICATION: > needed in my previous email a) and b) WORK; c) does NOT; in the > motion video display (multi or single). > > Your help is much appreciated! Thank you. > JMB > > On 12/24/25 04:35, tosiara wrote: > > You should find the correct stream url not by using Browser, but using > > "ffplay" command. Then it will work with also motion. If a url works > > with ffplay, but does not work with motion - let us know > > > > On Tue, Dec 23, 2025 at 10:15 PM jmb <jm...@gm...> wrote: > >> Hello, > >> > >> I have been using motion software for more than 2 decades. Wonderful > >> software that I have found it to be. > >> > >> I am currently using: > >> Version 4.7.1(C)2000-24 J.Vreeken/F.Heusden/K.Lavrsen/Project team > >> ... where motion is running on a server at 192.168.1.100 under Ubuntu > >> 24.04 and acquiring its video from older (repurposed) Android phones. I > >> am trying to make it work with the following older Android phones (as IP > >> cameras) that are running Pavel Klebovich's IPWebCam app. > >> > >> What I am finding: > >> a) Android 5.1.1 MotoE2 -WORKS > >> with ONVIF support enabled in IPWebCam > >> Brave-browser http://192.168.1.2XX:8080/video (video works) > >> Motion (streams the video perfectly) from > >> http://192.168.1.100:8081/2XX/stream > >> b) Android 4.0.4 Kyocera -WORKS > >> with ONVIF support enabled in IPWebCam > >> Brave-browser http://192.168.1.2YY:8081/video (video works) > >> Motion (streams the video perfectly) from > >> http://192.168.1.100:8081/2YY/stream > >> c) Android 2.2.2 LG -FAILS > >> ONVIF support NOT available in IPWebCam > >> Brave-browser http://192.168.1.2ZZ:8081/video (video works) > >> Motion reports: "Unable to open video device, since ..." from > >> http://192.168.1.100:8081/2ZZ/stream > >> It is the oldest Android 2.2.2 LG phone that's not working with motion. > >> Incidentally is is also the most reliable one for running IPWebCam !!! > >> > >> QUESTIONS: > >> Could it be because ONVIF is unavailable in IPWebCam version of the > >> oldest OS -Android 2.2.2? I realize the differences could be the > >> versions of IPWebCam apps between the 3 Android OSes. But my question > >> is whether I can somehow overcome the limitations of the oldest Android > >> OS and or IPWebCam app available for it? Are there any motion software > >> configuration settings I could tweak? > >> > >> SIDE NOTE: > >> Am also running motion on various generations of RPi quite reliably! > >> > >> REQUEST: > >> Any help would be much appreciated, for keeping older hardware useful > >> and less destined to the landfills. Thanks. > >> > >> JMB > >> _______________________________________________ > >> Motion-user mailing list > >> Mot...@li... > >> https://lists.sourceforge.net/lists/listinfo/motion-user > >> https://motion-project.github.io/ > >> > >> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user > > |
|
From: jmb <jm...@gm...> - 2025-12-24 12:52:21
|
Hello Tosiara, Thank you very much for replying so speedily! All 3 work with ffplay using: a) ffplay http://192.168.1.2XX:8080/video b) ffplay http://192.168.1.2YY:8080/video c) ffplay http://192.168.1.2ZZ:8080/video Motion streams the video perfectly from: a) http://192.168.1.100:8081/2XX/stream b) http://192.168.1.100:8081/2YY/stream but the same motion instance does not from: c) http://192.168.1.100:8081/2ZZ/stream (all 3 being IPWebCam sources for the same server at 192.168.1.100, when browsing server via http://localhost:8000/) CLARIFICATION: needed in my previous email a) and b) WORK; c) does NOT; in the motion video display (multi or single). Your help is much appreciated! Thank you. JMB On 12/24/25 04:35, tosiara wrote: > You should find the correct stream url not by using Browser, but using > "ffplay" command. Then it will work with also motion. If a url works > with ffplay, but does not work with motion - let us know > > On Tue, Dec 23, 2025 at 10:15 PM jmb <jm...@gm...> wrote: >> Hello, >> >> I have been using motion software for more than 2 decades. Wonderful >> software that I have found it to be. >> >> I am currently using: >> Version 4.7.1(C)2000-24 J.Vreeken/F.Heusden/K.Lavrsen/Project team >> ... where motion is running on a server at 192.168.1.100 under Ubuntu >> 24.04 and acquiring its video from older (repurposed) Android phones. I >> am trying to make it work with the following older Android phones (as IP >> cameras) that are running Pavel Klebovich's IPWebCam app. >> >> What I am finding: >> a) Android 5.1.1 MotoE2 -WORKS >> with ONVIF support enabled in IPWebCam >> Brave-browser http://192.168.1.2XX:8080/video (video works) >> Motion (streams the video perfectly) from >> http://192.168.1.100:8081/2XX/stream >> b) Android 4.0.4 Kyocera -WORKS >> with ONVIF support enabled in IPWebCam >> Brave-browser http://192.168.1.2YY:8081/video (video works) >> Motion (streams the video perfectly) from >> http://192.168.1.100:8081/2YY/stream >> c) Android 2.2.2 LG -FAILS >> ONVIF support NOT available in IPWebCam >> Brave-browser http://192.168.1.2ZZ:8081/video (video works) >> Motion reports: "Unable to open video device, since ..." from >> http://192.168.1.100:8081/2ZZ/stream >> It is the oldest Android 2.2.2 LG phone that's not working with motion. >> Incidentally is is also the most reliable one for running IPWebCam !!! >> >> QUESTIONS: >> Could it be because ONVIF is unavailable in IPWebCam version of the >> oldest OS -Android 2.2.2? I realize the differences could be the >> versions of IPWebCam apps between the 3 Android OSes. But my question >> is whether I can somehow overcome the limitations of the oldest Android >> OS and or IPWebCam app available for it? Are there any motion software >> configuration settings I could tweak? >> >> SIDE NOTE: >> Am also running motion on various generations of RPi quite reliably! >> >> REQUEST: >> Any help would be much appreciated, for keeping older hardware useful >> and less destined to the landfills. Thanks. >> >> JMB >> _______________________________________________ >> Motion-user mailing list >> Mot...@li... >> https://lists.sourceforge.net/lists/listinfo/motion-user >> https://motion-project.github.io/ >> >> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user |
|
From: tosiara <to...@gm...> - 2025-12-24 09:35:50
|
You should find the correct stream url not by using Browser, but using "ffplay" command. Then it will work with also motion. If a url works with ffplay, but does not work with motion - let us know On Tue, Dec 23, 2025 at 10:15 PM jmb <jm...@gm...> wrote: > > Hello, > > I have been using motion software for more than 2 decades. Wonderful > software that I have found it to be. > > I am currently using: > Version 4.7.1(C)2000-24 J.Vreeken/F.Heusden/K.Lavrsen/Project team > ... where motion is running on a server at 192.168.1.100 under Ubuntu > 24.04 and acquiring its video from older (repurposed) Android phones. I > am trying to make it work with the following older Android phones (as IP > cameras) that are running Pavel Klebovich's IPWebCam app. > > What I am finding: > a) Android 5.1.1 MotoE2 -WORKS > with ONVIF support enabled in IPWebCam > Brave-browser http://192.168.1.2XX:8080/video (video works) > Motion (streams the video perfectly) from > http://192.168.1.100:8081/2XX/stream > b) Android 4.0.4 Kyocera -WORKS > with ONVIF support enabled in IPWebCam > Brave-browser http://192.168.1.2YY:8081/video (video works) > Motion reports: "Unable to open video device, since ..." from > http://192.168.1.100:8081/2YY/stream > c) Android 2.2.2 LG -FAILS > ONVIF support NOT available in IPWebCam > Brave-browser http://192.168.1.2ZZ:8081/video (video works) > Motion reports: "Unable to open video device, since ..." from > http://192.168.1.100:8081/2ZZ/stream > It is the oldest Android 2.2.2 LG phone that's not working with motion. > Incidentally is is also the most reliable one for running IPWebCam !!! > > QUESTIONS: > Could it be because ONVIF is unavailable in IPWebCam version of the > oldest OS -Android 2.2.2? I realize the differences could be the > versions of IPWebCam apps between the 3 Android OSes. But my question > is whether I can somehow overcome the limitations of the oldest Android > OS and or IPWebCam app available for it? Are there any motion software > configuration settings I could tweak? > > SIDE NOTE: > Am also running motion on various generations of RPi quite reliably! > > REQUEST: > Any help would be much appreciated, for keeping older hardware useful > and less destined to the landfills. Thanks. > > JMB > > > _______________________________________________ > Motion-user mailing list > Mot...@li... > https://lists.sourceforge.net/lists/listinfo/motion-user > https://motion-project.github.io/ > > Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user |
|
From: jmb <jm...@gm...> - 2025-12-23 20:13:39
|
Hello, I have been using motion software for more than 2 decades. Wonderful software that I have found it to be. I am currently using: Version 4.7.1(C)2000-24 J.Vreeken/F.Heusden/K.Lavrsen/Project team ... where motion is running on a server at 192.168.1.100 under Ubuntu 24.04 and acquiring its video from older (repurposed) Android phones. I am trying to make it work with the following older Android phones (as IP cameras) that are running Pavel Klebovich's IPWebCam app. What I am finding: a) Android 5.1.1 MotoE2 -WORKS with ONVIF support enabled in IPWebCam Brave-browser http://192.168.1.2XX:8080/video (video works) Motion (streams the video perfectly) from http://192.168.1.100:8081/2XX/stream b) Android 4.0.4 Kyocera -WORKS with ONVIF support enabled in IPWebCam Brave-browser http://192.168.1.2YY:8081/video (video works) Motion reports: "Unable to open video device, since ..." from http://192.168.1.100:8081/2YY/stream c) Android 2.2.2 LG -FAILS ONVIF support NOT available in IPWebCam Brave-browser http://192.168.1.2ZZ:8081/video (video works) Motion reports: "Unable to open video device, since ..." from http://192.168.1.100:8081/2ZZ/stream It is the oldest Android 2.2.2 LG phone that's not working with motion. Incidentally is is also the most reliable one for running IPWebCam !!! QUESTIONS: Could it be because ONVIF is unavailable in IPWebCam version of the oldest OS -Android 2.2.2? I realize the differences could be the versions of IPWebCam apps between the 3 Android OSes. But my question is whether I can somehow overcome the limitations of the oldest Android OS and or IPWebCam app available for it? Are there any motion software configuration settings I could tweak? SIDE NOTE: Am also running motion on various generations of RPi quite reliably! REQUEST: Any help would be much appreciated, for keeping older hardware useful and less destined to the landfills. Thanks. JMB |
|
From: MrDave <mot...@gm...> - 2025-12-09 16:41:15
|
Add a different suffix to the filename on the pipe output. Such as.
movie_extpipe x264 - --input-res %wx%h --fps %{fps} --vbv-maxrate 8000
--preset ultrafast --quiet -o %f/_ext/.mp4
But...I'd recommend not using the extpipe until you've gotten the
passthrough working. If it isn't being written out, check the log and
possibly the movie container.
MrDave
On 12/9/2025 5:10 AM, Harlan Daneker wrote:
> Could you elaborate on what you mean by (it needs to have a different
> filename)? I would like to try that and I will post the results if it
> works.
>
> On Mon, Dec 8, 2025 at 11:02 PM MrDave <mot...@gm...> wrote:
>
> And you have
> movie_extpipe_use off
> movie_output on
> ?
> (Technically, I think you can use extpipe but it needs to have a
> different filename)
>
> On 12/8/2025 7:34 PM, Harlan Daneker wrote:
>> Seems my problem is I haven't been using netcam_high_url
>>
>> I put this in my camera.conf file, both urls are good, but it's
>> recording at the lower resolution. I don't know what I'm missing.
>>
>> netcam_url
>> rtsp://192.168.0.22:554/cam/realmonitor?channel=1&subtype=1
>> <http://192.168.0.22:554/cam/realmonitor?channel=1&subtype=1>
>> netcam_high_url
>> rtsp://192.168.0.22:554/cam/realmonitor?channel=1&subtype=0
>> <http://192.168.0.22:554/cam/realmonitor?channel=1&subtype=0>
>> movie_passthrough on
>>
>> Thanks for any help
>>
>>
>> _______________________________________________
>> Motion-user mailing list
>> Mot...@li...
>> https://lists.sourceforge.net/lists/listinfo/motion-user
>> https://motion-project.github.io/
>>
>> Unsubscribe:https://lists.sourceforge.net/lists/options/motion-user
>
> _______________________________________________
> Motion-user mailing list
> Mot...@li...
> https://lists.sourceforge.net/lists/listinfo/motion-user
> https://motion-project.github.io/
>
> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user
>
>
>
> _______________________________________________
> Motion-user mailing list
> Mot...@li...
> https://lists.sourceforge.net/lists/listinfo/motion-user
> https://motion-project.github.io/
>
> Unsubscribe:https://lists.sourceforge.net/lists/options/motion-user
|
|
From: Harlan D. <hda...@gm...> - 2025-12-09 13:10:40
|
Could you elaborate on what you mean by (it needs to have a different filename)? I would like to try that and I will post the results if it works. On Mon, Dec 8, 2025 at 11:02 PM MrDave <mot...@gm...> wrote: > And you have > movie_extpipe_use off > movie_output on > ? > (Technically, I think you can use extpipe but it needs to have a different > filename) > > On 12/8/2025 7:34 PM, Harlan Daneker wrote: > > Seems my problem is I haven't been using netcam_high_url > > I put this in my camera.conf file, both urls are good, but it's recording > at the lower resolution. I don't know what I'm missing. > > netcam_url rtsp://192.168.0.22:554/cam/realmonitor?channel=1&subtype=1 > netcam_high_url rtsp:// > 192.168.0.22:554/cam/realmonitor?channel=1&subtype=0 > movie_passthrough on > > Thanks for any help > > > _______________________________________________ > Motion-user mailing lis...@li...://lists.sourceforge.net/lists/listinfo/motion-userhttps://motion-project.github.io/ > > Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user > > > _______________________________________________ > Motion-user mailing list > Mot...@li... > https://lists.sourceforge.net/lists/listinfo/motion-user > https://motion-project.github.io/ > > Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user |
|
From: MrDave <mot...@gm...> - 2025-12-09 04:01:09
|
And you have movie_extpipe_use off movie_output on ? (Technically, I think you can use extpipe but it needs to have a different filename) On 12/8/2025 7:34 PM, Harlan Daneker wrote: > Seems my problem is I haven't been using netcam_high_url > > I put this in my camera.conf file, both urls are good, but it's > recording at the lower resolution. I don't know what I'm missing. > > netcam_url rtsp://192.168.0.22:554/cam/realmonitor?channel=1&subtype=1 > <http://192.168.0.22:554/cam/realmonitor?channel=1&subtype=1> > netcam_high_url > rtsp://192.168.0.22:554/cam/realmonitor?channel=1&subtype=0 > <http://192.168.0.22:554/cam/realmonitor?channel=1&subtype=0> > movie_passthrough on > > Thanks for any help > > > _______________________________________________ > Motion-user mailing list > Mot...@li... > https://lists.sourceforge.net/lists/listinfo/motion-user > https://motion-project.github.io/ > > Unsubscribe:https://lists.sourceforge.net/lists/options/motion-user |
|
From: Harlan D. <hda...@gm...> - 2025-12-09 03:35:15
|
Seems my problem is I haven't been using netcam_high_url I put this in my camera.conf file, both urls are good, but it's recording at the lower resolution. I don't know what I'm missing. netcam_url rtsp://192.168.0.22:554/cam/realmonitor?channel=1&subtype=1 netcam_high_url rtsp://192.168.0.22:554/cam/realmonitor?channel=1&subtype=0 movie_passthrough on Thanks for any help |
|
From: MrDave <mot...@gm...> - 2025-12-08 21:17:11
|
I can look into the noise/detection difference. The base/historical
method shouldn't have changed.
Keep in mind that the extpipe is still an encoding option for movies.
extpipe just does it outside of the Motion application. i.e. Motion
captures the image, decodes it, adds the overlays/masks and then encodes
the images using either the embedded encoder or the extpipe option.
To get audio included, Motion captures the audio and video together and
then writes them both out together without any decoding at all.
The "intended" or "typical" set up that occurs is that netcam_url is set
to low resolution feed from the camera. It serves as the feed for the
detection. The netcam_high_url is set to the higher resolution feed
that also includes an audio stream. The low resolution detects motion
and then triggers the saving of the images and audio from the high
resolution. One of the downsides of this is that since there isn't any
decoding/processing done on the high resolution feed, it will not
include any overlays or masks.
Regarding the feeds from the web interface, below I've snipped a section
from the examples page that shows the various feeds available. Each
camera stream is available on the single port by specifying the
associated device id. If you want to use the Motion provided
consolidated image of all cameras(device id 0), then you can use the
"stream_preview_params" option to specify where on the consolidated
image to put each camera.
/Webcontrol pages
{IP}:{port0}/ Home html page with streams for all cameras
The following JSON pages are available via the webcontrol.
{IP}:{port0}/0/config.json JSON object with the configuration
information for all cameras
{IP}:{port0}/0/status.json JSON object with information about
status of all cameras
{IP}:{port0}/0/movies.json JSON object with information about
all movies
The following mjpg streams are available via the webcontrol.
(Update automatically). Specify {camid} as 0 to obtain a consolidated
mjpg stream of all cameras.
{IP}:{port0}/{camid}/mjpg Primary stream for the camera updated
as a mjpg
{IP}:{port0}/{camid}/mjpg/substream Substream for the camera
updated as a mjpg
{IP}:{port0}/{camid}/mjpg/motion Stream of motion images for
the camera as a mjpg
{IP}:{port0}/{camid}/mjpg/source Source image stream of the
camera as a mjpg
{IP}:{port0}/{camid}/mjpg/secondary Image from secondary
detection stream (if active) as a mjpg
The following mpegts streams are available via the webcontrol.
(Update automatically) Specify {camid} as 0 to obtain a consolidated
mpegts stream of all cameras.
{IP}:{port0}/{camid}/mpegts Primary stream for the camera
updated as a mpeg transport stream
{IP}:{port0}/{camid}/mpegts/substream Substream for the camera
updated as a mpeg transport stream
{IP}:{port0}/{camid}/mpegts/motion Stream of motion images for
the camera as a mpeg transport stream
{IP}:{port0}/{camid}/mpegts/source Source image stream of the
camera as a mpeg transport stream
{IP}:{port0}/{camid}/mpegts/secondary Image from secondary
detection stream (if active) as a mpeg transport stream
The following static pages are available via the webcontrol.
(Update manually) Specify {camid} as 0 to obtain a consolidated image of
all cameras.
{IP}:{port0}/{camid}/static Primary image for the camera
{IP}:{port0}/{camid}/static/substream Substream image for the
camera
{IP}:{port0}/{camid}/static/motion Motion image for the camera
{IP}:{port0}/{camid}/static/source Source image of the camera
{IP}:{port0}/{camid}/static/secondary Image from secondary
detection stream (if active)
The following actions can be executed by sending post request.
eventstartStart an event
eventendEnd an event
snapshotInvoke a snapshot
pause_onPause motion detection
pause_offEnable motion detection
pause_scheduleAllow schedule to pause or enable motion detection
restartRestart camera
stopStop camera
config_writeWrite out the configuration to file. User account
running Motion must have write access to directory
camera_addAdd a camera
camera_deleteDelete camera
configSet configuration item
action_userExecute the on_action_user command. Provide as
needed the additional parameter of action_user
pan_leftExecute the ptz_pan_left command
pan_rightExecute the ptz_pan_left command
tilt_upExecute the ptz_tilt_up
tilt_downExecute the ptz_tilt_down
zoom_inExecute ptz_zoom_in command
zoom_outExecute the ptz_zoom_out command
Sample commands
curl -s -o -X POST {IP}:{port0} --data "camid={camid}" --data
"command=eventstart" 1>/dev/null
curl -s -o -X POST {IP}:{port0} --data "camid={camid}" --data
"command=config" --data "framerate=12" 1>/dev/null
/
On 12/8/2025 10:14 AM, Harlan Daneker wrote:
> (movie_all_frames off) has fixed the constant recording.
> I'm switching between motion-5 and motion-4.7.1. Motion-5 seems to be
> detecting noise that motion-4.7.1 does not, I'm getting false motion
> detectionin large areas, (noise_tune on)(noise_level 32). (setup_mode)
> does not seem to be part of motion-5 so I don't know how to see what
> is going on. Despecle helps, but does not seem to fix this.
>
> (movie_passthrough on) Still no audio in videos, would movie_extpipe
> have anything to do with that?
> movie_extpipe x264 - --input-res %wx%h --fps %{fps} --vbv-maxrate 8000
> --preset ultrafast --quiet -o %f.mp4
>
> (http://127.0.0.1:8080/1/static) shows a jpg of camera 1 in firefox
> (1 is the device_id), is there a way to stream using the device_id
> this way? I have been using apache/php and the different ports to
> stream/view 4 images on one web page.
>
> I'm not complaining, just trying to figure this out, I've been using
> motion for over 20 years.
>
> On Sun, Dec 7, 2025 at 8:18 PM Barry Martin <bar...@gm...>
> wrote:
>
>
>> I have been trying to work with motion
>> 5.0.0-git-20251009-8bc2260. I've gone through the
>> configuration and I cannot figure out what would cause this.
>> Motion keeps recording after it has detected something even
>> though post_capture is 0. I'm displaying the pixel changes in the
>> upper right of the video and they are below the threshold when it
>> is recording. threshold 2000
>>
>> http://htd.camdvr.org/18_37.mp4
>>
>> Thanks for any help
>
>
> Hi Harlan!
>
> Stupid question: is there a post_capture value in camera1.conf of
> whatever your configuration file is named? Values in motion.conf
> will be overridden by a later-called config file ==> see the very
> end of motion.conf for what files it is looking it for specific
> cameras.
>
>
> _______________________________________________
> Motion-user mailing list
> Mot...@li...
> https://lists.sourceforge.net/lists/listinfo/motion-user
> https://motion-project.github.io/
>
> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user
>
>
>
> _______________________________________________
> Motion-user mailing list
> Mot...@li...
> https://lists.sourceforge.net/lists/listinfo/motion-user
> https://motion-project.github.io/
>
> Unsubscribe:https://lists.sourceforge.net/lists/options/motion-user
|
|
From: Barry M. <bar...@gm...> - 2025-12-08 18:38:56
|
Hi Harlan!
> (http://127.0.0.1:8080/1/static) shows a jpg of camera 1 in firefox
> (1 is the device_id), is there a way to stream using the device_id
> this way? I have been using apache/php and the different ports to
> stream/view 4 images on one web page.
Try without the 'static', and possibly without the last virgule
('slash') at the end to get the stream,
I have been using cctv-viewer for years to view multiple cameras at once
-- up to 16. Can also tap/click on one of the screens to make that
full-screen. I have it running off a Raspberry Pi but I think he's got
Windows and Mac options as well.
> I'm not complaining, just trying to figure this out, I've been using
> motion for over 20 years.
I'm going for "that's how we learn"!
|
|
From: Harlan D. <hda...@gm...> - 2025-12-08 18:14:51
|
(movie_all_frames off) has fixed the constant recording.
I'm switching between motion-5 and motion-4.7.1. Motion-5 seems to be
detecting noise that motion-4.7.1 does not, I'm getting false motion
detection in large areas, (noise_tune on)(noise_level 32). (setup_mode)
does not seem to be part of motion-5 so I don't know how to see what is
going on. Despecle helps, but does not seem to fix this.
(movie_passthrough on) Still no audio in videos, would movie_extpipe have
anything to do with that?
movie_extpipe x264 - --input-res %wx%h --fps %{fps} --vbv-maxrate 8000
--preset ultrafast --quiet -o %f.mp4
(http://127.0.0.1:8080/1/static) shows a jpg of camera 1 in firefox (1 is
the device_id), is there a way to stream using the device_id this way? I
have been using apache/php and the different ports to stream/view 4 images
on one web page.
I'm not complaining, just trying to figure this out, I've been using motion
for over 20 years.
On Sun, Dec 7, 2025 at 8:18 PM Barry Martin <bar...@gm...> wrote:
>
> I have been trying to work with motion 5.0.0-git-20251009-8bc2260. I've
> gone through the configuration and I cannot figure out what would cause
> this. Motion keeps recording after it has detected something even though
> post_capture is 0. I'm displaying the pixel changes in the upper right of
> the video and they are below the threshold when it is recording. threshold
> 2000
>
> http://htd.camdvr.org/18_37.mp4
>
> Thanks for any help
>
>
> Hi Harlan!
>
> Stupid question: is there a post_capture value in camera1.conf of whatever
> your configuration file is named? Values in motion.conf will be overridden
> by a later-called config file ==> see the very end of motion.conf for what
> files it is looking it for specific cameras.
>
>
> _______________________________________________
> Motion-user mailing list
> Mot...@li...
> https://lists.sourceforge.net/lists/listinfo/motion-user
> https://motion-project.github.io/
>
> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user
|
|
From: Barry M. <bar...@gm...> - 2025-12-08 01:16:42
|
> I have been trying to work with motion 5.0.0-git-20251009-8bc2260. > I've gone through the configuration and I cannot figure out what would > cause this. Motion keeps recording after it has detected something > even though post_capture is 0. I'm displaying the pixel changes in the > upper right of the video and they are below the threshold when it is > recording. threshold 2000 > > http://htd.camdvr.org/18_37.mp4 > > Thanks for any help Hi Harlan! Stupid question: is there a post_capture value in camera1.conf of whatever your configuration file is named? Values in motion.conf will be overridden by a later-called config file ==> see the very end of motion.conf for what files it is looking it for specific cameras. |
|
From: MrDave <mot...@gm...> - 2025-12-08 01:11:06
|
Probably this option. /movie_all_frames Values: on, off | Default: on Specifies whether to send all frames for encoding during an event instead of just those associated with motion or pre/post capture. / On 12/7/2025 3:52 PM, Harlan Daneker wrote: > Hello, > I have been trying to work with motion 5.0.0-git-20251009-8bc2260. > I've gone through the configuration and I cannot figure out what would > cause this. Motion keeps recording after it has detected something > even though post_capture is 0. I'm displaying the pixel changes in the > upper right of the video and they are below the threshold when it is > recording. threshold 2000 > > http://htd.camdvr.org/18_37.mp4 > > Thanks for any help > > > _______________________________________________ > Motion-user mailing list > Mot...@li... > https://lists.sourceforge.net/lists/listinfo/motion-user > https://motion-project.github.io/ > > Unsubscribe:https://lists.sourceforge.net/lists/options/motion-user |
|
From: Harlan D. <hda...@gm...> - 2025-12-07 23:52:51
|
Hello, I have been trying to work with motion 5.0.0-git-20251009-8bc2260. I've gone through the configuration and I cannot figure out what would cause this. Motion keeps recording after it has detected something even though post_capture is 0. I'm displaying the pixel changes in the upper right of the video and they are below the threshold when it is recording. threshold 2000 http://htd.camdvr.org/18_37.mp4 Thanks for any help |
|
From: MrDave <mot...@gm...> - 2025-12-07 03:43:33
|
In Motion v5, there are two very different audio components. The first is that it can record audio from a camera if the passthrough option is used. This option does NOT require anything special in the complie/options. It is just taking the packets sent from the camera and writing them out without any sort of decode/encode process. As of now, this audio is not available live via the webcontrol. It can only be heard via the downloaded recordings. The second component that is included is the ability to detect specific audio frequencies and send alerts based upon the detected frequency. (Think about being able to detect a smoke alarm, water sensor, door bell, breaking glass, etc.). This option does require ALSA or Pulse but It does not record the audio. It just detects the frequencies heard and sends an alert if the frequency is detected. MrDave On 12/6/2025 5:53 PM, Barry Martin wrote: > > > Harlan! > >> I'm trying to compile motion to get audio working on one of my >> cameras. *I'm not sure what I'm doing.* I have pipewire in /usr/bin. >> Do I need PulseAudio, I read pipewire uses PulseAudio. (Is audio >> triggered separately from motion detection in motion.conf?) I have >> audio using firefox or ffplay. > > Something to check: be sure the audio channel from Motion is not > muted/set at a low volume --> probably alsamixer (at Terminal). > > > > > _______________________________________________ > Motion-user mailing list > Mot...@li... > https://lists.sourceforge.net/lists/listinfo/motion-user > https://motion-project.github.io/ > > Unsubscribe:https://lists.sourceforge.net/lists/options/motion-user |
|
From: Barry M. <bar...@gm...> - 2025-12-07 01:53:26
|
Harlan! > I'm trying to compile motion to get audio working on one of my > cameras. *I'm not sure what I'm doing.* I have pipewire in /usr/bin. > Do I need PulseAudio, I read pipewire uses PulseAudio. (Is audio > triggered separately from motion detection in motion.conf?) I have > audio using firefox or ffplay. Something to check: be sure the audio channel from Motion is not muted/set at a low volume --> probably alsamixer (at Terminal). |
|
From: Harlan D. <hda...@gm...> - 2025-12-07 00:52:53
|
Hello: I'm trying to compile motion to get audio working on one of my cameras. *I'm not sure what I'm doing.* I have pipewire in /usr/bin. Do I need PulseAudio, I read pipewire uses PulseAudio. (Is audio triggered separately from motion detection in motion.conf?) I have audio using firefox or ffplay. $ps -aux |grep pipewire admin 2342 0.2 0.0 328488 13720 ? S<sl 09:54 1:22 /usr/bin/pipewire admin 2344 0.3 0.0 405432 15292 ? S<sl 09:54 2:02 /usr/bin/pipewire-pulse ./configure --with-ffmpeg=/usr/bin/ffmpeg --with-pulse=/usr/bin/pipewire LDFLAGS: OS : linux-gnu pthread_np : no pthread_setname_np : yes pthread_getname_np : yes V4L2 : yes webp : yes libcamera : yes(0.5.2) FFmpeg : yes(61.7.100) OpenCV : no SQLite3 : no MYSQL : no PostgreSQL : no MariaDB : no ALSA : yes(1.2.14) PulseAudio : no FFTW : no Install prefix : /usr/local |
|
From: Harlan D. <hda...@gm...> - 2025-11-27 22:07:43
|
Hello, I'm looking to purchase a camera (with audio) that will work well with motion. Can anybody suggest something? Thanks |
|
From: Harlan D. <hda...@gm...> - 2025-10-31 23:06:00
|
Motion 4.7.1, not 5 On Fri, Oct 31, 2025 at 5:58 PM Harlan Daneker <hda...@gm...> wrote: > Motion 5 > Fedora 42 > > I'm using 6 IP cameras. My question is what would make the first frames > after motion detection playback too fast. I'm post capturing some frames, > but not pre capturing. I was wondering if anyone else has had this issue > and what they did about it? > |
|
From: Harlan D. <hda...@gm...> - 2025-10-31 21:58:34
|
Motion 5 Fedora 42 I'm using 6 IP cameras. My question is what would make the first frames after motion detection playback too fast. I'm post capturing some frames, but not pre capturing. I was wondering if anyone else has had this issue and what they did about it? |
|
From: sdhunt <teb...@pr...> - 2025-10-09 16:37:11
|
No idea. Being angry is like holding onto a burning piece of coal; the only person injured is the holder. Sent with Proton Mail secure email. On Wednesday, October 8th, 2025 at 14:15, Harlan Daneker <hda...@gm...> wrote: > Thank you Tosiara, > > Do you know if any of the configuration options changed? > > Harlan > > On Wed, Oct 8, 2025 at 1:21 AM tosiara <to...@gm...> wrote: > > > Hi all, > > > > please find the latest version 4.7.1 released at Github: > > > > https://github.com/Motion-Project/motion/releases/tag/release-4.7.1 > > > > Happy updating! > > > > > > _______________________________________________ > > Motion-user mailing list > > Mot...@li... > > https://lists.sourceforge.net/lists/listinfo/motion-user > > https://motion-project.github.io/ > > > > Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user |