diff --git a/_service b/_service
new file mode 100644
index 0000000..8e988d2
--- /dev/null
+++ b/_service
@@ -0,0 +1,7 @@
+
+
+ www.ffmpeg.org
+ https
+ /releases/ffmpeg-5.1.2.tar.xz
+
+www.ffmpeg.orghttps/releases/ffmpeg-5.1.2.tar.xz.asc
\ No newline at end of file
diff --git a/_service:download_url:ffmpeg-5.1.2.tar.xz b/_service:download_url:ffmpeg-5.1.2.tar.xz
new file mode 100644
index 0000000..d6cb8b1
--- /dev/null
+++ b/_service:download_url:ffmpeg-5.1.2.tar.xz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:619e706d662c8420859832ddc259cd4d4096a48a2ce1eefd052db9e440eef3dc
+size 10004956
diff --git a/_service:download_url:ffmpeg-5.1.2.tar.xz.asc b/_service:download_url:ffmpeg-5.1.2.tar.xz.asc
new file mode 100644
index 0000000..454e730
--- /dev/null
+++ b/_service:download_url:ffmpeg-5.1.2.tar.xz.asc
@@ -0,0 +1,11 @@
+-----BEGIN PGP SIGNATURE-----
+
+iQFMBAABCAA2FiEE/PmG6hXm4pOlZE8QtDIvBNZ2WNgFAmMwK64YHGZmbXBlZy1k
+ZXZlbEBmZm1wZWcub3JnAAoJELQyLwTWdljYPqcH/1NJ+4sBONB93q9ly/Hcq4si
+MfisOgGY+3CqDxHE3VSzMl91vq0vw4Axbbpk2+3AaELfQtDwVh8i8/8uDZXXgVa7
+1ScGEsq13RltI7UXAMRE0teZlFwg/V+ZGeHgN4dhYoMrp9txW5HVvy7CzJ6/hco5
+m6QdEr8U1POHXDlevHvI67tml1M5zDbNtfcmUa0PbRKZblXpmq/jzie41h4w926o
+eUe9j+tal2JM5LtmM9O5DkeblsygeZ0BtyM3KpMaoBykbqEFeqqN93DpUgKCg2GV
+ZqRDJMycz92MXMh/0nXlAWArcxUwnUW3jSSuNvkFbn/uUJECP/sCx1gkwjQRNeg=
+=elRN
+-----END PGP SIGNATURE-----
diff --git a/ffmpeg-5.1.1.tar.xz b/ffmpeg-5.1.1.tar.xz
deleted file mode 100644
index 09fb5cf..0000000
--- a/ffmpeg-5.1.1.tar.xz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:95bf3ff8c496511e71e958fb249e663c8c9c3de583c5bebc0f5a9745abbc0435
-size 10001696
diff --git a/ffmpeg-5.1.1.tar.xz.asc b/ffmpeg-5.1.1.tar.xz.asc
deleted file mode 100644
index e9edced..0000000
--- a/ffmpeg-5.1.1.tar.xz.asc
+++ /dev/null
@@ -1,11 +0,0 @@
------BEGIN PGP SIGNATURE-----
-
-iQFMBAABCAA2FiEE/PmG6hXm4pOlZE8QtDIvBNZ2WNgFAmMPsKkYHGZmbXBlZy1k
-ZXZlbEBmZm1wZWcub3JnAAoJELQyLwTWdljYj3QH/2z0WN8puKbdf1v59aXlU9zq
-Q8sh3KdZ0RNfBo+UOSsc1M/fxGo/eFpO7JXmCfoxMaXdL+lsXPX6741jQS77Kx74
-Z2q9ha+91II7FGqff4KNr34eU5irJsjCJxoA+i/QMwcnDAJsvSNQR8MzeEU4okQT
-6opN6+eCB15gfc+YhO7U+ac0XdqjEYzaHxWex6zooKUVdpeeb4odhZ8LL1fNsVZ2
-SKWsKagf7KD5mCTzOSLdbMTQMJAEpehwU0dL0SIfbQbV1YFX5Iw4grz1obgM2e7I
-AI9faiLVahaAK3yaHCdDGlVFTfDGa4cCqVYIgThnb0ZPFKOWfV8rmh2gy5oneL8=
-=/Rk1
------END PGP SIGNATURE-----
diff --git a/ffmpeg-5.1.2.tar.xz b/ffmpeg-5.1.2.tar.xz
new file mode 100644
index 0000000..d6cb8b1
--- /dev/null
+++ b/ffmpeg-5.1.2.tar.xz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:619e706d662c8420859832ddc259cd4d4096a48a2ce1eefd052db9e440eef3dc
+size 10004956
diff --git a/ffmpeg-5.1.2.tar.xz.asc b/ffmpeg-5.1.2.tar.xz.asc
new file mode 100644
index 0000000..454e730
--- /dev/null
+++ b/ffmpeg-5.1.2.tar.xz.asc
@@ -0,0 +1,11 @@
+-----BEGIN PGP SIGNATURE-----
+
+iQFMBAABCAA2FiEE/PmG6hXm4pOlZE8QtDIvBNZ2WNgFAmMwK64YHGZmbXBlZy1k
+ZXZlbEBmZm1wZWcub3JnAAoJELQyLwTWdljYPqcH/1NJ+4sBONB93q9ly/Hcq4si
+MfisOgGY+3CqDxHE3VSzMl91vq0vw4Axbbpk2+3AaELfQtDwVh8i8/8uDZXXgVa7
+1ScGEsq13RltI7UXAMRE0teZlFwg/V+ZGeHgN4dhYoMrp9txW5HVvy7CzJ6/hco5
+m6QdEr8U1POHXDlevHvI67tml1M5zDbNtfcmUa0PbRKZblXpmq/jzie41h4w926o
+eUe9j+tal2JM5LtmM9O5DkeblsygeZ0BtyM3KpMaoBykbqEFeqqN93DpUgKCg2GV
+ZqRDJMycz92MXMh/0nXlAWArcxUwnUW3jSSuNvkFbn/uUJECP/sCx1gkwjQRNeg=
+=elRN
+-----END PGP SIGNATURE-----
diff --git a/ffmpeg-5.changes b/ffmpeg-5.changes
index 29a5eb7..28c4b64 100644
--- a/ffmpeg-5.changes
+++ b/ffmpeg-5.changes
@@ -1,3 +1,49 @@
+-------------------------------------------------------------------
+Mon Sep 26 18:44:55 UTC 2022 - C J
+
+- Update to release 5.1.2
+ * avcodec/dstdec: Check for overflow in build_filter()
+ * avformat/spdifdec: Use 64bit to compute bit rate
+ * avformat/rpl: Use 64bit for duration computation
+ * avformat/xwma: Use av_rescale() for duration computation
+ * avformat/sdsdec: Use av_rescale() to avoid intermediate overflow in duration calculation
+ * avformat/sbgdec: Check ts_int in genrate_intervals
+ * avformat/sbgdec: clamp end_ts
+ * avformat/rmdec: check tag_size
+ * avformat/nutdec: Check fields
+ * avformat/flvdec: Use 64bit for sum_flv_tag_size
+ * avformat/jacosubdec: Fix overflow in get_shift()
+ * avformat/genh: Check nb_channels for IMA ADPCM
+ * avformat/dxa: avoid bpc overflows
+ * avformat/dhav: Use 64bit seek_back
+ * avformat/cafdec: Check that nb_frasmes fits within 64bit
+ * avformat/asfdec_o: Limit packet offset
+ * avformat/apm: Use 64bit for bit_rate computation
+ * avformat/ape: Check frames size
+ * avformat/icodec: Check nb_pal
+ * avformat/aiffdec: Use 64bit for block_duration use
+ * avformat/aiffdec: Check block_duration
+ * avformat/mxfdec: only probe max run in
+ * avformat/mxfdec: Check run_in is within 65536
+ * avcodec/mjpegdec: Check for unsupported bayer case
+ * avcodec/tta: Check 24bit scaling for overflow
+ * avcodec/exr: Check preview psize
+ * avcodec/tiff: Fix loop detection
+ * libavformat/hls: Free keys
+ * avcodec/fmvc: Move frame allocation to a later stage
+ * avfilter/vf_showinfo: remove backspaces
+ * avcodec/speedhq: Check width
+ * avcodec/bink: disallow odd positioned scaled blocks
+ * avformat/cafenc: derive Opus frame size from the relevant stream parameters
+ * avformat/dashdec: Fix crash on invalid input/ENOMEM, fix leak
+ * lavc/videotoolbox: do not pass AVCodecContext to decoder output callback
+ * lavc/pthread_frame: always transfer stashed hwaccel state
+ * avcodec/arm/sbcenc: avoid callee preserved vfp registers
+ * avformat/riffdec: don't unconditionally overwrite WAVEFORMATEXTENSIBLE layout
+ * avfilter/vf_scale: overwrite the width and height expressions with the original values
+ * lavc/pthread_frame: avoid leaving stale hwaccel state in worker threads
+ * avutil/tests/.gitignore: Add channel_layout testtool
+
-------------------------------------------------------------------
Sun Sep 4 11:45:19 UTC 2022 - Jan Engelhardt
diff --git a/ffmpeg-5.spec b/ffmpeg-5.spec
index 09f2307..be34e42 100644
--- a/ffmpeg-5.spec
+++ b/ffmpeg-5.spec
@@ -75,7 +75,7 @@
%define _major_expected 6
Name: ffmpeg-5
-Version: 5.1.1
+Version: 5.1.2
Release: 0
Summary: Set of libraries for working with various multimedia formats
License: GPL-3.0-or-later