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 problem (Truong Huy)


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

Message: 1
Date: Thu, 28 Dec 2023 16:40:01 +0700
From: Truong Huy <huytruongquo...@gmail.com>
To: Motion discussion list <motion-user@lists.sourceforge.net>
Subject: Re: [Motion-user] RTSP problem
Message-ID:
        <cahq4sfgghpdvlsfffuzt-gvgbxohecsqx5cbrgdenga7cbk...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hi Tosiara,

I install by apt *sudo apt-get install motion*
I'm running on Ubuntu 22.04. On virtual machine on VMware Workstation.
ubuntu@ubuntu-2204:~/Downloads$ ffmpeg -version
ffmpeg version 4.4.2-0ubuntu0.22.04.1 Copyright (c) 2000-2021 the FFmpeg
developers
built with gcc 11 (Ubuntu 11.2.0-19ubuntu1)

Could you share your configuration on motion?

Thank you.


On Thu, Dec 28, 2023 at 4:28?PM tosiara <tosi...@gmail.com> wrote:

> If ffmpeg is unable to play the stream - motion won't too.
>
> I tried your URL with ffmpeg and it worked on my machine, I can see the
> stream. What version of ffmpeg libraries do you use? How did you install
> motion?
>
>
> On Thu, Dec 28, 2023 at 10:51?AM Truong Huy <huytruongquo...@gmail.com>
> wrote:
>
>> Hi Tosiara,
>>
>> I already tried to put user/pass on netcam_userpass. However, still
>> failed.
>> I tried with ffplay and results: [rtsp @ 0x7fdc70000cc0] CSeq 1 expected,
>> 0 received.=    0B f=0/0
>> rtsp://admin:123456789abc@14.233.86.163:554/onvif1: Invalid data found
>> when processing input
>>
>> I could play with vlc successfully.
>>
>> URL is already published to internet.
>> Could you please help to check with your  machine? I tried a lot but
>> still same result. Invalid data found when processing input.
>>
>> Thank you.
>>
>> On Thu, Dec 28, 2023 at 3:27?PM tosiara <tosi...@gmail.com> wrote:
>>
>>> One thing, that you don't need to specify user and password in
>>> netcam_url ir you also specify netcam_userpass. Just remove it from url and
>>> you should be fine
>>>
>>> Also, can you play the same url using ffplay on the same machine?
>>>
>>> On Thu, Dec 28, 2023 at 8:04?AM Truong Huy <huytruongquo...@gmail.com>
>>> wrote:
>>>
>>>> Hi all,
>>>>
>>>> I tried to add RTSP camera to Motion.
>>>> My link: rtsp://admin:123456789abc@14.233.86.163:554/onvif1
>>>>
>>>> My config:
>>>> # /usr/etc/motion/camera1.conf
>>>> #
>>>> # This config file was generated by motion 4.3.2
>>>>
>>>> ###########################################################
>>>> # Configuration options specific to camera 1
>>>> ############################################################
>>>> # User defined name for the camera.
>>>> camera_name MyCam1
>>>>
>>>> # Numeric identifier for the camera.
>>>> camera_id 101
>>>>
>>>> # The full URL of the network camera stream.
>>>> netcam_url rtsp://admin:123456789abc@14.233.86.163:554/onvif1
>>>>
>>>> # Image width in pixels.
>>>> width 1280
>>>>
>>>> # Image height in pixels.
>>>> height 720
>>>>
>>>> # Text to be overlayed in the lower left corner of images
>>>> text_left CAMERA 1
>>>>
>>>> # File name(without extension) for movies relative to target directory
>>>> movie_filename CAM01_%t-%v-%Y%m%d%H%M%S
>>>>
>>>> #Other config
>>>> decoder mpeg4
>>>> capture_rate 4
>>>> rtsp_transport tcp
>>>> input_format mpeg4
>>>> netcam_userpass admin:123456789abc
>>>>
>>>> But failed.
>>>> [image: image.png]
>>>>
>>>> I searched over the internet, I found out many guys has problem as my
>>>> case. However, no solution.
>>>> Please help to check
>>>>
>>>> Thank you.
>>>> --
>>>> Regards,
>>>> Thank you.
>>>>
>>>> Mr. Truong Quoc Huy
>>>> +84905811839
>>>> _______________________________________________
>>>> 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
>>
>>
>>
>> --
>> Regards,
>> Thank you.
>>
>> Mr. Truong Quoc Huy
>> +84905811839
>> _______________________________________________
>> 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



-- 
Regards,
Thank you.

Mr. Truong Quoc Huy
+84905811839
-------------- next part --------------
An HTML attachment was scrubbed...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 213694 bytes
Desc: not available

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



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

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 208, Issue 13
********************************************

Reply via email to