Sure. There shouldn’t be anything confidential here
installer.tar.xz Edit (396.6 KiB, application/x-tar)
@Olivier: Sure. This VM was just for testing purposes, so there shouldn’t be anything confidential here.
installer.tar.xz Edit (396.6 KiB, application/x-tar)
@Olivier: Sure. This VM was just for testing purposes, so there shouldn’t be anything confidential here.
Screenshot from 2022-09-26 21-01-16.png Edit (159.6 KiB, image/png)
Looks like the deb line for updates is missing entirely from sources.list in this install; only the deb-src is there.
Screenshot from 2022-09-26 19-36-11.png Edit (149.8 KiB, image/png)
@Simon Here goes, although now it just shows both at 9.7, and 9.9 not yet available. Before I downgraded libc6 it obviously showed libc6 at 9.9.
I also tried to reproduce the issue in a fresh VM, but those kept getting 9.9 for all the packages, so installing build-essential caused no issues.
I don’t have in-depth knowledge about phased updates, but this looked like as if downloading the updates during installation was not yet affected by phased updates (and hence got libc 9.9), but, after the installation was completed, the system got cast into a ”still at 9.7” group of phased updates, and so libc6-dev (et al) could not be installed.
Just got hit by the same issue in a VM after a fresh install of 20.04.5. I chose ”Minimal installation”, ticked ”Download updates while installing”, and installed the remaining updates post-install.
After that the first thing I tried to do was to install build-essential, which failed, because the version of libc6 was out of sync with the rest of the libc6* packages: libc6 was already at 2.31-0ubuntu9.9, while e.g. libc6-dev was still only available as 2.31-0ubuntu9.7.
I tried switching from my local archive (fi.archive.ubuntu.com) to the main one (archive.ubuntu.com), but that made no difference. I had to downgrade libc6 to 2.31-0ubuntu9.7 to be able to install build-essential.
JSON files can be added to cards as attachments, but they are empty when downloaded from a card.
example.json
.example.json
.For the downloaded file contents to match the uploaded file.
The file is empty.
Nothing in either the browser console nor snap logs when the issue is triggered.
I’m running debsums -c
daily, hoping to catch file corruption and/or other abnormalities early. (The Debian package even provides a pre-made cronjob for this task.)
debsums -c gitlab-ce
reports .gitlab_kas_secret
as deviating from the provided md5sum.
# debsums -c gitlab-ce
/opt/gitlab/embedded/service/gitlab-rails/.gitlab_kas_secret
# debsums -c gitlab-ce
#
ii gitlab-ce 14.5.1-ce.0 amd64 GitLab Community Edition (including NGINX, Postgres, Redis)
external_url 'http://localhost'
#2635 is basically the same, but I’ve never seen debsums complain about schema.rb
.
In Motion 4.4.0, using recommended values of width
and height
results in broken snapshots, when netcam_high_url
is used. Either the warning about using a different resolution is incorrect, or the creation of snapshots breaks when width
and height
are set so as to not cause a warning on startup.
I have a 1080p camera (a TP-Link Tapo C100) with a 360p substream, so I’ve specied both URLs as follows:
netcam_url "rtsp://192.168.1.206/stream2"
netcam_high_url "rtsp://192.168.1.206/stream1"
I’ve set up snapshots to occur with snapshot_interval
= 60.
If I set width
and height
based on the main stream (1920×1080), Motion starts up with a warning:
netcam_rtsp_ntc: The network camera is sending pictures in a different
netcam_rtsp_ntc: size than specified in the configuration file.
netcam_rtsp_ntc: The picture is being transcoded into the size
netcam_rtsp_ntc: requested in the configuration. If possible change
netcam_rtsp_ntc: netcam or configuration to indicate the same size
netcam_rtsp_ntc: to possibly lower CPU usage.
netcam_rtsp_ntc: Netcam: 640 x 360 => Config: 1920 x 1080
This implies I should set width
and height
based on the lower resolution stream, so I’ve done that, and the warning goes away.
With Motion 4.3.2, the snapshots were saved as I would expect, albeit of course now in the lower resolution (360p), whereas I’d prefer them in the full 1080p.
After upgrading to 4.4.0, the snapshots are still 360p, but now their content is garbled and green:
I haven’t looked at the code, but what this looks like to me is as if Motion is now using the high resolution URL for the image data, but the lower resolution dimensions, and the resulting file is a (broken) crop of the full resolution image. Indeed, if I set width
and height
based on the full stream (i.e. back to 1920×1080), the snapshots now appear the full resolution and without corruption.
Pictures from detected motion (picture_output
) do not appear to be affected, i.e. they are saved in the correct 1080p resolution and look fine, regardless of the values of width
and height
. Video output likewise appears in the higher resolution, as I would expect.
Here’s a minimal configuration that reproduces this issue for me, minus netcam_userpass
.
log_level 8
target_dir "/home/jani/tmp"
netcam_url "rtsp://192.168.1.206/stream2"
netcam_high_url "rtsp://192.168.1.206/stream1"
netcam_params rtsp_transport=tcp
netcam_high_params rtsp_transport=tcp
width 640
height 360
snapshot_interval 10
All right, I got curious enough try again, and found that this is apparently caused by the static build of ffmpeg that I’m using: I used yle-dl --verbose
again, then interrupted the download immediately, ran the ffmpeg command (as reported by yle-dl) directly, and this resulted in a segmentation fault.
I then tried the same command in a VM with ffmpeg from Ubuntu repositories, and there the download finished successfully.
So the only remaining issue with yle-dl in this is the terminal being broken: that did not occur with directly-run ffmpeg despite the segfault.
I’m closing this issue though, so that it remains as documentation for the problem (and cause) as originally reported.
Trying to download this 7-hour long program only downloads (about) the first 6 hours and 40 minutes (~ 11 GB), after which the process just stops, and leaves Gnome terminal screwed up (typed characters are invisible until I run reset
). In the web player the video seems to play past that point just fine.
This is on Ubuntu 20.04 with ffmpeg version N-58594-g715f63232f-static (static build from git master on 20210908).
jani@saegusa:Työpöytä$ /usr/local/bin/yle-dl 'https://areena.yle.fi/1-50934704'
yle-dl 20210808: Download media files from Yle Areena and Elävä Arkisto
Copyright (C) 2009-2021 Antti Ajanki <antti.ajanki@iki.fi>, license: GPLv3
Unsupported codec with id 98313 for input stream 2
Unsupported codec with id 98313 for input stream 5
Unsupported codec with id 98313 for input stream 8
Unsupported codec with id 98313 for input stream 11
Unsupported codec with id 98313 for input stream 14
Unsupported codec with id 98313 for input stream 17
Unsupported codec with id 98313 for input stream 20
Unsupported codec with id 98313 for input stream 23
Unsupported codec with id 98313 for input stream 26
Unsupported codec with id 98313 for input stream 29
Output file: YleX Esittää: Yle 95 - synttäribileet Linkkitornista: 2021-09-18T00:00.mkv
jani@saegusa:Työpöytä$ size=10814976kB time=06:39:40.68 bitrate=3694.5kbits/s speed= 44x
Note the prompt appearing on top of ffmpeg output on the last line. Typing echo $?
reveals that the process exited with code 1.
Here’s the output when run with --verbose
.
I’ve only tested this over the past couple of days so I don’t know if it’s a temporary error. Since the portion of the stream that I actually care about is all prior to the 6-hour mark, and the partial download is playable, I’m not too bothered to have the rest download. Reporting this just in case it’s a useful test of a corner case.