
Recherche avancée
Autres articles (69)
-
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 -
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.
Sur d’autres sites (7451)
-
RTMP proxy to crop original video and send it to another RTMP server
7 octobre 2020, par Nicola PeluchettiI need to crop the video from an RTMP stream and send it to another RTMP server which always change. My understanding is that I should use
nginx-proxy
andffmpeg
, can anybody help me on how to set it up ?

I suppose that i need to send the stream to an endpoint like
/stream/:stream-key/:next-server-ip
process the stream with ffmpeg and then send it to the :next-server-ip, what language should I use in the backend for this ?

-
fate : enable wc4-xan test, the sample is now on our rsync server.
8 janvier 2012, par Michael Niedermayerfate : enable wc4-xan test, the sample is now on our rsync server.
-
ffmpeg in server cant upload video over 4 minutes
12 octobre 2020, par Victor01288888here's my code


ffmpeg(stream)
 .output(videoPath)
 .on("start", function () {
 console.log("Starting video compression... please wait...");
 })
 .on("error", function (err) {
 console.log("Something went wrong: " + err.message + " " + err.name);
 })
 .outputOptions(
 "-vcodec",
 "libx264",
 "-crf",
 "35", // change the crf value: high = lower quality & size, low = higher quality & size
 "-format",
 "mp4"
 )
 .on("progress", function (progress) {
 console.log(
 "Processing: " +
 Math.round(progress.currentKbps / progress.targetSize) +
 "% done"
 );
 })
 .on("end", async function () {
 console.log("[ffmpeg] processing done");
 // finish compressing then upload to S3
 console.log("uploading to S3... please wait");
 // const stream2 = await fileType.stream(createReadStream());
 let stream2 = fs.createReadStream(videoPath);
 // saving data in aws(s3)
 let origin = uploadToS3(`${newFileName}`);
 stream2.pipe(origin.writeStream);

 origin && (await origin.promise);
 await Video.updateOne({ _id: video._id }, { status: "success" });

 // del tmp video
 fs.unlink(videoPath, (err) => {
 if (err) {
 console.error(err);
 }
 console.log("Converted file delete from tmp folder server");
 });
 })
 .run();



I uses this code in my server.
If I upload video in 1 minute it's ok.
But when I upload one more then 4 minute it just not appears in AWS.
and the journey only writes 0% without any error.