
Recherche avancée
Médias (3)
-
Exemple de boutons d’action pour une collection collaborative
27 février 2013, par
Mis à jour : Mars 2013
Langue : français
Type : Image
-
Exemple de boutons d’action pour une collection personnelle
27 février 2013, par
Mis à jour : Février 2013
Langue : English
Type : Image
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
Autres articles (82)
-
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
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 ;
Sur d’autres sites (12306)
-
lavc/hevcdec : Add slice parse support for HEVC SCC extension
16 février 2023, par Linjie Fu -
fluent-ffmpeg on lambda exits process without any errors
29 juin 2020, par John GraysonI am running ffmpeg on a lambda that runs, but exits the process before it is finished, but does not produce any sort of error and I am trying to figure out why. My lambda gets triggered when a file is uploaded to s3. The lambda retrieves the file from s3 and processes it using ffmpeg. I put in enough console.logs to determine that the lambda is able to retrieve and save the file just fine ; but it exits the process without any errors in the ffmpeg process. Relevant parts of my code :


const ffmpeg = require("fluent-ffmpeg");
const tempFolder = "/tmp";

// Set ffmpeg path
ffmpeg.setFfmpegPath("/opt/bin/ffmpeg");
ffmpeg.setFfprobePath("/opt/bin/ffprobe");

exports.handler = async (event, context) => {
 const bucket = get(event, "Records[0].s3.bucket.name");
 const key = get(event, "Records[0].s3.object.key");
 await getVideo(bucket, key);
 console.log('Successfully retrieved video, now convert it');
 try {
 console.log('Now start converting') // This line gets hit
 await convertVideo(key, 30);
 console.log('done converting'); // This line does NOT get hit
 } catch (e) {
 console.log("--Error converting video--", e); // This line does NOT get hit
 }
 return {
 done: true,
 };
};

function convertVideo(key, frames) {
 console.log("in convert vid fcn", key); // This line gets hit
 return new Promise((resolve, reject) => {
 ffmpeg()
 .addInput(`${tempFolder}/${key}`)
 .output(`${tempFolder}/updated_${key}.mp4`)
 .outputOptions(`-r ${frames}`)
 .on("error", (err) => {
 console.error("Error during processing", err); // This line does NOT get hit
 reject(err);
 })
 .on("end", () => {
 console.log("Processing finished!"); // This line does NOT get hit
 resolve();
 });
 });
}




The same code works fine on my local machine. Also, I know for a fact that ffmpeg does run because if I don't pass in the
frames
value, ffmpeg throws an error. Does anyone have any idea what I might be doing wrong ?

Thank you !


-
ffmpeg - Stream multiple files over an ffserver to one ffplay at different times ? [closed]
13 mai 2013, par golmschenkI have an ffserver up and running. Using this server I can run a simple ffplay command :
ffplay udp://localhost:7777
which then waits for a stream. Then if I stream something to the server with a simple ffmpeg command :
ffmpeg -re -i small.mp4 -f mpegts udp://localhost:7777
The video pops up and plays fine. However, after the video is finished and the ffplay is still waiting open with the display window showing the last frame of the video just sent, then if I try to run the same ffmpeg command again to play the video again, the ffplay gets a bunch of warnings which look similar to :
[mpegts @ 0x7fde1c0008c0] Continuity check failed for pid 256 expected 2 got 0
And there is no playback. I would like to be able to stream one video, leave the same ffplay open and a little while after the first video has stopped stream another video. Is there a way I can achieve this ? Thank you much !