
Recherche avancée
Médias (29)
-
#7 Ambience
16 octobre 2011, par
Mis à jour : Juin 2015
Langue : English
Type : Audio
-
#6 Teaser Music
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#5 End Title
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#3 The Safest Place
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#4 Emo Creates
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#2 Typewriter Dance
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
Autres articles (104)
-
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...) -
Monitoring de fermes de MediaSPIP (et de SPIP tant qu’à faire)
31 mai 2013, parLorsque l’on gère plusieurs (voir plusieurs dizaines) de MediaSPIP sur la même installation, il peut être très pratique d’obtenir d’un coup d’oeil certaines informations.
Cet article a pour but de documenter les scripts de monitoring Munin développés avec l’aide d’Infini.
Ces scripts sont installés automatiquement par le script d’installation automatique si une installation de munin est détectée.
Description des scripts
Trois scripts Munin ont été développés :
1. mediaspip_medias
Un script de (...) -
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...)
Sur d’autres sites (9342)
-
NodeJs : Parsing POST request file upload as stream to ffmpeg
29 mai 2017, par Christian AbdelmassihI’m trying to upload a file by sending a POST request to my NodeJs-server where the server will upon receiving the request (but not necessarily whole file) create a readStream on the incoming file and pass it to
fluent-ffmpeg
for video-compression and then saving it on the server. The idea is to pass the stream to ffmpeg without waiting for the whole file to be uploaded instead of waiting for the upload to complete and then pass the file since it would take more time and require to store the file temporarily on the server before the compression.With the current code ffmpeg gives the error
pipe:0: Invalid data found when processing input
which I translate to some error with the stream creation. The code is as followsmodule.exports = function(req, res) {
let formidable = require('formidable');
let form = new formidable.IncomingForm();
form.parse(req, (err, fields, files) => {
let readStream = fs.createReadStream(files.uploadedfile.path);
let ffmpeg = require('fluent-ffmpeg')
let ffmpegCmd = ffmpeg(readStream)
...
});
});Am I making some wrong assumption here ?
-
Web script can't find installed package/software (CentOS)
14 janvier 2017, par Ryan ButterworthI’m pretty new to using SSH and such to install software. I’m trying to use https://github.com/eyecatchup/php-yt_downloader on my site (http://voddr.com/yt/index.php?id=yrreBFLghMc) but as you can see, it comes back with the error "You must have Ffmpeg installed in order to use this function."
I have installed ffmpeg, using Nux Desktop (see the guide I followed here : https://www.vultr.com/docs/how-to-install-ffmpeg-on-centos)
When typing "ffmpeg" into SSH it comes back with this, which must mean it is installed :
Also, I tried the command "which ffmpeg", which returned the path of ffmpeg : "/usr/bin/ffmpeg"
php-yt_downloader
useswhich ffmpeg
to detect whether it is installed, and if not, it returns the error "You must have Ffmpeg installed in order to use this function." - but if I’m able to use it fine from my SSH window, why can’t the script detect it ?All I’m wondering, is there something else I must do when installing software to allow a domain to use it (like install the software in the domain’s path ?), or is this entirely a problem with the
php-yt_downloader
resource ? I’m using CentOS 7 and Plesk web panel. -
How can I reset the path of FFMPEG in Java ?
4 avril 2017, par FiggyjaI accidentally set the path for FFMPEG to a different folder, and I can’t change it back.
I’m using Processing (the API and its IDE) and the user created Video Export library to capture and write an mp4 video file. The library required FFMPEG, so I downloaded and installed it. After I installed it, I ran the code, and the library called Java to request the path of FFMPEG. I wrongly set the path to a different folder, which I eventually deleted. I knew I set it to the wrong folder, and ran the code again to see if I could trigger the Java prompt again to reset the folder.
The console response I received was : (I’m sure most of it doesn’t have to do with the actual issue. However, I wanted to show all of it in case it somehow does.)
Oct 24, 2016 10:23:25 PM java.util.prefs.WindowsPreferences
WARNING : Could not open/create prefs root node Software\JavaSoft\Prefs
at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
java.io.IOException : Cannot run program
"C :...\Processing\Octree_Graphics\data\FFMPEG\ff-prompt.bat" :
CreateProcess error=2, The system cannot find the file specified at
java.lang.ProcessBuilder.start(ProcessBuilder.java:1048) at
com.hamoid.VideoExport.startFfmpeg(Unknown Source) at
com.hamoid.VideoExport.initialize(Unknown Source) at
com.hamoid.VideoExport.saveFrame(Unknown Source) at
Octree_Graphics.draw(Octree_Graphics.java:90) at
processing.core.PApplet.handleDraw(PApplet.java:2399) at
processing.opengl.PSurfaceJOGL$DrawListener.display(PSurfaceJOGL.java:731)
at
jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:692)
at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:674)
at
jogamp.opengl.GLAutoDrawableBase$2.run(GLAutoDrawableBase.java:443)
at
jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1293)
at
jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1147)
at com.jogamp.newt.opengl.GLWindow.display(GLWindow.java:759) at
com.jogamp.opengl.util.AWTAnimatorImpl.display(AWTAnimatorImpl.java:81)
at com.jogamp.opengl.util.AnimatorBase.display(AnimatorBase.java:452)
at
com.jogamp.opengl.util.FPSAnimator$MainTask.run(FPSAnimator.java:178)
at java.util.TimerThread.mainLoop(Timer.java:555) at
java.util.TimerThread.run(Timer.java:505) Caused by :
java.io.IOException : CreateProcess error=2, The system cannot find the
file specified at java.lang.ProcessImpl.create(Native Method) at
java.lang.ProcessImpl.(ProcessImpl.java:386) at
java.lang.ProcessImpl.start(ProcessImpl.java:137) at
java.lang.ProcessBuilder.start(ProcessBuilder.java:1029) ... 17 more
VideoExport error : Ffmpeg failed. Study
C :...\Processing\Octree_Graphics\basic.mp4.txt for more details.
I need to find a way to reset the path of FFMPEG that Java has. I have tried uninstalling and reinstalling the library, but I haven’t tried Java (I don’t want to mess with anything it has in its current state).
P.S. The file listed at the end of the console response (basic.mp4.txt) was empty because it had not begun writing to the file yet.