
Recherche avancée
Autres articles (84)
-
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 ;
-
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (10882)
-
How to switch between 2 stream inputs after a set duration using ffmpeg ?
6 février 2021, par zlyferI am tinkering with my two Raspberry Pis and would like to do the following :



Both Pis record via a camera and stream it via cvlc to the network. Then one of them uses both streams to make a single stream wich alternates between both sources every 30 seconds.
My setup is as below :



Pi 3 (192.168.0.158) and Pi 4 (192.168.0.87) both use the following command to stream the camera feed to my local network :



raspivid -o - -t 0 -vf -hf -fps 30 -b 6000000 | cvlc -vvv stream:///dev/stdin --sout '#standard{access=http,mux=ts,dst=:8090}' :demux=h264




The Pi 4 then uses



ffmpeg -protocol_whitelist file,http,https,tcp,tls,crypto -f concat -safe 0 -i stream_list.txt -c copy output.mp4




with content of stream_list.txt being :



file http:\/\/192.168.0.87:8090
duration 00:00:02.00
file http:\/\/192.168.0.158:8090
duration 00:00:02.00




I use output.mp4 as test, this will be a twitch server or somewhat. The current duration is 2 seconds just for testing as well. And I will add a loop -1 to keep switching. My problem is that the process doesnt stop after 4 seconds. It keeps "recording" forever until I CTRL+C and then output.mp4 only contains the camera feed of the first mentioned stream in the stream_list.txt. It doesn't stop after 2 seconds switches to the other stream and then stops after another 2 seconds as I expected.



Is there something that I am essentially doing wrong or am I at least somewhat on the right way ?


-
FFMPEG Compilation and Video Thumbnail Issues [on hold]
2 janvier 2016, par P. PaulI have compiled FFMPEg on a Linux, Centos machine according to the guide in here https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu , and the auto video thumbnail creation command in here https://trac.ffmpeg.org/wiki/Create%20a%20thumbnail%20image%20every%20X%20seconds%20of%20the%20video
The problems are...
1- When I use
ffmpeg
orffmpeg -version
command to check if ffmpeg has been installed I get the error message, "Command not found". But when I check for ffmpeg directory "~/ffmpeg_sources
" is found and the machine says, "is a directory".2- Also, I did a test and upload video to the site to see if the video’s thumbnail will be automatically generated, but it didn’t show any thumbnail.
Any help would be greatly appreciated.
Thanks in advance !
-
EM : ajouter la prise en charge de l’extension epub dans SPIP
19 octobre 2011Ajouter le format epub afin de pouvoir le mettre en ligne même si dans l’immédiat on ne sait pas encore le traiter (plugin annexe à faire) ...
CF pour le format : http://fr.wikipedia.org/wiki/EPUB_%...