
Recherche avancée
Autres articles (49)
-
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 (...) -
Les vidéos
21 avril 2011, parComme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...) -
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
Sur d’autres sites (7285)
-
Why is my bash script halting with ffmpeg ?
16 mai 2016, par JulianJI have a text file that contains frame numbers line by line and I am using a bash script and ffmpeg to cycle through each line and attempt to print out a thumbnail of each frame.
Each time I run the bash script in my terminal it halts with an error having created the first thumbnail. It seems it is not given the thumbnail a unique name. What am I doing wrong ?
My bash script :
#!/bin/bash
source text.txt
while read name
do
ffmpeg -i result.mp4 -vf "setpts=N+1,select='eq(n,$name)'" -vframes 1 frames-$i.jpg
done code>The error :
File 'frames-.jpg' already exists. Overwrite ? [y/N] Not overwriting - exiting
-
Why isn't my bash script working ?
15 mai 2016, par JulianJI’m trying to get this bash script to work but am at a loss. I have a text file that contains a list of frame numbers line by line. ffmpeg reports the error :
Undefined constant or missing '(' in '$name)'
The script
#!/bin/bash
source text.txt
while read name
do
ffmpeg -i result.mp4 -vf "setpts=N+1,select='eq(n,\$name)'" -vframes 1 frame-$i.jpg
done code> -
Extract multiple thumbnails in a batch with ffmpeg ?
15 mai 2016, par JulianJI have a text file of frame numbers. Is there a way using ffmpeg to extract a batch load of thumbnails from a video file using the text file all at once.
The code below extracts a single frame( frame 100 in this case) from a video file
ffmpeg -i in_video.avi -vf "select=gte(n\,100)" -vframes 1 out_img.png