[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to view output of Axis 207 Network Camera?



Peter Milesson <miles@atmos.eu> wrote:
> 
> 
> On 20.11.2025 18:42, Chris Green wrote:
> > Peter Milesson <miles@atmos.eu> wrote:
> >> [-- text/plain, size 1.7K, charset UTF-8, 54 lines, encoding 7bit --]
> >>
> >>
> >>
> >> On 20.11.2025 15:34, Chris Green wrote:
> >>> I have just acquired a (free) Axiz 207 camera.  It appears to work OK
> >>> as its web server runs and I can access all the settings etc.
> >>>
> >>> However I have a fundamental problem, I can't view the images it's
> >>> sending.  I think this may be because it uses RTSP to send images.
> >>>
> >>> I tried one RTSP viewer (Gardinal's) but that failed miserably.
> >>>
> >>> I'm not really very clear how it's all supposed to work, I can't get
> >>> any plain RTSP:// URLs from the camera, the only URL I have seen so
> >>> far is:-
> >>>       rtsptextrtsp://dummyurl/mpeg4/media.amp
> >>>
> >>> Can anyone help, with a program that will understand what the camera
> >>> is outputting?
> >>>
> >>>
> >> Hi Chris,
> >>
> >> According to the manual the command is rtsp://<IP address/mpeg4/media.amp
> >>
> >> I have found VLC tricky to use under Linux, better try to use something
> >> that is ffmpeg based. For starters, install ffmpeg and then use ffplay
> >> to verify the function.
> >>
> > I tried ffplay and got:-
> >
> > chris$ ffplay rtsp://192.168.1.254/mpeg4/media.amp
> >
> >     ...
> >     ...
> >     [rtsp @ 0x7f1c4c000c80] Could not find codec parameters for stream
> >     0 (Video: mpeg4 (Advanced Simple Profile), none, 640x480 [SAR 1:1
> >     DAR 4:3]): unspecified pixel format
> >     Consider increasing the value for the 'analyzeduration' (0) and
> >     'probesize' (5000000) options
> >     Input #0, rtsp, from 'rtsp://192.168.1.254/mpeg4/media.amp':
> >       Metadata:
> >         title           : Media Presentation
> >       Duration: N/A, bitrate: N/A
> > Stream #0:0: Video: mpeg4 (Advanced Simple Profile), none, 640x480 [SAR 
> 1:1 DAR 4:3], 1k tbr, 90k tbn 
> >       nan M-V:    nan fd=   0 aq=    0KB vq=    0KB sq= 0B
> >
> >
> >
> >> You should be able to access the camera's web interface through
> >> http://<IP address>. Administrator account (hard coded) is root. If you
> >> do not know the current root password, you need to make a factory reset.
> >> That's probably the best option, which gives you opportunity to setup
> >> the camera to your own preferences. You can also set the IP address with
> >> arp, command syntax:
> >>
> > I have access to the web interface after a reset to factory defaults.
> > The camera gets its IP address from my DHCP server so is easy enough
> > to find.
> >
> Hi Chris,
> 
> Is there any video in the camera's web interface? If not, the camera is 
> probably borked.
> 
> Your best bet could be to install a media player like SMPlayer, MPlayer 
> or mvp. Those players do not use VLC. Just make sure your video drivers 
> are up to date, which also includes hardware acceleration drivers (mesa, 
> vulkan and the like).
> 
> Unfortunately, I do not have very good experiences with video on Debian. 
> Arch linux is better there, and always bleeding edge (sometimes too much).
> 
> I just installed MPlayer for trying video (Trixie, old Intel hardware 
> from about 2017). The camera I chose is a very old Axis 210, and it 
> probably contains the same hardware as yours. Run the following command:
> 
> mplayer rtsp://root:<password>@<IP-address>/mpeg4/media.amp
> 
> I got video in a second. Note that you probably need the root:password 
> pair to get a stream (configurable).
> 
It's still acting as if there is no video coming from the camera:-

    chris$ mplayer rtsp://root:brzmisix@axis-00408c8460a1/mpeg4/media.amp
    MPlayer 1.5+svn38674-2 (Debian)do_connect: could not connect to socket
    connect: No such file or directory
    Failed to open LIRC support. You will not be able to use your remote
    control.

    Playing rtsp://root:brzmisix@axis-00408c8460a1/mpeg4/media.amp.
    Resolving axis-00408c8460a1 for AF_INET6...

    Couldn't resolve name for AF_INET6: axis-00408c8460a1
    Resolving axis-00408c8460a1 for AF_INET...
    Connecting to server axis-00408c8460a1[192.168.1.254]: 554...

    librtsp: server responds: 'RTSP/1.0 401 Unauthorized'
    rtsp_session: unsupported RTSP server. Server type is 'unknown'.
    libavformat version 61.7.100 (external)
    libavformat file format detected.
    [rtsp @ 0x7f6dd68c1ba0]Could not find codec parameters for stream 0
    (Video: mpeg4 (Advanced Simple Profile), none, 640x480 [SAR 1:1 DAR
    4:3]): unspecified pixel format
    Consider increasing the value for the 'analyzeduration' (0) and
    'probesize' (5000000) options
    [lavf] stream 0: video (mpeg4), -vid 0
    VIDEO:  [MP4V]  640x480  0bpp  1000.000 fps    0.0 kbps ( 0.0 kbyte/s)
    libva info: VA-API version 1.22.0
    libva info: Trying to open
    /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
    libva info: Found init function __vaDriverInit_1_22
    libva info: va_openDriver() returns 0
    ==========================================================================
    Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
    libavcodec version 61.19.101 (external)
    Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
    ==========================================================================
    Clip info:
     title: Media Presentation
    Audio: no sound
    Starting playback...
    V:   0.0   0/  0 ??% ??% ??,?% 0 0 

    Exiting... (End of file)


This was after setting the Axis 207 to its defaults.


-- 
Chris Green
·


Reply to: