Page 1 of 1
Can't watch recordings after apt-get update
Posted: Thu Nov 01, 2018 2:06 pm
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
Re: Can't watch recordings after apt-get update
Posted: Thu Nov 01, 2018 3:14 pm
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.
Re: Can't watch recordings after apt-get update
Posted: Fri Nov 02, 2018 11:27 am
by jedix
Thank you. That explains the update frequency.
Re: Can't watch recordings after apt-get update
Posted: Fri Nov 02, 2018 1:10 pm
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
Re: Can't watch recordings after apt-get update
Posted: Fri Nov 02, 2018 2:48 pm
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.
Re: Can't watch recordings after apt-get update
Posted: Fri Nov 02, 2018 3:59 pm
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?