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


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

Message: 1
Date: Sat, 27 Mar 2021 09:40:51 -0600
From: MrDave <motionmrd...@gmail.com>
To: motion-user@lists.sourceforge.net
Subject: Re: [Motion-user] motion capture for rtsp sdp format
        streaming camera
Message-ID: <057e24da-2e27-780f-b483-4cc56d918...@gmail.com>
Content-Type: text/plain; charset=utf-8; format=flowed

You are running an older version of Motion and it does not like it when 
the camera sent invalid data.? It aborts the connection to the camera.? 
In the recent versions of Motion, it will now log that the camera is 
sending bad data and proceed to try again.

As such, I would recommend upgrading.? Deb packages can be found here:

https://github.com/Motion-Project/motion/releases

And instructions for installing the deb packages can be found here:

https://motion-project.github.io/motion_build.html#Install_Deb


On 3/27/2021 5:43 AM, tosiara wrote:
> 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
>
> _______________________________________________
> 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



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

Message: 2
Date: Sun, 28 Mar 2021 07:39:09 -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: <6f3492b6-1a7a-8daa-06b1-b22644d0f...@ix.netcom.com>
Content-Type: text/plain; charset=utf-8; format=flowed

Here is the version of motion I currently have on my Ubuntu 18.04 
computer. Is there a more recent version that the Ubuntu 1804 does not have?

sudo apt install motion
Reading package lists... Done
Building dependency tree
Reading state information... Done
motion is already the newest version (4.0-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


On 2021-03-27 11:40 a.m., MrDave wrote:
> You are running an older version of Motion and it does not like it 
> when the camera sent invalid data.? It aborts the connection to the 
> camera.? In the recent versions of Motion, it will now log that the 
> camera is sending bad data and proceed to try again.
>
> As such, I would recommend upgrading.? Deb packages can be found here:
>
> https://github.com/Motion-Project/motion/releases
>
> And instructions for installing the deb packages can be found here:
>
> https://motion-project.github.io/motion_build.html#Install_Deb
>
>
> On 3/27/2021 5:43 AM, tosiara wrote:
>> 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
>>
>> _______________________________________________
>> 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 15
********************************************

Reply via email to