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. IP Cam "Server returned 404 Not Found" (Gustavo Ovalle)


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

Message: 1
Date: Thu, 19 Sep 2024 01:31:13 -0300
From: Gustavo Ovalle <gustavo.ova...@gmail.com>
To: Motion discussion list <motion-user@lists.sourceforge.net>
Subject: [Motion-user] IP Cam "Server returned 404 Not Found"
Message-ID:
        <caomedodd8isxpdftmhijod3eveg_ds+mxq0wntndo3a+ojv...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hi, motionplus (MotionPlus 0.2.0-git-20240822-a29812b)  has stopped
receiving data from my old ACTI IP camera (ACM 1100).It doesn't work with
any of the two options

netcam_url
http://192.168.128.52/cgi-bin/encoder?USER=admin&PWD=puchos20fuego&SNAPSHOT
or
netcam_url rtsp://admin:puchos20fuego@192.168.128.52:60666/

I installed a new system (Alpine 3.5) and it was working fine, until it
stopped. I didn't update anything, it just stopped receiving information,
even with this command I can record video:

ffmpeg -i rtsp://admin:123456@192.168.128.52:60666 -t 60 -c copy
un-minuto-oscuro.mp4

>From the server and also from my PC (where it works with ffmpeg and not
with VLC)

(Command output)
ffmpeg version 5.1.6-0+deb12u1 Copyright (c) 2000-2024 the FFmpeg developers
  built with gcc 12 (Debian 12.2.0-14)
  configuration: --prefix=/usr --extra-version=0+deb12u1
--toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu
--incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl
--disable-stripping --enable-gnutls --enable-ladspa --enable-libaom
--enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca
--enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite
--enable-libfontconfig --enable-libfreetype --enable-libfribidi
--enable-libglslang --enable-libgme --enable-libgsm --enable-libjack
--enable-libmp3lame --enable-libmysofa --enable-libopenjpeg
--enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq
--enable-librist --enable-librubberband --enable-libshine
--enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt
--enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libtwolame
--enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp
--enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg
--enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal
--enable-opencl --enable-opengl --enable-sdl2 --disable-sndio
--enable-libjxl --enable-pocketsphinx --enable-librsvg --enable-libmfx
--enable-libdc1394 --enable-libdrm --enable-libiec61883
--enable-chromaprint --enable-frei0r --enable-libx264 --enable-libplacebo
--enable-librav1e --enable-shared
  libavutil      57. 28.100 / 57. 28.100
  libavcodec     59. 37.100 / 59. 37.100
  libavformat    59. 27.100 / 59. 27.100
  libavdevice    59.  7.100 / 59.  7.100
  libavfilter     8. 44.100 /  8. 44.100
  libswscale      6.  7.100 /  6.  7.100
  libswresample   4.  7.100 /  4.  7.100
  libpostproc    56.  6.100 / 56.  6.100
Input #0, rtsp, from 'rtsp://admin:123456@192.168.128.52:60666':
  Metadata:
    title           : Session streamed by RTP/RTSP server
    comment         : ACTi.COM Streaming Media v
  Duration: 00:00:00.00, start: 0.000000, bitrate: N/A
  Stream #0:0: Video: mjpeg (Baseline), yuvj420p(pc,
bt470bg/unknown/unknown), 640x480 [SAR 1:1 DAR 4:3], 100 tbr, 90k tbn
Output #0, mp4, to 'un-minuto-oscuro.mp4':
  Metadata:
    title           : Session streamed by RTP/RTSP server
    comment         : ACTi.COM Streaming Media v
    encoder         : Lavf59.27.100
  Stream #0:0: Video: mjpeg (Baseline) (mp4v / 0x7634706D), yuvj420p(pc,
bt470bg/unknown/unknown), 640x480 [SAR 1:1 DAR 4:3], q=2-31, 100 tbr, 90k
tbn
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
[mp4 @ 0x55cab3cbf080] Non-monotonous DTS in output stream 0:0; previous:
23400, current: 23400; changing to 23401. This may result in incorrect
timestamps in the output file.
....
[mp4 @ 0x55cab3cbf080] Non-monotonous DTS in output stream 0:0; previous:
5300100, current: 5300100; changing to 5300101. This may result in
incorrect timestamps in the output file.
frame= 1755 fps= 30 q=-1.0 Lsize=   64555kB time=00:00:59.99
bitrate=8815.4kbits/s speed=1.01x
video:64536kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 0.030201%

and with the same successful result:
ffplay rtsp:// ....

And this is the log of motionplus (filtered)

cat mp.log | grep "Gallery"
Sep 19 00:40:23 [INF][ALL][mp00] device_name               Gallery
Sep 19 00:40:23 [INF][ALL][cl105:Gallery] init: Initialize Camera
Sep 19 00:40:23 [INF][ALL][cl105:Gallery] Above message repeats 1 times
Sep 19 00:40:23 [NTC][VID][cl105:Gallery] cls_netcam: Norm: Opening Netcam
Sep 19 00:40:23 [DBG][ALL][cl105:Gallery] util_parms_add:
netcam_params:>palette< >17<
Sep 19 00:40:23 [DBG][ALL][cl105:Gallery] util_parms_add:
netcam_params:>decoder< >ffmpeg<
Sep 19 00:40:23 [INF][NET][cl105:Gallery] set_parms: Norm:Setting up
camera(Gallery).
Sep 19 00:40:23 [INF][NET][cl105:Gallery] set_path: Setting up rtsp
Sep 19 00:40:23 [INF][NET][cl105:Gallery] set_options: Norm:Setting
rtsp/rtmp
Sep 19 00:40:23 [DBG][ALL][cl105:Gallery] util_parms_add:
netcam_params:>rtsp_transport< >tcp<
Sep 19 00:40:23 [INF][NET][cl105:Gallery] set_options: Norm:palette = 17
Sep 19 00:40:23 [INF][NET][cl105:Gallery] set_options: Norm:rtsp_transport
= tcp
*Sep 19 00:40:23 [NTC][NET][cl105:Gallery] open_context: Norm:Unable to
open camera(Gallery):Server returned 404 Not Found*
Sep 19 00:40:23 [INF][NET][cl105:Gallery] handler_shutdown: Norm:Shutting
down network camera.
Sep 19 00:40:23 [NTC][NET][cl105:Gallery] handler_shutdown: Norm: Shut down
complete.
Sep 19 00:40:23 [ERR][ALL][cl105:Gallery] init_cam_start: Failed to start
camera.
Sep 19 00:40:23 [NTC][ALL][cl105:Gallery] ring_resize: Resizing buffer to 4
items
Sep 19 00:40:23 [ERR][ALL][cl105:Gallery] init_firstimage: Unable to open
camera
Sep 19 00:40:24 [NTC][ALL][cl105:Gallery] handler: Camera closed

I have 3 more cameras, 2 usb and one rtsp. No problem with those

At first it worked without any parameters in the .conf file and it doesn't
change anything if I add something or not to the netcam_params.

Any help is appreciated :) thanks

-- 
Gustavo Javier Ovalle
Ituzaingo 1365
S3070BPW - San Crist?bal
Santa Fe
e-mail: gustavo.ova...@gmail.com
-------------- 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 217, Issue 5
*******************************************

Reply via email to