Recherche avancée

Médias (91)

Autres articles (102)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, 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 (...)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

Sur d’autres sites (8687)

  • Displaying ffmpeg conversion progress

    29 mars 2014, par Hiigaran

    I'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 ?

  • Ffmpeg , overlay two sequences of png's and turn them into a movie

    12 mai 2014, par Lau Llobet

    i’ve found how to turn a png sequence into a movie, also i’ve found how to overlay two movies using transparency but I don’t know how to do both things at once (using png’s tranparency).

    The bottom layer of png’s is smaller than the top one and needs to be stretched to a certain resolution and also have a padding to be centered.

    The output dont have to have alpha (black for alpha is ok).

    I’m a bit confused by the abundance of filter options


    Edit :

    for the moment i’ve found :

    ./ffmpeg -i ./seq1/%d.bmp -vf "movie=./%d.png [a]; [in][a] overlay=0:366" combined.m2v

    it works , now i’ve got to find the padding and resize things


    thank you in advance.

  • Révision 21991 : On modifie la signature de la fonction lance_requete : en cas d’echec elle renvoi...

    14 avril 2015, par cedric -

    Cela permet de ne pas tenter fopen quand fsockopen s’est soldee par un timeout (erreur=110), car ca genere systematiquement un double timeout tres penalisant
    Deprecie l’usage de la globale inc_distant_allow_fopen qu’on laisse tout de meme ici pour le moment