Recherche avancée

Médias (1)

Mot : - Tags -/école

Autres articles (92)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie 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 (...)

  • Menus personnalisés

    14 novembre 2010, par

    MediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
    Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
    Menus créés à l’initialisation du site
    Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

Sur d’autres sites (5323)

  • Evolution #3426 : enrichir la détection des robots

    19 novembre 2018, par BoOz -

    J’ai un doute sur le fait que SpreadTrum soit un bot. Dans mes logs il a l’air clean et je vois ici : https://user-agents.net/string/opera-9-80-spreadtrum-opera-mini-4-4-31492-98-16-u-fr-presto-2-12-423-version-12-16 @b_b

  • [FFmpeg on Windows] : help me converting a set of .png files to a video file

    31 octobre 2016, par Stefano Fedele

    Hi everybody I am on windows 10, I installed FFMpeg and I would like to use it to convert 100 .png image files into a video file.

    I am using it via the prompt, which is the Windows console, and I am struggling with the syntax (which probability comes from Linux). I set the folder in which ffmpeg.exe is contained as a windows system path as suggested on many websites and I moved the prompt to the folders in which the image files are contained which is reported here :

    cd C:\video\pnts + ag 40 nm- during-tmpyp 10-12- laser power 7mw- kinetic100- exposure time 1s- gain

    I would like to convert the image files contained in this folder into a video file, the names of those image files are reported here :

    pnts + ag 40 nm- during-tmpyp 10-12- laser power 7mw- kinetic100- exposure time 1s- gain 20 001.png

    pnts + ag 40 nm- during-tmpyp 10-12- laser power 7mw- kinetic100- exposure time 1s- gain 20 002.png

    ...

    ...

    pnts + ag 40 nm- during-tmpyp 10-12- laser power 7mw- kinetic100- exposure time 1s- gain 20 100.png

    The number of frames per second whould be 2.

    I read on internet that I should have to type something like this

    ffmpeg -i image-%03d.png video.webm

    But it looks like there are a lot of variables to consider and all the times I try to set them and run FFmpeg I get an error from the prompt.
    Is there anyone who could suggest me the proper syntax, please ?

  • Visualizing ffmpeg benchmarks

    2 avril 2020, par Saurabh P Bhandari

    I have generated benchmarks for comparing two approaches taken for scaling down video files (mp4) using ffmpeg tool.

    



    The benchmarks are logged in this format :

    



    x.mp4 Output_Resolution : 360p

Method : A 

real    0m26.817s
user    1m38.058s
sys     0m0.504s

Method : B, some-parameter-for-B : b1

real    0m26.465s
user    1m42.824s
sys     0m1.111s

Method : B, some-parameter-for-B : b2

real    0m26.236s
user    1m42.194s
sys     0m0.862s

Method : B, some-parameter-for-B : b3

real    0m25.050s
user    1m36.492s
sys     0m0.680s


y.mp4 Output_Resolution : 144p

Method : A 

real    1m9.426s
user    3m38.823s
sys     0m1.353s

Method : B, some-parameter-for-B : b1

real    1m4.956s
user    4m13.764s
sys     0m2.875s

Method : B, some-parameter-for-B : b2

real    1m5.033s
user    4m13.455s
sys     0m2.183s

Method : B, some-parameter-for-B : b3

real    0m25.050s
user    1m36.492s
sys     0m0.680s




    



    I am doing this for multiple video files and multiple resolutions. Lets say I need to visualize the comparison of benchmarks(real time) of method A and method B for given a resolution using bar chart below :

    



    Sample Bar Chart

    



    How do I efficiently get the necessary values from the the log and plot them using matplotlib in python ?

    



    (I am more interested in the approach you would take to solve this problem)