Recherche avancée

Médias (3)

Mot : - Tags -/image

Autres articles (60)

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (6603)

  • Anomalie #2788 (Nouveau) : Critères optionnels et passage automatique de #ENV dans les modèles

    7 juillet 2012, par Maïeul Rouquette

    Un exemple sera plus simple : j’avais sous SPIP 2.1 un modèles sites.html de la forme suivante : [(#LOGO_RUBRIQUE|image_reduire100|inserer_attributalt,#TITRE|inserer_attributclass,’’sinon#TITRE)] #NOM_SITE Je pouvais l’appeler soit via : et dans ce cas j’avais les sites de toutes les (...)

  • sws_scale vs libyuv performance, speed

    4 janvier 2019, par Steven.Yeun

    I tested to convert NV12 to RGB with ffmpeg(sws_scale) and libyuv(NV12ToRGB24)
    I guessed libyuv more than fast sws_scale but it is not.
    is it correct result ? and how to fast and low cpu usage conversion ?
    i wrote test result.

    I3 windows10 64bit desktop
    Vs2017 64bit debug build
    VideoSize = 1280 x 692

    libyuv(NV12ToRGB24) test result

     0.04400 sec
     0.04500 sec
     0.04300 sec
     0.04400 sec
     0.04400 sec
     0.04600 sec
     0.04400 sec
     0.04400 sec
     0.04500 sec
     0.05000 sec

    libyuv(NV12ToRGB24) test code

           clock_t begin, end;
           begin = clock();

           libyuv::NV12ToRGB24(avFrame->data[0], avFrame->linesize[0],
               avFrame->data[1], avFrame->linesize[1],
               matRGB.data, avFrame->width * 3,
               avFrame->width,
               avFrame->height
           );
           end = clock();
           printf("%0.5f\n", (float) (end - begin) / CLOCKS_PER_SEC );

    --------------------------------------------------------------------------------

    ffmpeg(sws_scale) test result

    0.00300 sec
    0.00300 sec
    0.00300 sec
    0.00300 sec
    0.00300 sec
    0.00300 sec
    0.00300 sec
    0.00300 sec
    0.00300 sec
    0.00300 sec

    ffmpeg(sws_scale) test code

       begin = clock();

           sws_scale(sws_ctx, avFrame->data,
               avFrame->linesize, 0, avFrame->height, frame_bgr->data,
               frame_bgr->linesize);

           //cv::Mat mat(dest_height, dest_width, cv_format, frame_bgr->data[0], frame_bgr->linesize[0]);

           end = clock();
           printf("%0.5f\n", (float)(end - begin) / CLOCKS_PER_SEC);
  • 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 < 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 >& c:/test/image_$imagetime.txt &

                    after 15000

                    exec ffmpeg -f dshow -t 00:00:10 -i "video=Integrated Webcam" -s 1280x720 -benchmark c:/test/video_$videotime.avi >& c:/test/video_$videotime.txt &
                   
                    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 < 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 >& c:/test/image_$time.txt &

                    after 15000

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

    any answer ??