Recherche avancée

Médias (91)

Autres articles (90)

  • Modifier la date de publication

    21 juin 2013, par

    Comment changer la date de publication d’un média ?
    Il faut au préalable rajouter un champ "Date de publication" dans le masque de formulaire adéquat :
    Administrer > Configuration des masques de formulaires > Sélectionner "Un média"
    Dans la rubrique "Champs à ajouter, cocher "Date de publication "
    Cliquer en bas de la page sur Enregistrer

  • Librairies et logiciels spécifiques aux médias

    10 décembre 2010, par

    Pour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
    Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

Sur d’autres sites (4518)

  • cabac test : Change input to test, so a wider range of states is tested.

    10 septembre 2011, par Michael Niedermayer

    cabac test : Change input to test, so a wider range of states is tested.

  • g2meet : more graceful cursor loading

    11 juin 2013, par Kostya Shishkov
    g2meet : more graceful cursor loading
    
    • [DBH] libavcodec/g2meet.c
  • How to escape characters in Windows batch file

    8 février 2017, par Tirafesi

    I’m trying to create a script to run a program that receives as an argument the name of a file. The problem I’m having is that the program doesn’t work if the filename has special characters in it.

    I found this post which helped me a bit. With a few modifications on that script I’m able to use the program with filenames containing [ and ].

    However, there are still some other special characters that cause the program to not run. Is it possible to create a batch for all special characters ? If not, I would at least need to be able to parse not only [ and ], but ' as well.

    This is what I have working at the moment. How can I at least add ' to this ?

    if not exist "mp4\" mkdir mp4
    setlocal disableDelayedExpansion
    for %%f in (*.mkv) do (
     set _a=%%~nf
     set _c=%%f
     setlocal enableDelayedExpansion
     set _b=!_a:[=\[!
     set _name=!_b:]=\]!
     set _d=!_c:[=\[!
     set _fullname=!_d:]=\]!
     "SOMEPATH\ffmpeg\bin\ffmpeg.exe" -i "%%f" -vf subtitles="!_name!.mkv:si=1" -c:v h264_qsv -c:a copy -map 0:v:0 -map 0:a:1 -q:v 6 -look_ahead 0 "mp4/%%~nf.mp4"
     endlocal
    )
    endlocal
    pause

    If you could explain the reasoning behind stuff that would be cool as well. I don’t understand much about scripting, but I would like to understand what’s going on in this batch...

    Oh, and here is the documentation for escaping characters in this program.