
Recherche avancée
Médias (1)
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
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 ;
-
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 -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;
Sur d’autres sites (6329)
-
FFMPEG works in command line but not in exec(), it returns 127
26 février 2015, par Felipe SchenoneThe command is
ffmpeg -i path/to/video.avi path/to/video.mpg
and it works fine from the command line. However, when I call it with PHPs
exec()
, the return value is 127, it doesn’t seem to detect FFMPEG. What am I doing wrong ? I’m in localhost and the safe mode is off, but I’m new to both FFMPEG andexec()
, so it may be a noob mistake. Thanks in advance. -
Async Javascript function returns undefined
14 avril 2018, par Leon WrightI am trying to run this function but the it keeps returning undefined when I explicitly hardcode the return value.
const splitVideo = async (sid, video, part) => {
let framesLocation =`${process.cwd()}/${dirs.videoFrames}/${sid}_${part}`;
console.log(fs.existsSync(framesLocation));
if(!fs.existsSync(framesLocation)) {
console.log("making dir");
f.s.mkdirSync(framesLocation);
}
ffmpeg(video)
.on('end', () => {
return "done";
})
.on('error', (err) => {
throw err;
})
.screenshots({
timestamps: [1,2],
filename: `${sid}_${part}/frame-%s.png`,
folder: `${process.cwd()}/${dirs.videoFrames}`
});
};Please help this is very frustrating.
-
FFMPEG in Python Returns Corrupted Video
11 décembre 2020, par user14210589In Python, I run ffmpeg to convert a video to a .mp4 file. However, for some reason, the video it creates is not compatible with anything (I'm pretty sure it's corrupted). The code looks like this :


import os

os.system("ffmpeg -i Images/i1.mov Images/edited.mp4 -loglevel quiet")
os.remove("Images/i1.mov")
os.rename("Images/edited.mp4", "Images/i1.mp4")



However, the video file created doesn't play.
I am getting an error that just says
killed
. What am I doing wrong ?

Edit : I also tried converting to .WebM rather than .mp4, and it had no effect. (it still gave the same error)