Send Motion-user mailing list submissions to
        motion-user@lists.sourceforge.net

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
        motion-user-requ...@lists.sourceforge.net

You can reach the person managing the list at
        motion-user-ow...@lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Motion-user digest..."


Today's Topics:

   1. Re: rtsp Invalid netcam_url (slymak)


----------------------------------------------------------------------

Message: 1
Date: Mon, 2 Dec 2019 19:13:13 +0100
From: slymak <sly...@gmail.com>
To: Motion discussion list <motion-user@lists.sourceforge.net>
Subject: Re: [Motion-user] rtsp Invalid netcam_url
Message-ID:
        <can7egy+ube1sopzeoetkmjrx163xzzg7lq+owkeqs7-grox...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

you are right this
netcam_url rtsp://10.0.0.64/user=admin_password=_channel=1_stream=0_
works fine
so simple
thank you for care

On Thu, Nov 28, 2019 at 6:53 PM MrDave <motionmrd...@gmail.com> wrote:

> And possibly also try with the &'s  This is a sample from my cameras
>
> rtsp://10.0.0.64:554/user=admin&password=&channel=0&stream=0.sdp?
>
>
> On 11/28/2019 8:25 AM, manu.kemppainen--- via Motion-user wrote:
>
> Does the url work without @ mark?
> rtsp://10.0.0.64/user=admin_password=_channel=1_stream=0.sdp?real_stream
>
> --
> Manu
>
>
> -------- Alkuper?inen viesti --------
> Aihe: Re: [Motion-user] rtsp Invalid netcam_url
> L?hett?j?: slymak
> Vastaanottaja: Motion discussion list
> Kopio:
>
>
> I have cheap Chinese network camera
> what works in windows vlc via
> rtsp://@10.0.0.64/user=admin_password=_channel=1_stream=0.sdp?real_stream
>
> at my raspberry ffprobe looks fine see
> =====================
> ffprobe -i rtsp://@10.0.0.64/user=admin_password=_channel=1_stream=0_
> ffprobe version 3.2.14-1~deb9u1+rpt1 Copyright (c) 2007-2019 the FFmpeg
> developers
>   built with gcc 6.3.0 (Raspbian 6.3.0-18+rpi1+deb9u1) 20170516
>   configuration: --prefix=/usr --extra-version='1~deb9u1+rpt1'
> --toolchain=hardened --libdir=/usr/lib/arm-linux-gnueabihf
> --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping
> --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa
> --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca
> --enable-libcdio --enable-libebur128 --enable-libflite
> --enable-libfontconfig --enable-libfreetype --enable-libfribidi
> --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libopenjpeg
> --enable-libopenmpt --enable-libopus --enable-libpulse
> --enable-librubberband --enable-libshine --enable-libsnappy
> --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora
> --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack
> --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzmq
> --enable-libzvbi --enable-omx --enable-omx-rpi --enable-mmal
> --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394
> --enable-libiec61883 --arch=armhf --enable-chromaprint --enable-frei0r
> --enable-libopencv --enable-libx264 --enable-shared
>   libavutil      55. 34.101 / 55. 34.101
>   libavcodec     57. 64.101 / 57. 64.101
>   libavformat    57. 56.101 / 57. 56.101
>   libavdevice    57.  1.100 / 57.  1.100
>   libavfilter     6. 65.100 /  6. 65.100
>   libavresample   3.  1.  0 /  3.  1.  0
>   libswscale      4.  2.100 /  4.  2.100
>   libswresample   2.  3.100 /  2.  3.100
>   libpostproc    54.  1.100 / 54.  1.100
> Input #0, rtsp, from 'rtsp://@
> 10.0.0.64/user=admin_password=_channel=1_stream=0_':
>   Metadata:
>     title           : RTSP Session
>   Duration: N/A, start: 0.516667, bitrate: N/A
>     Stream #0:0: Video: h264 (Main), yuvj420p(pc, bt709, progressive),
> 1920x1080, 15 fps, 12 tbr, 90k tbn, 30 tbc
>
>
> --------------------- but motion --------------
> sudo motion
> [0:motion] [NTC] [ALL] conf_load: Processing thread 0 - config file
> /etc/motion/motion.conf
> [0:motion] [NTC] [ALL] motion_startup: Motion 4.0 Started
> [0:motion] [NTC] [ALL] motion_startup: Logging to file
> (/var/log/motion/motion.log)
>
> write into log:
> [0:motion] [NTC] [ALL] [Nov 27 21:03:02] main: Waiting for threads to
> finish, pid: 3436
> [0:web_control] [NTC] [STR] [Nov 27 21:03:02] http_bindsock: listening on
> 127.0.0.1 port 8080
> [1:ml1] [NTC] [ALL] [Nov 27 21:03:02] motion_init: Camera 0 started:
> motion detection Enabled
> [0:web_control] [NTC] [STR] [Nov 27 21:03:02] httpd_run: Started
> motion-httpd server on port 8080 (auth Disabled)
> [1:ml1] [ALR] [NET] [Nov 27 21:03:02] netcam_start: Network Camera thread
> starting... for url (rtsp://@
> 10.0.0.64/user=admin_password=_channel=1_stream=0_)
> [1:ml1] [CRT] [NET] [Nov 27 21:03:02] netcam_start: Invalid netcam_url
> (rtsp://@10.0.0.64/user=admin_password=_channel=1_stream=0_)
> [1:ml1] [WRN] [ALL] [Nov 27 21:03:02] motion_init: Could not fetch initial
> image from camera Motion continues using width and height from config
> file(s)
> [1:ml1] [NTC] [ALL] [Nov 27 21:03:02] image_ring_resize: Resizing
> pre_capture buffer to 1 items
> [1:ml1] [NTC] [STR] [Nov 27 21:03:02] http_bindsock: listening on
> 127.0.0.1 port 8081
> [1:ml1] [NTC] [ALL] [Nov 27 21:03:02] motion_init: Started motion-stream
> server on port 8081 (auth Disabled)
> [1:ml1] [WRN] [ALL] [Nov 27 21:03:10] motion_loop: Retrying until
> successful connection with camera
> [1:ml1] [ALR] [NET] [Nov 27 21:03:10] netcam_start: Network Camera thread
> starting... for url (rtsp://@
> 10.0.0.64/user=admin_password=_channel=1_stream=0_)
> [1:ml1] [CRT] [NET] [Nov 27 21:03:10] netcam_start: Invalid netcam_url
> (rtsp://@10.0.0.64/user=admin_password=_channel=1_stream=0_)
> [1:ml1] [WRN] [ALL] [Nov 27 21:03:20] motion_loop: Retrying until
> successful connection with camera
> [1:ml1] [ALR] [NET] [Nov 27 21:03:20] netcam_start: Network Camera thread
> starting... for url (rtsp://@
> 10.0.0.64/user=admin_password=_channel=1_stream=0_)
> [1:ml1] [CRT] [NET] [Nov 27 21:03:20] netcam_start: Invalid netcam_url
> (rtsp://@10.0.0.64/user=admin_password=_channel=1_stream=0_)
> [1:ml1] [WRN] [ALL] [Nov 27 21:03:30] motion_loop: Retrying until
> successful connection with camera
> [1:ml1] [ALR] [NET] [Nov 27 21:03:30] netcam_start: Network Camera thread
> starting... for url (rtsp://@
> 10.0.0.64/user=admin_password=_channel=1_stream=0_)
> [1:ml1] [CRT] [NET] [Nov 27 21:03:30] netcam_start: Invalid netcam_url
> (rtsp://@10.0.0.64/user=admin_password=_channel=1_stream=0_)
> [1:ml1] [NTC] [ALL] [Nov 27 21:03:32] motion_loop: Video signal lost -
> Adding grey image
> [1:ml1] [NTC] [ALL] [Nov 27 21:03:35] motion_loop: End of event 1
> [1:ml1] [NTC] [ALL] [Nov 27 21:03:35] motion_loop: Thread exiting
> [1:ml1] [NTC] [STR] [Nov 27 21:03:35] stream_stop: Closing motion-stream
> listen socket & active motion-stream sockets
> [1:ml1] [NTC] [STR] [Nov 27 21:03:35] stream_stop: Closed motion-stream
> listen socket & active motion-stream sockets
> [0:web_control] [NTC] [STR] [Nov 27 21:03:35] httpd_run: motion-httpd -
> Finishing
> [0:web_control] [NTC] [STR] [Nov 27 21:03:35] httpd_run: motion-httpd
> Closing
> [0:web_control] [NTC] [STR] [Nov 27 21:03:35] motion_web_control:
> motion-httpd thread exit
> [0:motion] [NTC] [ALL] [Nov 27 21:03:36] main: Threads finished
> [0:motion] [NTC] [ALL] [Nov 27 21:03:37] main: Motion terminating
> [0:motion] [NTC] [ALL] [Nov 27 21:03:37] motion_remove_pid: Closing
> logfile (/var/log/motion/motion.log).
>
> --------------------------
> any idea please what to change in my
> /etc/motion $ grep -v -e ^# -e ^$ -e ^';' motion.conf
> daemon off
> process_id_file /var/run/motion/motion.pid
> setup_mode off
> logfile /var/log/motion/motion.log
> log_level 7
> log_type all
> v4l2_palette 17
> input -1
> norm 0
> frequency 0
> power_line_frequency -1
> rotate 0
> width 640
> height 480
> framerate 2
> minimum_frame_time 0
> netcam_url rtsp://@10.0.0.64/user=admin_password=_channel=1_stream=0_
> rtsp_uses_tcp being off
> netcam_keepalive on
> netcam_tolerant_check off
> rtsp_uses_tcp on
> auto_brightness off
> brightness 0
> contrast 0
> saturation 0
> hue 0
> roundrobin_frames 1
> roundrobin_skip 1
> switchfilter off
> threshold 1500
> threshold_tune off
> noise_level 32
> noise_tune on
> despeckle_filter EedDl
> smart_mask_speed 0
> lightswitch 0
> minimum_motion_frames 1
> pre_capture 0
> post_capture 0
> event_gap 60
> max_movie_time 0
> emulate_motion off
> output_pictures on
> output_debug_pictures off
> quality 75
> picture_type jpeg
> ffmpeg_output_movies on
> ffmpeg_output_debug_movies off
> ffmpeg_timelapse 0
> ffmpeg_timelapse_mode daily
> ffmpeg_bps 400000
> ffmpeg_variable_bitrate 0
> ffmpeg_video_codec mpeg4
> ffmpeg_duplicate_frames true
> use_extpipe off
> snapshot_interval 0
> locate_motion_mode off
> locate_motion_style box
> text_right %Y-%m-%d\n%T-%q
> text_changes off
> text_event %Y%m%d%H%M%S
> text_double off
> target_dir /var/lib/motion
> snapshot_filename %v-%Y%m%d%H%M%S-snapshot
> picture_filename %v-%Y%m%d%H%M%S-%q
> movie_filename %v-%Y%m%d%H%M%S
> timelapse_filename %Y%m%d-timelapse
> ipv6_enabled off
> stream_port 8081
> stream_quality 50
> stream_motion off
> stream_maxrate 1
> stream_localhost on
> stream_limit 0
> stream_auth_method 0
> webcontrol_port 8080
> webcontrol_localhost on
> webcontrol_html_output on
> track_type 0
> track_auto off
> track_iomojo_id 0
> track_step_angle_x 10
> track_step_angle_y 10
> track_move_wait 10
> track_speed 255
> track_stepsize 40
> quiet on
>
>
> thank you
>
>
>
>
> _______________________________________________
> Motion-user mailing 
> listMotion-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/motion-userhttps://motion-project.github.io/
>
> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user
>
> _______________________________________________
> Motion-user mailing list
> Motion-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/motion-user
> https://motion-project.github.io/
>
> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------



------------------------------

Subject: Digest Footer

_______________________________________________
Motion-user mailing list
Motion-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/motion-user


------------------------------

End of Motion-user Digest, Vol 162, Issue 1
*******************************************

Reply via email to