Recherche avancée

Médias (0)

Mot : - Tags -/albums

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (44)

  • 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

  • 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 formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

Sur d’autres sites (9169)

  • lavd/v4l2 : detect device name truncation

    25 novembre 2021, par Anton Khirnov
    lavd/v4l2 : detect device name truncation
    

    Silences the following warning with gcc 10 :
    src/libavdevice/v4l2.c : In function ‘v4l2_get_device_list’ :
    src/libavdevice/v4l2.c:1042:64 : warning : ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 251 [-Wformat-truncation=]
    1042 | ret = snprintf(device_name, sizeof(device_name), "/dev/%s", entry->d_name) ;
    | ^ 
    src/libavdevice/v4l2.c:1042:15 : note : ‘snprintf’ output between 6 and 261 bytes into a destination of size 256
    1042 | ret = snprintf(device_name, sizeof(device_name), "/dev/%s", entry->d_name) ;
    | ^ 

    Previous patches intending to silence it have proposed increasing the
    buffer size, but doing that correctly seems to be tricky. Failing on
    truncation is simpler and just as effective (as excessively long device
    names are unlikely).

    • [DH] libavdevice/v4l2.c
  • 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
  • libavcodec/jpeg2000dec.c : ROI marker support

    23 avril 2020, par Gautam Ramakrishnan
    libavcodec/jpeg2000dec.c : ROI marker support
    

    This patch adds support for decoding images
    with a Region of Interest. Allows decoding
    samples such as p0_03.j2k. This patch should
    fix ticket #4681.

    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavcodec/jpeg2000.h
    • [DH] libavcodec/jpeg2000dec.c