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: motion capture for rtsp sdp format streaming camera (mylin)
   2. Re: motion capture for rtsp sdp format streaming camera (tosiara)


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

Message: 1
Date: Sat, 27 Mar 2021 02:56:02 -0400
From: mylin <my...@ix.netcom.com>
To: motion-user@lists.sourceforge.net
Subject: Re: [Motion-user] motion capture for rtsp sdp format
        streaming camera
Message-ID: <ecc4ddc4-7296-6f9d-6134-b9ade3eee...@ix.netcom.com>
Content-Type: text/plain; charset="utf-8"; Format="flowed"

This is found in /var/motion/motion.log

[3:ml3] [ERR] [NET] [Mar 27 02:34:00] netcam_rtsp_open_context: unable 
to open 
input(rtsp://admin:password@192.168.2.98:554/user=admin_password=xxxx_channel=0_stream=0.sdp?real_stream):
 
Invalid data found when processing input

However, I can stream it using vlc, but vlc is not the method I want to 
capture motion from.

vlc rtsp://192.168.2.98:554/realmonitor?channel=0&stream=0.sdp 
<http://192.168.2.98:554/realmonitor?channel=0&stream=0.sdp>



On 2021-03-26 7:35 p.m., mylin wrote:
>
> Thanks for the suggestion but setting the netcam_use_tcp option to off 
> , did not work either.
>
>
> On 2021-03-26 6:51 p.m., James Smith wrote:
>> Try forcing?motion to use UDP by setting the netcam_use_tcp option to 
>> off
>>
>>
>>
>> On Sat, Mar 27, 2021 at 6:25 AM mylin <my...@ix.netcom.com 
>> <mailto:my...@ix.netcom.com>> wrote:
>>
>>     I'm trying to run motion from a sdp formatted streaming from an
>>     outdoor
>>     ip camera.
>>
>>     rtsp://192.168.2.98:554/realmonitor?channel=0&stream=0.sdp
>>     <http://192.168.2.98:554/realmonitor?channel=0&stream=0.sdp>
>>
>>     But,I only see a gray screen when I try to view it in the browser.
>>
>>
>>     But I can stream it using vlc,
>>
>>     vlc rtsp://192.168.2.98:554/realmonitor?channel=0&stream=0.sdp
>>     <http://192.168.2.98:554/realmonitor?channel=0&stream=0.sdp>
>>
>>
>>     Here is the motion camera config file contents. Any ideas how to
>>     make it
>>     work in motion?
>>
>>     Thanks.
>>
>>     ----------------------
>>
>>     ??camera_id = 98
>>
>>     ###########################################################
>>     # Capture device options
>>     ############################################################
>>
>>     # The video input to be used (default: -1)
>>     # Should normally be set to 1 for video/TV cards, and -1 for USB
>>     cameras
>>     input -1
>>
>>     target_dir /home/mydrive/motion_ipcamoutdoorcam
>>
>>     ############################################################
>>     # Live Stream Server
>>     ############################################################
>>
>>     # The mini-http server listens to this port for requests
>>     (default: 0 =
>>     disabled)
>>     stream_port 8098
>>
>>     #---------------------
>>
>>     # URL to use if you are using a network camera, size will be
>>     autodetected (incl http:// ftp:// mjpg:// rtsp:// mjpeg:// or
>>     file:///)
>>     netcam_url
>>     rtsp://192.168.2.98:554/realmonitor?channel=0&stream=0.sdp
>>     <http://192.168.2.98:554/realmonitor?channel=0&stream=0.sdp>
>>
>>     # Username and password for network camera (only if required).
>>     Default:
>>     not defined
>>     # Syntax is user:password
>>     ; netcam_userpass value
>>     netcam_userpass admin:mypassword
>>
>>
>>     # The setting for keep-alive of network socket, should improve
>>     performance on compatible net cameras.
>>     # off:?? The historical implementation using HTTP/1.0, closing the
>>     socket after each http request.
>>     # force: Use HTTP/1.0 requests with keep alive header to reuse
>>     the same
>>     connection.
>>     # on:??? Use HTTP/1.1 requests that support keep alive as default.
>>     # Default: off
>>     ##netcam_keepalive off
>>     netcam_keepalive on
>>
>>     # Set less strict jpeg checks for network cameras with a poor/buggy
>>     firmware.
>>     # Default: off
>>     netcam_tolerant_check off
>>     #---------------------
>>
>>
>>
>>
>>     _______________________________________________
>>     Motion-user mailing list
>>     Motion-user@lists.sourceforge.net
>>     <mailto: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
>>
>>
>>
>> -- 
>> -----BEGIN GEEK CODE BLOCK-----
>> Version: 3.12
>> GIT d? s+:+ a C+++ US++++ P++ L++ E--- W-- N++ o+ K w---
>> O M-- V-- PS PE+ Y+ PGP t+ 5+ X+ R tv+ b+ DI++ D+
>> G e h---- r+++ y++++
>> ------END GEEK CODE BLOCK------
>>
>>
>> _______________________________________________
>> 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
>
>
> _______________________________________________
> 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...

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

Message: 2
Date: Sat, 27 Mar 2021 13:43:10 +0200
From: tosiara <tosi...@gmail.com>
To: Motion discussion list <motion-user@lists.sourceforge.net>
Subject: Re: [Motion-user] motion capture for rtsp sdp format
        streaming camera
Message-ID:
        <CACHTdwTP+nohuT-r=4wP_a5Bz_=rg27t-1tjgov8elaehtz...@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"

How did you specify user and password for the rtsp in the config?
Inline url or using netcam_userpass ?

On Sat, Mar 27, 2021 at 8:57 AM mylin <my...@ix.netcom.com> wrote:
>
> This is found in /var/motion/motion.log
>
> [3:ml3] [ERR] [NET] [Mar 27 02:34:00] netcam_rtsp_open_context: unable to 
> open 
> input(rtsp://admin:password@192.168.2.98:554/user=admin_password=xxxx_channel=0_stream=0.sdp?real_stream):
>  Invalid data found when processing input
>
> However, I can stream it using vlc, but vlc is not the method I want to 
> capture motion from.
>
> vlc rtsp://192.168.2.98:554/realmonitor?channel=0&stream=0.sdp
>
>
>
> On 2021-03-26 7:35 p.m., mylin wrote:
>
> Thanks for the suggestion but setting the netcam_use_tcp option to off , did 
> not work either.
>
>
> On 2021-03-26 6:51 p.m., James Smith wrote:
>
> Try forcing motion to use UDP by setting the netcam_use_tcp option to off
>
>
>
> On Sat, Mar 27, 2021 at 6:25 AM mylin <my...@ix.netcom.com> wrote:
>>
>> I'm trying to run motion from a sdp formatted streaming from an outdoor
>> ip camera.
>>
>> rtsp://192.168.2.98:554/realmonitor?channel=0&stream=0.sdp
>>
>> But,I only see a gray screen when I try to view it in the browser.
>>
>>
>> But I can stream it using vlc,
>>
>> vlc rtsp://192.168.2.98:554/realmonitor?channel=0&stream=0.sdp
>>
>>
>> Here is the motion camera config file contents. Any ideas how to make it
>> work in motion?
>>
>> Thanks.
>>
>> ----------------------
>>
>>   camera_id = 98
>>
>> ###########################################################
>> # Capture device options
>> ############################################################
>>
>> # The video input to be used (default: -1)
>> # Should normally be set to 1 for video/TV cards, and -1 for USB cameras
>> input -1
>>
>> target_dir /home/mydrive/motion_ipcamoutdoorcam
>>
>> ############################################################
>> # Live Stream Server
>> ############################################################
>>
>> # The mini-http server listens to this port for requests (default: 0 =
>> disabled)
>> stream_port 8098
>>
>> #---------------------
>>
>> # URL to use if you are using a network camera, size will be
>> autodetected (incl http:// ftp:// mjpg:// rtsp:// mjpeg:// or file:///)
>> netcam_url rtsp://192.168.2.98:554/realmonitor?channel=0&stream=0.sdp
>>
>> # Username and password for network camera (only if required). Default:
>> not defined
>> # Syntax is user:password
>> ; netcam_userpass value
>> netcam_userpass admin:mypassword
>>
>>
>> # The setting for keep-alive of network socket, should improve
>> performance on compatible net cameras.
>> # off:   The historical implementation using HTTP/1.0, closing the
>> socket after each http request.
>> # force: Use HTTP/1.0 requests with keep alive header to reuse the same
>> connection.
>> # on:    Use HTTP/1.1 requests that support keep alive as default.
>> # Default: off
>> ##netcam_keepalive off
>> netcam_keepalive on
>>
>> # Set less strict jpeg checks for network cameras with a poor/buggy
>> firmware.
>> # Default: off
>> netcam_tolerant_check off
>> #---------------------
>>
>>
>>
>>
>> _______________________________________________
>> 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
>
>
>
> --
> -----BEGIN GEEK CODE BLOCK-----
> Version: 3.12
> GIT d? s+:+ a C+++ US++++ P++ L++ E--- W-- N++ o+ K w---
> O M-- V-- PS PE+ Y+ PGP t+ 5+ X+ R tv+ b+ DI++ D+
> G e h---- r+++ y++++
> ------END GEEK CODE BLOCK------
>
>
> _______________________________________________
> 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
>
>
>
> _______________________________________________
> 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
>
> _______________________________________________
> 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



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



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

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 177, Issue 14
********************************************

Reply via email to