
Recherche avancée
Autres articles (25)
-
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 (...) -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ; -
Formulaire personnalisable
21 juin 2013, parCette page présente les champs disponibles dans le formulaire de publication d’un média et il indique les différents champs qu’on peut ajouter. Formulaire de création d’un Media
Dans le cas d’un document de type média, les champs proposés par défaut sont : Texte Activer/Désactiver le forum ( on peut désactiver l’invite au commentaire pour chaque article ) Licence Ajout/suppression d’auteurs Tags
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire. (...)
Sur d’autres sites (3952)
-
FFMpeg slowed down sound sounds too metalic
8 mars 2015, par user1571299this is the command line I use :
ffmpeg -i VID_20150216_185018.mp4 -filter_complex setpts=4*PTS;atempo=0.5,atempo=0.5 output.mp4
The video plays just fine and the audio is in sync...but it’s just too metalic compared with most slo-mo videos I’ve seen out there.
Here’s an example how someone fixes it with Sony Vegas which is exactly what I want to achieve : -
Converting avi to mp4 ffmpeg
26 octobre 2013, par Dirk SwarzI use php code :
$ffmpeg_command ="ffmpeg -i ".$new_name." -s 1280x720 -ar 44100 -async 44100 -r 29.970 -ac 2 -qscale 5 ".$anew_name;
$convert_avi = true ;
i know that the problem is in here :
-s 1280x720 -ar 44100 -async 44100 -r 29.970 -ac 2 -qscale 5
Idea is when video is converted i can watch it via flash player and now flash player is saying that video is not found or bad syntax so obviuos its bad syntax but i dont know how to fix it
-
Node.js asynchronous video conversion slow
9 décembre 2016, par luksteiI wrote a little website/service, which can download a video from a website (currently Youtube) and converts it on the fly to an mp3 file and sends this file back as the response.
For example, you when you request http://localhost:8000/v=http ://www.youtube.com/watch?v=HhoewflkQu0, then it will download this video and response the audio layer encoded in MP3.
This all works very well, my problem is that this is very slow and I can’t figure out why.
Simplified the script behaves like this :
Download the video and write it to the stdin of ffmpeg, and the stdout goes to the response.
Video (MP4, FLV) -> FFMPEG -> MP3I used curl to figure out how fast the script is :
$ curl http://localhost:8000/v=http://www.youtube.com/watch?v=HhoewflkQu0
I get only about 5-10k.
So why is this so slow ?
- The server, from which I am downloading the video is slow.
- The conversion is slow (because of a slow CPU).
- The data transfer between node.js -> FFMPEG is slow.
I tried to download the video in a normal download manager, and i got about 320k, which is my normal download speed, so the first point isn’t the bottleneck.
To point 2 and 3, I tried to write a local file to the stdin, and I got about 600k so that isn’t it either.
So why is my script so slow, and what can I do to make it faster ?
https://gist.github.com/1304637
Thanks in advance.