
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 (77)
-
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...) -
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 (...)
Sur d’autres sites (14214)
-
Video processing to support different web players and qualities [closed]
15 mai 2013, par LinasI am trying to accomplish something similar to youtube player.
The biggest issues I'm facing now is how should I process user uploaded video file.
For example since i want to switch between
240p
,360p
,480p
and720p
I need to convert uploaded video file to 4 different files for each resolution, and because not all browsers can play mp4 i needogg
,mp4
,webm
, so that makes 12 video files, and say if it takes 10 minutes to process 1h video file it would take me about 2h just to process that file which is insane. I know that youtube is ussing cloud servers to process each video file and they have a lot of processing power but I think there some kind of trick to this.So my question is what can i do about this, and how does youtube deal with this ?
My second question is ffmpeg suited for this kind of work, and if so why does this command takes pretty much for ever to finish, I ran this command on a 720p 3minutes long video file and after 15minutes of processing I just canceled the process.
ffmpeg -i hd.webm a.mp4
This one on the other hand took about 7 minutes to finish but it generated 200mb video file out of 25mb file
ffmpeg -i hd.webm -c:v libx264 -preset ultrafast a.mp4
-
Use ffmpeg Windows batch script on OS X
3 novembre 2015, par andiskI got an ffmpeg batch script written by someone. The script takes all video clips of a specific folder, cuts off first and last frame, converts the clips to ProRes and saves them in a new folder. I got it running under Windows (just have to double-click the *.bat file and it does what it’s supposed to do).
But now I need that same script running on a mac. I’ve installed ffmpeg over homebrew. Then I tried to make a Automator-Service, but with no success. Best thing would be if I could just right click on the folder with the videos, go to services and click on convert. I’m not really into coding and scripting, but the people who should use the script are happy when they find the power switch of the computer..
Can anyone help me with this ?
Cheers andiskEdit : Here’s the code
`@echo off
mkdir tmp
mkdir converted
set pathtofind=%~dp0
echo Searching for files in %pathtofind%%1\
setlocal enableextensions
setlocal ENABLEDELAYEDEXPANSION
for %%f in (%pathtofind%%1\*) do (
echo Handling file %%f
ffmpeg -y -loglevel quiet -i %%f tmp\%%d.png
set count=0
for %%x in (tmp\*) do set /a count +=1
echo Deleting frames 1 and !count!
del tmp\1.png
del tmp\!count!.png
echo Saving %%~nf.mov
ffmpeg -y -loglevel verbose -f image2 -r 24 -i tmp\%%d.png -vcodec prores -profile:v 1 -r 24 converted\%%~nf.mov
del /q tmp\*.*
echo ---------------------------
)
rd tmp` -
Displaying ffmpeg conversion progress
29 mars 2014, par HiigaranI'm trying to get an admin function made, in which I want to show a basic status of any file conversion(s) that may or may not be happening upon page load. I'm not entirely sure how to proceed with this, so here is what I have at the moment :
exec("ffprobe -v quiet -print_format json -show_format '".$fileNameIn.".".$ext."' > /var/www/resources/ffmpegFormat.log");
exec("/ffmpeg/ffmpeg -loglevel 'verbose' -i '".$fileNameIn.".".$ext."' '".$fileNameOut.".flac' null >/dev/null 2>/var/www/resources/ffmpeg.log &",$ffmpegOutput);My idea is to use ffprobe to output some information about the file to be converted, then use PHP in some way to read the output file (ffmpegFormat.log) for the total file duration. Once read, ffmpeg begins, while outputting to its own file (ffmpeg.log).
I'm not looking for anything fancy, like live updates on the progress, so I'm content with simply having a script read the current duration from the last line of the ffmpeg.log file, compare it to the total duration from the ffmpegFormat.log file, and display a percentage only after a page load/refresh.
I've placed a restriction on conversion to only one file at a time, for the sake of simplifying this progress indicator (and due to a lack of processing power on this computer).
Assuming there's no simpler way than my idea, how can I do this ?