Recherche avancée

Médias (91)

Autres articles (53)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

Sur d’autres sites (7100)

  • avcodec : do not use init_static_data on some codecs

    2 février 2018, par Muhammad Faiz
    avcodec : do not use init_static_data on some codecs
    

    They don't modify AVCodec, no needs to call it at register. They will be
    wasteful if these codecs are unused. Instead, call static data initialization
    at codecs' init.

    Benchmark :
    old : 51281340 decicycles in avcodec_register_all, 1 runs, 0 skips
    new : 6738960 decicycles in avcodec_register_all, 1 runs, 0 skips

    Reviewed-by : wm4 <nfxjfg@googlemail.com>
    Reviewed-by : Michael Niedermayer <michael@niedermayer.cc>
    Signed-off-by : Muhammad Faiz <mfcc64@gmail.com>

    • [DH] libavcodec/jpeg2000dec.c
    • [DH] libavcodec/qdmc.c
    • [DH] libavcodec/wmavoice.c
  • Unable to get current time in TCL. can i use flush here ?

    30 novembre 2017, par M. D. P

    unable to get current time for the bellow code :

    proc a {} {

            for {set i 0} {$i &lt; 3} {incr i} {
       puts " $i "


                    set imagetime [clock format [clock seconds] -format %Y%m%d_%H%M%S]
                    set videotime [clock format [clock seconds] -format %Y%m%d_%H%M%S]
       
                    exec ffmpeg -f dshow -i "video=Integrated Webcam" -s 1280x720 -benchmark c:/test/Image_$imagetime.jpg >&amp; c:/test/image_$imagetime.txt &amp;

                    after 15000

                    exec ffmpeg -f dshow -t 00:00:10 -i "video=Integrated Webcam" -s 1280x720 -benchmark c:/test/video_$videotime.avi >&amp; c:/test/video_$videotime.txt &amp;
                   
                    after 15000
            }
    }
    a

    the output is :

    enter image description here

    the problem here is, even though the variable for taking video time and image time is different, it is tacking same time for video and image.

    any reason or solution for this ????

    can i use flush command ???

    can i work with following code :

    proc a {} {

            for {set i 0} {$i &lt; 3} {incr i} {
       puts " $i "

    set time [clock format [clock seconds] -format %Y%m%d_%H%M%S]
                         
                    exec ffmpeg -f dshow -i "video=Integrated Webcam" -s 1280x720 -benchmark c:/test/Image_$time.jpg >&amp; c:/test/image_$time.txt &amp;

                    after 15000

                    exec ffmpeg -f dshow -t 00:00:10 -i "video=Integrated Webcam" -s 1280x720 -benchmark c:/test/video_$time.avi >&amp; c:/test/video_$time.txt &amp;
                   
                    after 15000
            }
    }
    a

    any answer ??

  • how to call a tcl file from another tcl file

    28 novembre 2017, par M. D. P

    i need to call a tcl file which hold the code for capturing image from another tcl file.

    for example i my image.tcl file code is as follow :

    proc image {}  {

    set time [clock format [clock seconds] -format %Y%m%d_%H%M%S]
     
    exec ffmpeg -f dshow -s 1280x720 -i "video=Integrated Webcam" -benchmark c:/test/sample_$time.jpg
           
    }
    image

    so, i want to call this image.tcl file from another tcl file called main.tcl,so the code for main.tcl can be as follow :

    proc a {}  {

    "c:/test/image.tcl"

    "c:/test/video.tcl"

    "c:/test/live.tcl"
           
    }
    a

    the above tcl script should run one after another when i call main.tcl

    any solution for this. add the code as answer. thanks.