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 (tosiara) ---------------------------------------------------------------------- Message: 1 Date: Thu, 28 Dec 2023 11:26:21 +0200 From: tosiara <tosi...@gmail.com> To: Motion discussion list <motion-user@lists.sourceforge.net> Subject: Re: [Motion-user] RTSP problem Message-ID: <cachtdwttxantbw3ahk1jrbktpr+-cqfjv4slfv-ptcjk5wi...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" 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 -------------- 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 11 ********************************************