
Recherche avancée
Autres articles (112)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Script d’installation automatique de MediaSPIP
25 avril 2011, parAfin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
La documentation de l’utilisation du script d’installation (...) -
Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs
12 avril 2011, parLa manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.
Sur d’autres sites (9803)
-
How to swap package configuration for environment
24 juillet 2018, par Finn MaunsellI’d like to change the location that I get ffmpeg from for my anaconda environment. The problem has occured because I want to use the ffmpeg configuration for my base system instead of the configuration meant for the environment.
If I use
ffmpeg
in ubuntu bash then I get this for my active environment :ffmpeg version N-91510-gd134b8d Copyright (c) 2000-2018 the FFmpeg developers
built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.10) 20160609
configuration: --prefix=/home/notebook/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/home/notebook/ffmpeg_build/include --extra-ldflags=-L/home/notebook/ffmpeg_build/lib --extra-libs='-lpthread -lm' --bindir=/home/notebook/bin --enable-gpl --enable-libaom --enable-openssl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-nonfreeand for non-environment :
ffmpeg version 3.4.1 Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 4.8.2 (GCC) 20140120 (Red Hat 4.8.2-15)
configuration: --prefix=/home/notebook/anaconda2/envs/tensorflow --disable-doc --enable-shared --enable-static --extra-cflags='-Wall -g -m64 -pipe -O3 -march=x86-64 -fPIC -I/home/notebook/anaconda2/envs/tensorflow/include' --extra-cxxflags='=-Wall -g -m64 -pipe -O3 -march=x86-64 -fPIC' --extra-libs=
'-L/home/notebook/anaconda2/envs/tensorflow/lib -lz' --enable-pic --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --enable-libx264Solving this will allow me to use the 2nd ffmpeg installation in my conda environment.
-
FFMPEG : RTSP stream freezes but FFMPEG keeps recording
31 juillet 2022, par KagetsukiEDIT : At the time of this writing there is no functionality within FFMPEG that can detect/handle when an RTP/RTSP stream is still active but is no longer delivering valid frames. The only solution I could find was to periodically reset the stream by stopping recording, then reconnecting and starting a new recording which
-f segment
does NOT do.




I'm recording an RTSP stream from a network camera with FFMPEG, and after some time (usually about an hour and a half to two hours). I'm sure it's specifically a problem with the cameras I'm using and not FFMPEG or my system resources.



What specifically happens is the video freezes but network traffic with the camera continues - it just doesn't seem to send new frames. Because of this behaviour FFMPEG doesn't disconnect/keeps recording because the network connection is still alive. After a few minutes there will always be a single warning in the FFMPEG output :

More than 1000 frames duplicated

But it keeps recording - it's just the same frame over and over.


The command I'm using is :



ffmpeg -stimeout 1000000 -rtsp_transport udp -fflags discardcorrupt -i rtsp://192.168.1.163/live/0/MAIN -vc libx265 -f segment -segment_time 300 -segment_atclocktime 1 -reset_timestamps 1 -strftime 1 "163-%Y-%m-%d_%H-%M-%S-h265.mp4"




Some notes :



- 

- stimeout doesn't seem to do anything as the network connection is maintained the camera just seems to stop sending (valid) frames.
- Changing the codec to copy doesn't improve the issue
- Changing the RTSP transport doesn't improve the issue
- I'm aware there is a filter to detect frozen frames, but my FFMPEG does not seem to have it - I'm going to try and build FFMPEG myself now ; but would much prefer a solution that works with bundled FFMPEG > 4.1.3











Having FFMPEG fail and exit after > 1000 frames are duplicated would actually be ideal, as then I can just spawn FFMPEG from a script, monitor the process, and restart it when the process ends. Any solution would be great though.


-
Anomalie #3760 : Le correcteur typographique ne gère pas le HTML5
26 mars 2016, par Christian Pierre MOMONGrrrrrr, les codes sont escapés dans le titre mais pas dans le texte. Je remets mon texte en faisant apparaître les codes :-/
Le correcteur typographique fait un super boulot pour le rendu des articles. Par exemple, il transforme « Exemple : » en HTML « Exemple& nbsp ; : ».
C’est vraiment super, sauf que ce n’est pas compatible avec HTML5 où le & nbsp ; est ignoré (  est attendu à la place). Et donc on obtient des rendus catastrophiques (monstrueux espaces entre « : » et le mot précédent, etc.). J’ai tenté de mettre « », même résultat. J’ai tenté de mettre « Exemple& #160 ; : » et j’obtiens « Exemple& #160 ;& nbsp ; : » :-/
Le HTML5 devenant de plus en plus répandu et étant amené à devenir le DOCTYPE de référence, suggestion d’adapter le module typo pour gérer le HTML5.
Informations complémentaires :
- j’utilise SPIP 3.0.17-2+deb8u2 (Debian) ;
- j’ai activé « Permettre le HTML5 » dans l’interface d’administration ;
- je mets « » dans mes entêtes de fichier HTML.Avec tous mes encouragements \o/