FIXED: The video could not be loaded, either because the server or network failed or because the format is not supported

Discussions related to the 1.36.x series of ZoneMinder
Post Reply
rknobbe
Posts: 8
Joined: Fri Jul 16, 2004 4:13 pm

FIXED: The video could not be loaded, either because the server or network failed or because the format is not supported

Post by rknobbe »

I've got a new Sv3C 8MP POE camera that I'm connecting to using ffmpeg as detected using ONVIF.
Source Type is ffmpeg
Function is Nodect (triggered by lower res profile on same camera)

Live viewing works fine. Viewing events presents me with a black image and the subject text. Downloading the video works views fine in VLC.

I've tried all combinations of VideoWriter (Encode Auto/Auto, Camera Passthrough). Optional encoder parameter is left at crf=23 (I think this was the default?)

Viewing events for other camera in my system works fine (both in Firefox and in Microsoft Edge).

Why am I giving all these details? It turns out the fault configuration was within the camera. With Encode mode set to H265 I get the error message. Setting Main Stream and Sub Stream (in Camera settings, in the web gui for the camera) to H264 I am now able to record and view events from this camera.


ffmpeg version is:

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)
configuration: --prefix=/usr --extra-version=0ubuntu0.22.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --d
isable-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-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjp
eg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsr
t --enable-libssh --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 --enable-pocketsphinx --enable-librsvg --enable-libmfx --e
nable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
libavutil 56. 70.100 / 56. 70.100
libavcodec 58.134.100 / 58.134.100
libavformat 58. 76.100 / 58. 76.100
libavdevice 58. 13.100 / 58. 13.100
libavfilter 7.110.100 / 7.110.100
libswscale 5. 9.100 / 5. 9.100
libswresample 3. 9.100 / 3. 9.100
libpostproc 55. 9.100 / 55. 9.100
User avatar
iconnor
Posts: 2896
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: FIXED: The video could not be loaded, either because the server or network failed or because the format is not suppo

Post by iconnor »

The file is h265, your browser can't play it. Choose mjpeg in the codec dropdown at top right. You can set the default for this in the Monitor Misc tab.
Post Reply