
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 (55)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
Script d’installation automatique de MediaSPIP
25 avril 2011, parAfin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
La documentation de l’utilisation du script d’installation (...) -
Automated installation script of MediaSPIP
25 avril 2011, parTo overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
The documentation of the use of this installation script is available here.
The code of this (...)
Sur d’autres sites (7503)
-
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


-
Need help to remove repetitions or duplicated frams in my podcast videos
19 décembre 2020, par Måns BredeliusI record videos in a strange way. When I record my podcast videos I often record in the same conversation twice within the same video.


If you would look at it you would see and hear something like this.


"I open the door I open the door and let him in".


I open the door was recorded twice in this example. Currently, I am manually removing these things myself in DaVinci resolve afterward. But I have heard that FFMPEG and mpdecimate are things that could do some wonders here.


I found a video on youtube and found this code
ffmpeg -i original_file.mp4 -vf mpdecimate -vsync vfr -acodec copy mpdecimated.mp4


but nothing happened. Something did happen, it did do something, but nothing happened to my video.


Would love some help.


-
Uploading & Processing Videos in Rails app on Heroku
8 octobre 2015, par scientifficIn my Rails app, users can upload videos. The videos need to get converted to mp4s to ensure they can play across browsers, and they are hosted on AWS S3.
If the video conversion (using ffmpeg) happens quickly, the resulting mp4 is rendered directly on the page so the user can immediately view the uploaded video. Sometimes, though the conversion takes long enough that I get Heroku H12 errors (request timeout), which prevents the video preview from appearing.
Is there a recommended workflow for dealing with processing larger files in a Rails app using Heroku ?
The option that immediately comes to mind is processing in a background task using something like Sidekiq, but then the user doesn’t receive feedback when the upload is complete.