Recherche avancée

Médias (3)

Mot : - Tags -/spip

Autres articles (43)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

Sur d’autres sites (7554)

  • lavfi/dnn_classify : add filter dnn_classify for classification based on detection...

    17 mars 2021, par Guo, Yejun
    lavfi/dnn_classify : add filter dnn_classify for classification based on detection bounding boxes
    

    classification is done on every detection bounding box in frame's side data,
    which are the results of object detection (filter dnn_detect).

    Please refer to commit log of dnn_detect for the material for detection,
    and see below for classification.

    - download material for classifcation :
    wget https://github.com/guoyejun/ffmpeg_dnn/raw/main/models/openvino/2021.1/emotions-recognition-retail-0003.bin
    wget https://github.com/guoyejun/ffmpeg_dnn/raw/main/models/openvino/2021.1/emotions-recognition-retail-0003.xml
    wget https://github.com/guoyejun/ffmpeg_dnn/raw/main/models/openvino/2021.1/emotions-recognition-retail-0003.label

    - run command as :
    ./ffmpeg -i cici.jpg -vf dnn_detect=dnn_backend=openvino:model=face-detection-adas-0001.xml:input=data:output=detection_out:confidence=0.6:labels=face-detection-adas-0001.label,dnn_classify=dnn_backend=openvino:model=emotions-recognition-retail-0003.xml:input=data:output=prob_emotion:confidence=0.3:labels=emotions-recognition-retail-0003.label:target=face,showinfo -f null -

    We'll see the detect&classify result as below :
    [Parsed_showinfo_2 @ 0x55b7d25e77c0] side data - detection bounding boxes :
    [Parsed_showinfo_2 @ 0x55b7d25e77c0] source : face-detection-adas-0001.xml, emotions-recognition-retail-0003.xml
    [Parsed_showinfo_2 @ 0x55b7d25e77c0] index : 0, region : (1005, 813) -> (1086, 905), label : face, confidence : 10000/10000.
    [Parsed_showinfo_2 @ 0x55b7d25e77c0] classify : label : happy, confidence : 6757/10000.
    [Parsed_showinfo_2 @ 0x55b7d25e77c0] index : 1, region : (888, 839) -> (967, 926), label : face, confidence : 6917/10000.
    [Parsed_showinfo_2 @ 0x55b7d25e77c0] classify : label : anger, confidence : 4320/10000.

    Signed-off-by : Guo, Yejun <yejun.guo@intel.com>

    • [DH] configure
    • [DH] doc/filters.texi
    • [DH] libavfilter/Makefile
    • [DH] libavfilter/allfilters.c
    • [DH] libavfilter/vf_dnn_classify.c
  • Fixed translation pt_BR : ’translated number gender, we don’t say "numero valida", "numero" is a "masculine" word, so we say "numero valido" instead of "numero valida"’

    19 juillet 2011, par helder maximo botter ribas

    m localization/messages_ptbr.js Fixed translation pt_BR : ’translated number gender, we don’t say "numero valida", "numero" is a "masculine" word, so we say "numero valido" instead of "numero valida"’

  • Add 2 watermark with scale2ref 40 percent width of video and timeout using FFmpeg

    3 septembre 2020, par Arun Maurya

    Add 2 watermark with scale2ref 40 percent width of video and timeout using FFmpeg

    &#xA;

    timeout for the top right corner (first 8 sec) then the bottom right corner till the end time.

    &#xA;

    ffmpeg -i 1597739850_368007908.mp4 -i artistsharleen.png -i artistsharleen.png -filter_complex "[1][0scale2ref=w=&#x27;iw*40/100&#x27;:h=&#x27;ow/mdar&#x27;[wm][vid];[vid][wm]overlay=10:40:enable=&#x27;between(t,0,8)&#x27;"[v1];[v1][2]scale2ref=w=&#x27;iw*40/100&#x27;:h=&#x27;ow/mdar&#x27;[a][b];[b][a]overlay=main_w-overlay_w-10:main_h-overlay_h-10:enable=&#x27;gt(t,8)[v2]" -map "[v2]" -map 0:a 17780739871599156232.mp4

    &#xA;

    I'm able to place 2 watermarks with keyframe

    &#xA;

    ffmpeg -i video.mp4 -i image2.png -i image2.png -filter_complex "[0][1]overlay=10:10:enable=&#x27;between(t,0,8)&#x27;[v1];[v1][2]overlay=main_w-overlay_w-10:main_h-overlay_h-10:enable=&#x27;gt(t,8)&#x27;[v2]" -map "[v2]" -map 0:a output.mp4

    &#xA;

    but my images are not getting scaled as per video resolution, that's why i want to integrate scale2ref in this command

    &#xA;

    Hope someone also faces this problem, can help me.

    &#xA;