
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (54)
-
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
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 ) (...)
Sur d’autres sites (11086)
-
TypeError : Cannot read property 'url' of undefined - ws
28 juillet 2021, par Bawantha RathnayakaI am trying to get URL starts with '/rtmp/', and extract the target RTMP URL.


Uncaught TypeError : Cannot read property 'url' of undefined


this is my server.js


let match
 if (!(match = req.url.match(/^\/rtmp\/(.*)$/))) {
 ws.terminate() // No match, reject the connection.
 return
 }

 



-
Subtitles are always stuck in first line using ffmpeg fluent, same command works perfectly on cmd
7 novembre 2024, par mattg07im making a tool that generates assets, 3 image, 3 audios and 3 srt subtitles files.
Then doing a for loop to generate 3 separate videos putting those assets together.
the video is working fine when it comes to image and audio, but the subtitles are stuck on the first line.
I have tried outputOptions(
vf -subtitlesFile
), videoFilters(vf -subtitlesFile
) input(subFile).
And nothing works, In each scenario the srt is stuck in first line like so.

When i do it on command like -i b-roll-2.png -i voiceover-2.mp3 -vf "subtitles=voiceover-2.srt" -c:v libx264 -c:a copy -shortest output22.mp4. It works perfectly.


The files are dynamic, but ffmpeg is reaching all of then.


1
00:00:00,000 —> 00:00:03,900
To influence people, make one key change in how you talk,


(Stuck here)
2
00:00:03,900 —> 00:00:06,580
says communication expert Matt Abrahams.


this is my code, im using node.js


for (let i = 0; i < images.length; i++) {
 const inputImage = path.join(dir, images[i]);
 const inputAudio = path.join(dir, audio[i]);
 const inputSub = path.join(dir, sub[i]).replace(/\\/g, "/");
 const outputVideo = path.join(dir, `output_${i}.mp4`);

 if (!fs.existsSync(inputImage)) {
 console.error(`Image file not found: ${inputImage}`);
 continue;
 }
 if (!fs.existsSync(inputAudio)) {
 console.error(`Audio file not found: ${inputAudio}`);
 continue;
 }
 if (!fs.existsSync(inputSub)) {
 console.error(`Sub file not found: ${inputSub}`);
 continue;
 }

 await new Promise((resolve, reject) => {
 ffmpeg()
 .input(inputImage)
 .input(inputAudio)
 .videoCodec("libx264") // Set video codec
 .audioCodec("copy") // Copy the audio without re-encoding
 .outputOptions([
 "-preset veryfast",
 "-pix_fmt yuv444p",
 `vf subtitles=${inputSub}`
 ])
 .on("stderr", (stderr) => {
 console.error("FFmpeg STDERR:", stderr); // Logs FFmpeg's standard error output
 })
 .on("stdout", (stdout) => {
 console.log("FFmpeg STDOUT:", stdout); // Logs FFmpeg's standard output
 })
 .on("end", resolve)
 .on("error", (err, stdout, stderr) => {
 console.error("Error: " + err.message);
 console.error("ffmpeg stdout: " + stdout);
 console.error("ffmpeg stderr: " + stderr);
 reject(err);
 })
 .save(outputVideo);
 });
 console.log("ready processing");
 }



Tried everything but nothing works using fluent. Only cmd


-
Piwik is expanding ! We’re seeking a talented Software Engineer in New Zealand or in Poland
At Piwik and Piwik PRO we develop the leading open source web analytics platform, used by more than one million websites worldwide. Our vision is to build the best open alternative to Google Universal Analytics.
The Piwik platform collects, stores and processes a lot of information : hundreds of millions of data points each month. We create intuitive, simple and beautiful reports that delight our users.
Are you seeking a new challenge ? We are currently looking for a software engineer or software developer who is passionate about data processing, security, privacy, the open source philosophy and usable interface design.
We practise agile methodology, test driven development, and fast release cycles. The main technologies we work with are Javascript (AngularJS, jquery), PHP5 and MySQL. You will write open source code that will directly benefit 250,000+ Piwik users in more than 200 countries and 50 languages.
Responsibilities
- Write server-side code (PHP5) and front-end code (Javascript) for Piwik platform.
- Create robust high-volume production applications and develop prototypes quickly.
- Tackle new problems as we continue to push technology forward.
Minimum qualifications
- BA/BS degree in Computer Science or equivalent practical experience.
- 2 years of relevant work experience in software development.
- Understanding of, and practical experience with PHP5 and Javascript application development.
- Strong analytical and coding skills.
- Excellent communication skills.
Location
- Wellington central, New Zealand.
If you are not in New Zealand, and you are the right candidate, we will help you relocate here ! - Wrocław, Poland
Apply online
To apply for this position, please Apply online here. We look forward to receiving your applications !