
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 (54)
-
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 ) (...) -
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 (8437)
-
checkasm/arm : preserve the stack alignment checkasm_checked_call
12 juillet 2016, par Janne Grunaucheckasm/arm : preserve the stack alignment checkasm_checked_call
The stack used by checkasm_checked_call_vfp was a multiple of 4 when the
checked function is called. AAPCS requires a double word (8 byte)
aligned stack public interfaces. Since both calls are public interfaces
the stack is misaligned when the checked is called.Might fix the SIGBUS error in the armv7-linux-clang-3.7 fate config.
-
Extracting audio from video using fluent-ffmpeg
12 mars, par Idi FavourIm trying to extract the audio from a video, an error is occuring
Error converting file : Error : ffmpeg exited with code 234 : Error opening output file ./src/videos/output-audio.mp3.
Error opening output files : Invalid argument


I use this same directory for my video compression that runs before this one and it works.


ffmpeg()
 .input(url)
 .audioChannels(0)
 .format("mp3")
 .output("./src/videos/output-audio.mp3")
 .on("error", (err) => console.error(`Error converting file: ${err}`))
 .on("end", async () => {
 console.log("audio transcripts");
 
 const stream = fs.createReadStream("./src/videos/output-audio.mp3");
 const transcription = await openai.audio.transcriptions.create({
 file: stream,
 model: "whisper-1",
 response_format: "verbose_json",
 timestamp_granularities: ["word"],
 });
 transcripts = transcription.text;
 console.log(transcription.text);
 })
 .run();



-
I want FFMPEG generate the m3u8 file with the oldest segments instead of the newest
4 juin 2021, par SandiI have an FFmpeg command like this :


ffmpeg -i test.mp4 -f hls -hls_time 2 -hls_wrap 10 -hls_list_size 5 test.m3u8



Afaik, hls_wrap is the number of segments we want to store locally and hls_list_size is the segment listed in the m3u8 output file. The command above will generate 10 files of the video segment.


[seg 0][seg 1][seg 2][seg 3][seg 4][seg 5][seg 6][seg 7][seg 8][seg 9]



And inside the test.m3u8, of course, there are 5 newest segments listed.


[seg 5][seg 6][seg 7][seg 8][seg 9]



I want the test.m3u8 lists the oldest available segment instead of the newest. So it should contain :


[seg 0][seg 1][seg 2][seg 3][seg 4]



In another word, I want to preload the segments before it listed in test.m3u8.


The idea is I want to rsync the output of that FFmpeg command to a different folder on the network. I want to avoid test.m3u8 contains a segment that not completely copied because of the large segment size.


Please help me and pardon my English. Thank you very much !