After Upgrade: "...because the format is not supported"

Discussions related to the 1.36.x series of ZoneMinder
Post Reply
RudiFueller
Posts: 7
Joined: Mon Sep 07, 2020 9:19 am

After Upgrade: "...because the format is not supported"

Post by RudiFueller »

After the upgrade from 1.34 to 1.36 (CentOS 8, rpmfusion, first 1.36.1, now 1.36.3, no difference) the web interface shows "The video could not be loaded either because the server or network failed or because the format is not supported". This is somehow a little bit strange, because

1. old videos can still be viewed
2. downloading and viewing the new videos works as well in an external viewer like vlc.

I looked through numerous log files without any success, but have to admit that I am not a zoneminder expert. If you could point me in the right direction it would be really appreciated. I would be happy to provide the necessary config + log files.
User avatar
iconnor
Posts: 2913
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: After Upgrade: "...because the format is not supported"

Post by iconnor »

Are you encoding? The encoding code is all new and will actually try to write the event files as h265. Also each encoder needs some default settings.

My advice is to select h264 as the codec and set crf=23 in encoder options for best UI.
RudiFueller
Posts: 7
Joined: Mon Sep 07, 2020 9:19 am

Re: After Upgrade: "...because the format is not supported"

Post by RudiFueller »

Yes, I am using ffmpeg. I am not absolutely sure where and how to switch these options.

I tried in Options / Images the FFMPEG_OUTPUT_OPTIONS and set

-crf 23 -vcodec libx264

Unfortunately I still get in the zmc_*.log:

06/06/21 18:41:26.652365 zmc_m2[132357].ERR-zm_videostore.cpp/256 [Failed to create hwdevice_ctx]
06/06/21 18:41:26.653652 zmc_m2[132357].WAR-zm_videostore.cpp/318 [Encoder Option # Lines beginning with # are a comment
# For changing quality, use the crf option
# 1 is best, 51 is worst quality
#crf not recognized by ffmpeg codec]
06/06/21 18:41:26.654270 zmc_m2[132357].INF-zm_videostore.cpp/514 [some options not used, turn on debugging for a list.]

I am not sure if this describes the error. Thanks, iconnor for the quick reply but apologies for me being too dumb. Could you please advice a little more...
bbunge
Posts: 2935
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: After Upgrade: "...because the format is not supported"

Post by bbunge »

Those options are set in Storage for each camera.
RudiFueller
Posts: 7
Joined: Mon Sep 07, 2020 9:19 am

Re: After Upgrade: "...because the format is not supported"

Post by RudiFueller »

Thanks, bbunge. This solved it.
Post Reply