Recherche avancée

Médias (0)

Mot : - Tags -/auteurs

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (84)

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

  • MediaSPIP en mode privé (Intranet)

    17 septembre 2013, par

    À partir de la version 0.3, un canal de MediaSPIP peut devenir privé, bloqué à toute personne non identifiée grâce au plugin "Intranet/extranet".
    Le plugin Intranet/extranet, lorsqu’il est activé, permet de bloquer l’accès au canal à tout visiteur non identifié, l’empêchant d’accéder au contenu en le redirigeant systématiquement vers le formulaire d’identification.
    Ce système peut être particulièrement utile pour certaines utilisations comme : Atelier de travail avec des enfants dont le contenu ne doit pas (...)

  • 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.

Sur d’autres sites (10763)

  • Anomalie #4623 : Styles des fieldset dans l’espace privé

    18 avril 2021

    Je découvre les fieldset.editer qui sont des lignes pour les .choix, introduit assez récemment. Donc ça fait une option de plus à gérer.

    Dans quelle mesure Tcharles il y a besoin du .editer-groupe dans le fieldset.editer-surgroupe ? Est-ce que ça pourrait servir pour passer les champs .editer dedans en colonne (flexbox horizontal ?) sur certains fieldset ? (Je suppose qu’on en aurait pas besoin pour ça). Et donc que ça simplifierait si on met directement fieldset.editer-groupe

    1. <span class="CodeRay"><span class="tag">form</span>
    2.   <span class="tag">div</span><span class="class">.editer-groupe</span>
    3.     <span class="tag">div</span><span class="class">.editer</span>
    4.     <span class="tag">div</span><span class="class">.editer</span>
    5.     ...
    6.  
    7.   <span class="tag">fieldset</span><span class="class">.editer-groupe</span>
    8.     <span class="tag">legend</span>
    9.     <span class="tag">div</span><span class="class">.editer</span>
    10.     <span class="tag">div</span><span class="class">.editer</span>
    11.  
    12.   <span class="tag">div</span><span class="class">.editer-groupe</span>
    13.     <span class="tag">div</span><span class="class">.editer</span>
    14.     <span class="tag">fieldset</span><span class="class">.editer</span>
    15.       <span class="class">.choix</span>
    16.     <span class="tag">fieldset</span><span class="class">.editer-groupe</span>
    17.        <span class="tag">legend</span>
    18.        <span class="tag">div</span><span class="class">.editer</span>
    19.        <span class="tag">div</span><span class="class">.editer</span>
    20.        <span class="tag">fieldset</span><span class="class">.editer-groupe</span>
    21.           <span class="tag">legend</span>
    22.           <span class="tag">div</span><span class="class">.editer</span>
    23.           ...
    24.  
    25.   <span class="tag">fieldset</span><span class="class">.editer-groupe</span>
    26.     <span class="tag">legend</span>
    27.     <span class="tag">div</span><span class="class">.editer</span>
    28.     <span class="tag">fieldset</span><span class="class">.editer-groupe</span>
    29.        <span class="tag">legend</span>
    30.        <span class="tag">div</span><span class="class">.editer</span>
    31.        ...
    32.  
    33. </span>

    Télécharger

    Il me semble que dans ce cas on peut toujours différencier
    - un form fieldset.editer-goupe (racine) (du moins avec style minimums = div.editer-groupe)
    - d’un form .editer-groupe fieldset.editer-groupe (mélangé avec d’autres champs = style plus élaborés avec indentation)

    En fait ça me parait assez cohérent de dire "Un fieldset c’est un groupe d’édition" (.editer-groupe) la seule grosse différence est la présence du legend. (et éventuellement de la démarcation / indentation)

  • how to create multiple period using ffmpeg, from two input videos to multi period on the DASH mpd

    14 mai 2020, par Sunny

    I wonder how to create multi-periods from two input videos or more using ffmpeg. &#xA;how do I make a command line for making a DASH mpd to have multiple periods. &#xA;who does know the way to make the thing ?

    &#xA;&#xA;

    ==============&#xA;xml&#xA;&#xA; &#xA; representation..&#xA; &#xA; &#xA; representation..&#xA;

    &#xA;&#xA;

    &#xA;

  • check media resolution, if resolution is big ffmpeg it, if output is smaller than original delete the original else delete the output

    13 avril 2015, par The Wolf

    I have my storage VPS filled with videos, and hoping I can free up some space, their resolution is pretty big so I decided to re encode them with ffmpeg to a smaller resolution, I am doing every thing manually, first I check using mediainfo test5.mkv the resolution

    ...
    Width                                    : 1 280 pixels
    ...

    if the width is greater than 720 pixels I issue the following command :

    ffmpeg -i 'test5.mkv' -vf scale=720:-2 -acodec copy -vcodec libx264 -scodec copy -threads 12 -crf 28 -x264-params keyint=240:min-keyint=20 -preset:v slow '[Encoded] test5.mkv'

    then after that I delete the original video if the output has smaller size than the original

    I am hoping there is a script that can automate this, like I will run on a directory then, it will look for all .mkv to subdirectories recursively to perform this checks and actions. How to do this ?

    Also, I am worried that it could fail if I reach automation, since there are special characters in the video’s name of some like single quotes, double quotes, or `, so I will it can be escaped properly.

    Thanks !

    After some google I ended up with the following snippet, I am worried if this is enough, but I’m afraid to run it since I am not sure if it would damage my unix

    #!/bin/sh

    for file in *.{mkv}; do
    target="[720p]-${file%.*}.mkv"
    [[ -f "$target" ]] &amp;&amp; { echo "skipping $file - $target exists" ; continue; }


    eval $(ffprobe -v error -of flat=s=_ -select_streams v:0 -show_entries stream=height,width "$file")
    size=${streams_stream_0_width}x${streams_stream_0_height}
    if [ "$streams_stream_0_width" -ge 720 ]; then
    echo ffmpeg -i "$file" -vf scale=720:-2 -acodec copy -vcodec libx264 -scodec copy -threads 12 -crf 28 -x264-params keyint=240:min-keyint=20 -preset:v slow "$target"

    fi
    done

    can somebody please tell me if my snippet should work ?

    UPDATE

    as it turns out if [ "$streams_stream_0_width" -ge 720 ]; then fails because the width is not integer ? line 10: [: : integer expression expected I am not sure why it is not integer, how can I make it integer ?