
Recherche avancée
Autres articles (84)
-
Contribute to documentation
13 avril 2011Documentation 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, parMultilang 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 2021Je 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
- <span class="CodeRay"><span class="tag">form</span>
- <span class="tag">div</span><span class="class">.editer-groupe</span>
- <span class="tag">div</span><span class="class">.editer</span>
- <span class="tag">div</span><span class="class">.editer</span>
- ...
- <span class="tag">fieldset</span><span class="class">.editer-groupe</span>
- <span class="tag">legend</span>
- <span class="tag">div</span><span class="class">.editer</span>
- <span class="tag">div</span><span class="class">.editer</span>
- <span class="tag">div</span><span class="class">.editer-groupe</span>
- <span class="tag">div</span><span class="class">.editer</span>
- <span class="tag">fieldset</span><span class="class">.editer</span>
- <span class="class">.choix</span>
- <span class="tag">fieldset</span><span class="class">.editer-groupe</span>
- <span class="tag">legend</span>
- <span class="tag">div</span><span class="class">.editer</span>
- <span class="tag">div</span><span class="class">.editer</span>
- <span class="tag">fieldset</span><span class="class">.editer-groupe</span>
- <span class="tag">legend</span>
- <span class="tag">div</span><span class="class">.editer</span>
- ...
- <span class="tag">fieldset</span><span class="class">.editer-groupe</span>
- <span class="tag">legend</span>
- <span class="tag">div</span><span class="class">.editer</span>
- <span class="tag">fieldset</span><span class="class">.editer-groupe</span>
- <span class="tag">legend</span>
- <span class="tag">div</span><span class="class">.editer</span>
- ...
- </span>
Il me semble que dans ce cas on peut toujours différencier
- unform fieldset.editer-goupe
(racine) (du moins avec style minimums = div.editer-groupe)
- d’unform .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 SunnyI wonder how to create multi-periods from two input videos or more using ffmpeg. 
how do I make a command line for making a DASH mpd to have multiple periods. 
who does know the way to make the thing ?



==============
xml

 
 representation..
 
 
 representation..






-
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 WolfI 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" ]] && { 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
donecan 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 ?