
Recherche avancée
Médias (2)
-
SPIP - plugins - embed code - Exemple
2 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (70)
-
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 ) (...) -
D’autres logiciels intéressants
12 avril 2011, parOn ne revendique pas d’être les seuls à faire ce que l’on fait ... et on ne revendique surtout pas d’être les meilleurs non plus ... Ce que l’on fait, on essaie juste de le faire bien, et de mieux en mieux...
La liste suivante correspond à des logiciels qui tendent peu ou prou à faire comme MediaSPIP ou que MediaSPIP tente peu ou prou à faire pareil, peu importe ...
On ne les connais pas, on ne les a pas essayé, mais vous pouvez peut être y jeter un coup d’oeil.
Videopress
Site Internet : (...)
Sur d’autres sites (13888)
-
Compiling custom FFMPEG
25 novembre 2019, par ArttuI need to compile ffmpeg from source for CentOS. The goal it to convert MP3 and WAV to FLAC. I tried to compile ffmpeg with this guide : https://trac.ffmpeg.org/wiki/CompilationGuide/Centos
and it worked fine, but took approximately 20min and compiled a bunch unnecessary things, even thought I did not used next options as recommended in guide, but used :PATH="$HOME/bin:$PATH" PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig" ./configure \
--prefix="/opt/tmg/ffmpeg_build" \
--pkg-config-flags="--static" \
--extra-cflags="-I/opt/tmg/ffmpeg_build/include" \
--extra-ldflags="-L/opt/tmg/ffmpeg_build/lib" \
--extra-libs=-lpthread \
--extra-libs=-lm \
--bindir="/opt/tmg/ffmpeg_build/bin" \
--enable-gpl \
--enable-libfreetypeMy question is what do I need for MP3 and WAV to FLAC and how do I compile just that part ?
I found in configuration
--disable-all
option, but what do I have to enable ?Thanks in advance.
-
how do I only run ffmpeg if not currently running
6 juin 2019, par RobertWI have a script that runs every 10 minutes which causes ffmpeg to run over and over and really slows it down. I’d like to only run one instance at a time so the movies will appear quicker on my website (And not crash my server).
Here is my code :
for i in MovieCategories/Category1/*/*.mkv;
do name=`echo $i | cut -d'.' -f1`;
echo $name;
ffmpeg -n -i "$i" "${name}.mp4"; rm -v "${name}.mkv";
done
for i in MovieCategories/Category2/*/*.mkv;
do name=`echo $i | cut -d'.' -f1`;
echo $name;
ffmpeg -n -i "$i" "${name}.mp4"; rm -v "${name}.mkv";
done
for i in MovieCategories/Category3/*/*.mkv;
do name=`echo $i | cut -d'.' -f1`;
echo $name;
ffmpeg -n -i "$i" "${name}.mp4"; rm -v "${name}.mkv";
done
for i in MovieCategories/Category4/*/*.mkv;
do name=`echo $i | cut -d'.' -f1`;
echo $name;
ffmpeg -n -i "$i" "${name}.mp4"; rm -v "${name}.mkv";
done
for i in MovieCategories/Category5/*/*.mkv;
do name=`echo $i | cut -d'.' -f1`;
echo $name;
ffmpeg -n -i "$i" "${name}.mp4"; rm -v "${name}.mkv";
done
for i in MovieCategories/Category6/*/*.mkv;
do name=`echo $i | cut -d'.' -f1`;
echo $name;
ffmpeg -n -i "$i" "${name}.mp4"; rm -v "${name}.mkv";
done
for i in MovieCategories/Category7/*/*.mkv;
do name=`echo $i | cut -d'.' -f1`;
echo $name;
ffmpeg -n -i "$i" "${name}.mp4"; rm -v "${name}.mkv";
done
for i in MovieCategories/Category8/*/*.mkv;
do name=`echo $i | cut -d'.' -f1`;
echo $name;
ffmpeg -n -i "$i" "${name}.mp4"; rm -v "${name}.mkv";
done
for i in MovieCategories/Category9/*/*.mkv;
do name=`echo $i | cut -d'.' -f1`;
echo $name;
ffmpeg -n -i "$i" "${name}.mp4"; rm -v "${name}.mkv";
done
for i in MovieCategories/Category10/*/*.mkv;
do name=`echo $i | cut -d'.' -f1`;
echo $name;
ffmpeg -n -i "$i" "${name}.mp4"; rm -v "${name}.mkv";
done
for i in MovieCategories/Category11/*/*.mkv;
do name=`echo $i | cut -d'.' -f1`;
echo $name;
ffmpeg -n -i "$i" "${name}.mp4"; rm -v "${name}.mkv";
doneI attempted to consolidate them into one command to help a bit but for some reason it mismatched the names from different directories and failed. Overall my main goal is to only run one movie at a time. If you could help consolidate this that would be a bonus. The movies are listed as follow :
MovieCategories/
-
Category1/
- Movie1/
- Movie1.mp4
- Movie2/
- Movie2.mkv
- Movie3/
- Movie3.mp4
- Movie1/
- Category2/
- Movie4/
- Movie4.mp4
- Movie5/
- Movie5.mkv
- Movie6/
- Movie6.mp4
- Movie4/
And on...
-
-
headless chrome capture screen video or animation
22 mai 2017, par t_ioI try to capture some animations from a website and stitch them together using ffmpeg.
As far as I understand the docs startScreencast is the way to go.If I understand that right I can start the screencast with
await Page.startScreencast({format: 'png', everyNthFrame: 1});
and listen to every incoming frame with
Page.screencastFrame(image =>{
const {data, metadata} = image;
console.log(metadata);
});But it’s never prints out something. So I assume it’s not called.
I archived my goal with something like this :
let counter = 0;
while(counter < 500){
await Page.startScreencast({format: 'png', everyNthFrame: 1});
const {data, metadata} = await Page.screencastFrame();
console.log(metadata);
counter += 1;
}Which feels like a non-performant hack.
So any suggestions on how to usestartScreencast
andscreencastFrame
properly ?