Send Motion-user mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/motion-user
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Motion-user digest..."
Today's Topics:
1. Re: Repurposing Android phones as cameras (tosiara)
----------------------------------------------------------------------
Message: 1
Date: Fri, 26 Dec 2025 16:29:21 +0200
From: tosiara <[email protected]>
To: jmb <[email protected]>, Motion discussion list
<[email protected]>
Subject: Re: [Motion-user] Repurposing Android phones as cameras
Message-ID:
<cachtdwqxeswlrztueshcyj4strg9qygvr-yfxzbmo-h9qtw...@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"
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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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
> >>>>>> [email protected]
> >>>>>> https://lists.sourceforge.net/lists/listinfo/motion-user
> >>>>>> https://motion-project.github.io/
> >>>>>>
> >>>>>> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user
>
>
------------------------------
------------------------------
Subject: Digest Footer
_______________________________________________
Motion-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/motion-user
------------------------------
End of Motion-user Digest, Vol 229, Issue 9
*******************************************