
Recherche avancée
Autres articles (102)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...) -
Contribute to a better visual interface
13 avril 2011MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.
Sur d’autres sites (9220)
-
hevc : cleaning up, remove unused constants(cherry picked from commit 7eed32d076c57aa0...
13 juillet 2014, par Mickaël Raulet -
Record video stream with ffmpeg as a service
19 juillet 2023, par TransporterI would like to use ffmpeg to record the video stream of a surveillance camera. For this I have a script to start the recording and a service for systemd. The idea is that if ffmpeg is stopped in between because the stream is interrupted, the service will be restarted automatically.


Start recording (/media/HDD1/video/video-record.sh) :


#!/bin/bash
ip=$1
codec=h264
res=1920x1080
out="/media/HDD1/video/$ip-$codec-$(date -u +"%Y%m%dT%H%M%S").mp4"
url="rtsp://192.168.4.$ip/axis-media/media.amp?camera=1&videocodec=$codec&fps=24&resolution=$res&compression=60&videozstrength=50&videoframeskipmode=drop"
ffmpeg -nostdin -i "$url" -acodec copy -vcodec copy $out



Service file :


[Unit]
Description=Record camera 101 to HDD

[Service]
Type=simple
ExecStart=/bin/bash /media/HDD1/video/video-record.sh 101
Restart=always
TimeoutStopSec=5

[Install]
WantedBy=multi-user.target



The script works fine when I start and stop it manually. Starting the service also works without problems, only when terminating there are problems. In the log it says :


Error closing file /media/HDD1/video/101-h264-20230719T094514.mp4: Immediate exit requested.



Also, I can't play the video file anymore. Any idea ?


-
libavcodec/wmalosslessdec : prevent sum of positive numbers from becoming negative
9 février 2020, par Michael Niedermayerlibavcodec/wmalosslessdec : prevent sum of positive numbers from becoming negative
Fixes : left shift of negative value -8321365
Fixes : 20506/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_WMALOSSLESS_fuzzer-4798062906310656Found-by : continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>