
Recherche avancée
Médias (2)
-
Exemple de boutons d’action pour une collection collaborative
27 février 2013, par
Mis à jour : Mars 2013
Langue : français
Type : Image
-
Exemple de boutons d’action pour une collection personnelle
27 février 2013, par
Mis à jour : Février 2013
Langue : English
Type : Image
Autres articles (42)
-
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 ;
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)
Sur d’autres sites (7003)
-
Monitor multiple instances of same process
18 décembre 2013, par user3116597I'm trying to monitor multiple instances of the same process. I can't for the life of me do this without running into a problem.
All the examples I have seen so far on the internet involve me writing out the PID or monitoring the process itself. The issue is that if one instance fails, it doesn't mean all the rest have failed as well.
In order for me to write out the PID for each process it would mean I'd probably have to run each process with a short delay to record the correct, seeing as the way I need to record the PID is done through the process name being probed.
If I'm wrong on this, please correct me. But so far I haven't found a way to monitor each individual process, which all have the same name.
To add to the above, the processes are run in a batch script and each one is run in its own screen (ffmpeg would otherwise not be able to run in the background).
If anyone can point me vaguely in the right direction on how to do this in Linux I would really appreciate it. I read somewhere that it would be possible to set up symlinks which would then give me fake process names and that way I can monitor the 'fake' process name.
-
stream_loop generate a big size video [FFMPEG]
26 mars 2021, par Mouaad Abdelghafour AITALII'm trying to loop a short video for e.g. 190 time to match the audio length, I use the following code :


-y -stream_loop 190 -i input.mp4 -c copy output.mp4



The command above works, but it generates video with huge size for video with 3min the size is 885 MB


2021-03-25 23:52:30.445 5687-6253/maa.abc.music_maker D/XXX: LOOPING VIDEO SIZE ===> 885.845MB



Or there's any way I can loop the video to match the audio length without using
-stream_loop


-
Force FFMPEG to honour timestamp when receiving raw frames
27 janvier 2014, par user1412614My app interface is recorded with FFMPEG :
ffmpeg -f rawvideo -vcodec rawvideo -s,1280x720 -pix_fmt argb -r 15 -i - -c:v libx264 -b:v 1024k result.mp4
All works very well except that the output video is too fast (and too short) and was sped up.
It seems that my app is not able to send at least 15 raw images per seconds, according to my specified frame rate (-r 15). So FFMPEG is building a video with not enough frames for this frame rate.
Is there a way to force FFMPEG to duplicate frames until it has obtained the next frame, and to write it with the real timestamp ?
In others words, I need a 10 seconds video for 10 seconds of recording.