
Recherche avancée
Médias (2)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (111)
-
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 (...) -
La sauvegarde automatique de canaux SPIP
1er avril 2010, parDans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...) -
Utilisation et configuration du script
19 janvier 2011, parInformations spécifiques à la distribution Debian
Si vous utilisez cette distribution, vous devrez activer les dépôts "debian-multimedia" comme expliqué ici :
Depuis la version 0.3.1 du script, le dépôt peut être automatiquement activé à la suite d’une question.
Récupération du script
Le script d’installation peut être récupéré de deux manières différentes.
Via svn en utilisant la commande pour récupérer le code source à jour :
svn co (...)
Sur d’autres sites (9077)
-
FFmpeg RTSP + RTMP get errors
19 décembre 2017, par Akim BenchihaI’m working with live streaming on nginx. What I have is a RTSP (broadcast video) stream coming from a server and a RTMP stream coming from camera.
I combine them using ffmpeg.
I want to send a bool to the back-end using cURL when RTMP has been stopped or if RTSP is not found/stoppedHere the use case :
Send false to the back-end when the user stop recording the video (RTSP)
Send false to the back-end when the user stop the camera (RTMP)
Send true if everything is ok
NGINX config :
rtmp {
server {
listen 1935;
ping 30s;
notify_method get;
application ingest {
live on;
exec_kill_signal term;
idle_streams off;
exec_push /usr/local/bin/ffmpeg_push.sh $name ;
}
}
}FFMPEG
ffmpeg -i $rtspstream -i rtmp://localhost/ingest/$name -ignore_unknown -filter_complex "[0]scale=-1:-1[b];[1]scale=128:128[w];[b][w] overlay=10:10" -vcodec libx264 -x264opts keyint=20:min-keyint=1 -preset ultrafast -c:a aac -f flv rtmp://IPADDRESS/ingest/$streamname 1>>/var/log/ffmpeg/$name.log 2>>/var/log/ffmpeg/$name.log &
echo $! > /var/log/ffmpeg/${name}.pidThank you
-
FFMPEG handling h264 stream that does not send a frame consistently
23 avril 2022, par Rhys_mI am working with a raw h264 stream, this is a live stream coming from a device, however when the device is streaming a menu page that is static, it doesn’t send out a frame. I am feeding the stream back into a v4l2 loop back instance and then consuming this on a webpage via getUserMedia. The issue I have is that ffmpeg does not send frames to v4l2 when the hardware device is not sending frames. I have tried to set the output of ffmpeg to cfr and 60fps. However this doesn’t make it send out duplicates of the last frame. Is there anyway to achieve this ?


Thanks in advance


-
.mp4 cant play on WMplayer. Tried to change container and work. How to create a ffmpeg batch fix to apply to entire directory ?
3 octobre 2019, par luizaI have some
.mp4
files which are not playing in Windows Media Player, (Error : Windows Media Player cannot play the file. The Player might not support the file type or might not support the codec that was used to compress the file)_, but does play in VLC. I tried to change the container from.mp4
to.flv
using a.bat
and after I changed it back to.mp4
and the file started playing normally without the error message. Does anyone have an idea of what it might be or how I can write a a command for batch conversion which changes the containers in all folders, and then change it back to.mp4
and save in another folder, (or will I have to do folder by folder ?)I used ffmpeg, and the command I put in the batch file was :
The first
.bat
to change the container from.mp4
to another container, (I chose.flv
) :for %%a in ("*.mp4") do ffmpeg -i "%%a" -vcodec copy -acodec copy "%%~na.flv" pause
The second
.bat
to change back to.mp4
:for %%a in ("*.flv") do ffmpeg -i "%%a" -vcodec copy -acodec copy "%%~na.mp4" pause
I wrote this on
notepad
and then saved.bat
. After changing all files I wrote the way back.I dont know exactly what it does, but I know it fixes any issues.
Can someone help me to write it better and make it work with the whole directory and then save it to another directory to not overwrite the older files ?
Thanks !
for %%a in ("*.mp4") do ffmpeg -i "%%a" -vcodec copy -acodec copy "%%~na.flv" pause