
Recherche avancée
Autres articles (59)
-
Les statuts des instances de mutualisation
13 mars 2010, parPour des raisons de compatibilité générale du plugin de gestion de mutualisations avec les fonctions originales de SPIP, les statuts des instances sont les mêmes que pour tout autre objets (articles...), seuls leurs noms dans l’interface change quelque peu.
Les différents statuts possibles sont : prepa (demandé) qui correspond à une instance demandée par un utilisateur. Si le site a déjà été créé par le passé, il est passé en mode désactivé. publie (validé) qui correspond à une instance validée par un (...) -
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.
Sur d’autres sites (7342)
-
Record Sound on Ubuntu Docker Image
21 avril 2020, par Daniel RasmusonI would like record audio with
ffmpeg
when I capture my screen. The error I'm getting when usingalsa
is that is that my image does not have a sound card-f alsa -ac 2 -i hw:0



Here is how to reproduce on a fresh version of Ubuntu



Start a session in a new ubuntu docker image.



docker pull ubuntu
docker run -it --rm ubuntu




Setup alsa (Advanced Linux Sound Architecture)



apt-get update
apt-get install alsa-utils




List the sound cards



aplay -l
# aplay: device_list:268: no soundcards found...




And playing this sound will fail because this image doesn't have any sound cards



sudo aplay /usr/share/sounds/alsa/Front_Center.wav



-
Record Sound on Ubuntu Docker Image
12 avril 2017, par Daniel RasmusonI would like record audio with
ffmpeg
when I capture my screen. The error I’m getting when usingalsa
is that is that my image does not have a sound card-f alsa -ac 2 -i hw:0
Here is how to reproduce on a fresh version of Ubuntu
Start a session in a new ubuntu docker image.
docker pull ubuntu
docker run -it --rm ubuntuSetup alsa (Advanced Linux Sound Architecture)
apt-get update
apt-get install alsa-utilsList the sound cards
aplay -l
# aplay: device_list:268: no soundcards found...And playing this sound will fail because this image doesn’t have any sound cards
sudo aplay /usr/share/sounds/alsa/Front_Center.wav
-
Convert file with any extension to MP4 with ffmpeg
15 novembre 2019, par not legitI am using youtube-dl and ffmpeg to create a youtube downloader and converter (for personal use). I am trying to download a video and convert it to MP4.
The problem I have, is that
youtube-dl
downloads the video in a variety of formats. Is there a way that I can download the video and then tellFFMPEG
to convert it, not knowing the current file type ?I tried using a
*
wild card but that results in an error.@echo off
title youtube downloader
set /p name= URL:
echo Select a type. (vid/mp3/mp4)
set /p type=
IF /i "%type%"=="vid" goto vid
IF /i "%type%"=="mp3" goto mp3
IF /i "%type%"=="mp4" goto mp4
:vid
youtube-dl %name%
goto commonexit
:mp3
youtube-dl -x --audio-format mp3 %name%
goto commonexit
:mp4
youtube-dl -o video %name%
ffmpeg -i video.* video.mp4 -hide_banner
:commonexit
pause