
Recherche avancée
Autres articles (68)
-
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
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 ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)
Sur d’autres sites (13218)
-
Why is my ffmpeg stream subprocess freezing at 6 minutes ?
13 novembre 2014, par nonlinearmindI have a ffmpeg pipeline in a shell script that is launched as a subprocess in Python. For some reason, when Python launches the script, my video streams perfectly and then freezes at about six minutes every time. After it freezes, if I tried to run the script manually, it gives me this error :
Invalid MIT-MAGIC-COOKIE-1 keyxcb_connection_has_error() returned true
Failed to symlink
/root/.pulse/65f3ded611649c6dcf9ebae20000046d-runtime to
/tmp/pulse-PKdhtXMmr18n : Input/output error [alsa @ 0x4b2f0] cannot
open audio device hw:0,0 (Device or resource busy) hw:0,0 :
Input/output errorHowever, if I restart and run the script manually, the audio & video will play fine indefinitely.
Does anyone know why this is happening ? Thanks.
Here is my pipline.sh file :
sudo ffmpeg -f video4linux2 -video_size 640x480 -framerate 30 -input_format yuyv422 -i /dev/video7 -f alsa -i hw:0,0 -map 0:0 -map 1:0 -b:v 120k -bufsize 120k -vcodec libx264 -preset ultrafast -crf 28 -acodec aac -strict -2 -f flv -metadata streamName= StreamName tcp://71.192.1.22
And this is the subprocess I’m using in Python :
subprocess.Popen("sudo ./ffmpeg_script.sh", shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
-
rtmp : Always call rtmp_close() on rtmp_open() failure
18 octobre 2014, par Alexander Drozdovrtmp : Always call rtmp_close() on rtmp_open() failure
Prevent possible memory leaks.
Connect to nginx and request a non-existent resource to
trigger the issue.CC : libav-stable@libav.org
Signed-off-by : Michael Niedermayer <michaelni@gmx.at>
Signed-off-by : Uwe L. Korn <uwelk@xhochy.com>
Signed-off-by : Luca Barbato <lu_zero@gentoo.org> -
rtmp : Always call rtmp_close() on rtmp_open() failure
18 octobre 2014, par Alexander Drozdovrtmp : Always call rtmp_close() on rtmp_open() failure
Prevent possible memory leaks.
Connect to nginx and request a non-existent resource to
trigger the issue.CC : libav-stable@libav.org
Signed-off-by : Michael Niedermayer <michaelni@gmx.at>
Signed-off-by : Uwe L. Korn <uwelk@xhochy.com>
Signed-off-by : Luca Barbato <lu_zero@gentoo.org>