
Recherche avancée
Autres articles (52)
-
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 (8273)
-
Quickly split videos into parts with ffmpeg
20 avril 2021, par RewossKyI'm doing splitting on FFMPEG. I divide 1.5 hour videos into 30 minutes. I have two ways of partitioning, the first is the method of rendering by recodecing on the top, I do not have any problem in this, but the time is quite long despite the GTX 1660s graphics card and the ryzen5 3500x processor.


At the bottom, the time is short, but the first 3-4 seconds of the second part videos are frozen. Sometimes this causes problems like not reading in video editing programs.


With recodec (slow, no problem)
ffmpeg -i 1.mp4 -vcodec libx264 -crf 30 -ss 00:00:00 -t 00:29:30 s1.mp4
ffmpeg -i 1.mp4 -vcodec libx264 -crf 30 -ss 00:29:31 -t 00:29:30 s2.mp4
ffmpeg -i 1.mp4 -vcodec libx264 -crf 30 -ss 00:59:01 -t 00:29:30 s3.mp4
ffmpeg -i 1.mp4 -vcodec libx264 -crf 30 -ss 01:28:30 -t 00:29:30 s4.mp4


Without recodec (fast but have problem sometimes)
ffmpeg -i 1.mp4 -vcodec copy -ss 00:00:00 -t 00:29:30 s1.mp4
ffmpeg -i 1.mp4 -vcodec copy -ss 00:29:31 -t 00:29:30 s2.mp4
ffmpeg -i 1.mp4 -vcodec copy -ss 00:59:01 -t 00:29:30 s3.mp4
ffmpeg -i 1.mp4 -vcodec copy -ss 01:28:30 -t 00:29:30 s4.mp4


-
Playing Several Videos in a Row From a Browser
2 août 2014, par user18490It’s simple to play 1 video (using HTML5), but my question is, can you play 2 or more videos in a row.
Basically I’d like to let the user select as many clips as he/she wants, and let him/her play them in the browser (or potentially an external player such as FFplay, but the browser is my goal for now). It’s similar to the concept of playlist in Youtube, ... there should be no cut between two consecutive clips (which is the case right now with playlist in Youtube).
Is that possible with existing API/tools/techniques ?
-
Merge Videos using fluent-ffmpeg
25 octobre 2023, par Andronik NazaryanI'm trying to merge two videos, the following code works perfectly on windows 10, but it gives me an error when trying to run it on linux/ubuntu, same on wsl


async joinVideo(): Promise<boolean> {
 return new Promise((resolve, reject) => {
 signale.info('Joining video')
 const profile = path.join(__dirname, '../videos/input/profile.mp4')
 const sb = path.join(__dirname, '../videos/input/sb.mp4')

 const joined = path.join(__dirname, '../videos/profile-sb.mp4')
 const tempFolder = path.join(__dirname, '../videos/temp')

 ffmpeg({ source: profile })
 .input(sb)
 .on('end', () => {
 signale.success('Video joined')
 resolve(true)
 })
 .on('error', err => {
 signale.error(err)
 reject(false)
 })
 .mergeToFile(joined, tempFolder)
 })
 }
</boolean>


The error i get


Error: ffmpeg exited with code 1: Error reinitializing filters! 
Failed to inject frame into filter network: Invalid argument
Error while processing the decoded data for stream #1:0
Conversion failed!

 at ChildProcess.<anonymous> (/mnt/c/Users/Anri/Desktop/lead-gif-generator/node_modules/.pnpm/fluent-ffmpeg@2.1.2/node_modules/fluent-ffmpeg/lib/processor.js:182:22)
 at ChildProcess.emit (node:events:517:28)
 at ChildProcess.emit (node:domain:489:12)
 at Process.ChildProcess._handle.onexit (node:internal/child_process:292:12)
</anonymous>


the installation of fluent-ffmpeg should be correct as other operations are working, only mergeToFile function is erroring out


also strange thing is that if i put same file in both inputs it works fine, my guess it happens because of differance between videos, but why it works on windows