Recherche avancée

Médias (91)

Autres articles (67)

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

  • Création définitive du canal

    12 mars 2010, par

    Lorsque votre demande est validée, vous pouvez alors procéder à la création proprement dite du canal. Chaque canal est un site à part entière placé sous votre responsabilité. Les administrateurs de la plateforme n’y ont aucun accès.
    A la validation, vous recevez un email vous invitant donc à créer votre canal.
    Pour ce faire il vous suffit de vous rendre à son adresse, dans notre exemple "http://votre_sous_domaine.mediaspip.net".
    A ce moment là un mot de passe vous est demandé, il vous suffit d’y (...)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

Sur d’autres sites (5543)

  • doc/filters : update URL for sr filter script repository

    16 mai 2019, par Gyan Doshi
    doc/filters : update URL for sr filter script repository
    

    Thanks to Steven Liu for the update.

    • [DH] doc/filters.texi
  • FFmpeg : How do i use this script to concatenate incoming segments

    5 juillet 2017, par NGage

    I’d like to use this script but i don’t know how it should be applied. I was going to use it for encoding tv-shows and be able to start encoding as i had cut out the first segment.

    According to the ffmpeg-wiki (where i found the script) it says : "Concatenation becomes troublesome, if next clip for concatenation does not exist at the moment, because decoding won’t start until the whole list is read. However, it is possible to refer another list at the end of the current list :"

    Bear in mind that i dont know to much about bash

    #!/bin/bash

    fn_concat_init() {
    echo "fn_concat_init"
    concat_pls=`mktemp -u -p . concat.XXXXXXXXXX.txt`
    concat_pls="${concat_pls#./}"
    echo "concat_pls=${concat_pls:?}"
    mkfifo "${concat_pls:?}"
    echo
    }

    fn_concat_feed() {
    echo "fn_concat_feed ${1:?}"
    {
       >&2 echo "removing ${concat_pls:?}"
       rm "${concat_pls:?}"
       concat_pls=
       >&2 fn_concat_init
       echo 'ffconcat version 1.0'
       echo "file '${1:?}'"
       echo "file '${concat_pls:?}'"
    } >"${concat_pls:?}"
    echo
    }

    fn_concat_end() {
    echo "fn_concat_end"
    {
       >&2 echo "removing ${concat_pls:?}"
       rm "${concat_pls:?}"
       # not writing header.
    } >"${concat_pls:?}"
    echo
    }

    fn_concat_init

    echo "launching ffmpeg ... all.mkv"
    timeout 60s ffmpeg -y -re -loglevel warning -i "${concat_pls:?}" -pix_fmt
    yuv422p all.mkv &

    ffplaypid=$!


    echo "generating some test data..."
    i=0; for c in red yellow green blue; do
    ffmpeg -loglevel warning -y -f lavfi -i testsrc=s=720x576:r=12:d=4 -pix_fmt
    yuv422p -vf "drawbox=w=50:h=w:t=w:c=${c:?}" test$i.mkv
    fn_concat_feed test$i.mkv
    ((i++));
    echo
    done
    echo "done"

    fn_concat_end

    wait "${ffplaypid:?}"

    echo "done encoding all.mkv"
  • How to correctly detect window with xdotool in bash script

    24 mai 2020, par wasd

    I'm trying to record screen and also input from my webcam. To show image from a webcam I use ffplay. However I want it to be placed in a specific location of my screen. To do so I use xdotool and following bash script :

    



     #!/bin/bash                                                                                                                                                                                                                                   
 ffplay -i /dev/video0 &                                                                                                                                                                                       
 res=$!                                                                                                                  
 echo $res                                                                                                               
 window_pid=$(xdotool search --pid $res)                                                                                       
 echo $window_pid
 xdotool windowmove $window_pid 1200 200                                                                                                       
 wait


    



    For some reason I get correct process id res but nothing for the window_pid. If I run similar commands in terminal it works correctly (I run ffplay in one terminal instance and the rest of commands in another). What am I missing here ?