Can't watch recordings after apt-get update

Forum for questions and support relating to the 1.32.x releases only.
Post Reply
jedix
Posts: 15
Joined: Thu Aug 16, 2018 2:06 pm

Can't watch recordings after apt-get update

Post by jedix »

I recently ran an apt-get update and this broke playback in the broswer (firefox beta linux and android, and chrome linux and android). The time is displayed as 0:00 / 0:00 and the video picture is updated from the start frame to the end frame. If I seek to a specific location, I get an updated frame from that location. If I used the 'next frame' button, it just goes to the end. If I download the mp4, the video is fine. The alarm bar exists and looks accurate. This seems to be something to do with the browser playback only, and for all browsers I have.

I'm running 18.04:
1.32.2~20181031115934-bionic
bbunge
Posts: 2930
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Can't watch recordings after apt-get update

Post by bbunge »

You are running a version from the zoneminder-master PPA. This is a development version so you can expect things to not work. If you need to have a working system switch to the zoneminder-1.32 PPA and overwrite your existing install.
jedix
Posts: 15
Joined: Thu Aug 16, 2018 2:06 pm

Re: Can't watch recordings after apt-get update

Post by jedix »

Thank you. That explains the update frequency.
Sigge
Posts: 116
Joined: Mon May 02, 2016 8:14 am

Re: Can't watch recordings after apt-get update

Post by Sigge »

bbunge wrote: Thu Nov 01, 2018 3:14 pm You are running a version from the zoneminder-master PPA. This is a development version so you can expect things to not work. If you need to have a working system switch to the zoneminder-1.32 PPA and overwrite your existing install.
I think I followed your howto with a script and got that PPA. Can I just change PPA and run apt-get upgrade to get back to stable?

Thanks
jedix
Posts: 15
Joined: Thu Aug 16, 2018 2:06 pm

Re: Can't watch recordings after apt-get update

Post by jedix »

I changed my repository to 1.32 and ran an apt-get install zoneminder which installed a new version, but the issue is now worse. Alarms are not recorded at all. I see events and a bar when I trigger an alarm, but I just get a black screen on playback and download doesn't work. There are no errors in the logs. I went onto the machine and found the recording, but it's 0 seconds long. It seems to contain a single frame.

Code: Select all

{~} $ ffprobe 5260-video.mp4
ffprobe version 4.0.2 Copyright (c) 2007-2018 the FFmpeg developers
  built with gcc 8 (Debian 8.2.0-4)
  configuration: --disable-decoder=amrnb --disable-decoder=libopenjpeg --disable-mips32r2 --disable-mips32r6 --disable-mips64r6 --disable-mipsdsp --disable-mipsdspr2 --disable-mipsfpu --disable-msa --disable-libopencv --disable-podpages --disable-sndio --disable-stripping --enable-libaom --enable-avfilter --enable-avresample --enable-gcrypt --enable-gnutls --enable-gpl --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libfdk-aac --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libilbc --enable-libkvazaar --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx265 --enable-libxvid --enable-libzvbi --enable-nonfree --enable-opencl --enable-opengl --enable-postproc --enable-pthreads --enable-shared --enable-version3 --enable-libwebp --incdir=/usr/include/x86_64-linux-gnu --libdir=/usr/lib/x86_64-linux-gnu --prefix=/usr --toolchain=hardened --enable-frei0r --enable-chromaprint --enable-libx264 --enable-libiec61883 --enable-libdc1394 --enable-vaapi --enable-libmfx --disable-altivec --shlibdir=/usr/lib/x86_64-linux-gnu
  libavutil      56. 14.100 / 56. 14.100
  libavcodec     58. 18.100 / 58. 18.100
  libavformat    58. 12.100 / 58. 12.100
  libavdevice    58.  3.100 / 58.  3.100
  libavfilter     7. 16.100 /  7. 16.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  1.100 /  5.  1.100
  libswresample   3.  1.100 /  3.  1.100
  libpostproc    55.  1.100 / 55.  1.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55fca7f3ebc0] decoding for stream 0 failed
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '5260-video.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    title           : Zoneminder Security Recording
    encoder         : Lavf57.83.100
  Duration: 00:00:00.00, bitrate: N/A
    Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuvj420p(pc), 2688x1520, 90k tbn, 180k tbc (default)
    Metadata:
      handler_name    : VideoHandle

Is there anything else I should do besides installing the 1.32 zoneminder? I currently have 1.32.2-bionic1.
jedix
Posts: 15
Joined: Thu Aug 16, 2018 2:06 pm

Re: Can't watch recordings after apt-get update

Post by jedix »

After a lot of testing, it seems to be the pass-through videos that have this issue, but not the encoded ones.

Is there some way that the metadata for the mp4 container gets altered?
Post Reply