
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 (66)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
-
La sauvegarde automatique de canaux SPIP
1er avril 2010, parDans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)
Sur d’autres sites (10560)
-
How to get FFMpeg code working on remote server ?
4 février 2016, par OMiI am using the following code to add plain text to videos. It works fine on localhost with EasyPHP server but I am not able to get the output on server (ffmpeg hosting). In addition, video conversion, video to audio everything is working fine.
@exec('ffmpeg -y -i '.$source_file.' -vf drawtext="fontfile=font_omiA.ttf: \ text='.$watermark_text.': fontcolor=white@0.5: fontsize=20: \ x=(w-text_w)-3: y=(h-text_h-line_h)+10" '.$output_filename.'');
I tried with following code too but I didn’t get success :(
@exec("ffmpeg -y -i ".$source_file." \"fontfile=font_omiA.ttf: \ text=".$watermark_text.": \ fontcolor=white@0.5: \ fontsize=20: \ x=((w-text_w)-3): y=((h-text_h-line_h)+10))\" ".$output_filename."");
-
ffmpeg scale2ref works locally but does not work on server
10 novembre 2020, par nopapiI'm trying to execute this command :


ffmpeg -i input.mp4 -i watermark.png -filter_complex "[1][0]scale2ref=w=oh*mdar:h=ih/20[wm][vid] ;[vid][wm]overlay=10:10" -c:v libx264 -crf 23 -preset veryfast -c:a aac -ab 128k -movflags faststart output.mp4


This command add a watermark on the video and compress it.


It worked localy on my computer but once I deployed the app on Centos server it stopped working and this is the error I get :




Any help please. thank you


-
Best way to record a HTML Canvas/WebGL animation server-side into a video ?
14 décembre 2016, par AbhinavI have a set of animations which I can make in Canvas (fabric.js) or WebGL (three.js). I need to record them automatically, server-side, through a script and output a video file.
The animations include :
- Pictures
- Videos (with audio)
- Other animations/effects
I have researched a lot during last few months on this.
Results
1. User PhantomJS + FFMPEG
Run HTML Canvas animations on headless browser(PhantomJS) and record with FFMPEG. Here the issue is PhantomJS supports neither WebGL nor Video element. http://phantomjs.org/supported-web-standards.html2. Use Websockets to send data back to server using DataURL
Here again, we will need to run the animations on browser (which we can’t because we have to do everything on server).3. Use node-canvas
This is a library by TJ Holowaychuk which allows rendering HTML Canvas on Node.js. But it has its own limitations plus I haven’t really explored this field much.
(If someone could shed more light on this library)If anyone has done it before or can guide me somewhere useful.
All we need to do is use some data to create animations and record it into a video, everything on server side. - Pictures