Recherche avancée

Médias (91)

Autres articles (112)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • 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

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

Sur d’autres sites (10325)

  • Revision ec38b6150d : Merge "Fixed point reference picture scaling" into experimental

    10 juin 2013, par John Koleszar

    Merge "Fixed point reference picture scaling" into experimental

  • aarch64 : NEON fixed/floating point MPADSP apply_window

    19 avril 2014, par Janne Grunau
    aarch64 : NEON fixed/floating point MPADSP apply_window
    

    30%/25% (fixed/float) faster mp3 decoding on Apple’s A7. The floating
    point decoder is approximately 7% faster.

    • [DBH] libavcodec/aarch64/Makefile
    • [DBH] libavcodec/aarch64/mpegaudiodsp_init.c
    • [DBH] libavcodec/aarch64/mpegaudiodsp_neon.S
    • [DBH] libavcodec/mpegaudiodsp.c
    • [DBH] libavcodec/mpegaudiodsp.h
  • Google Colab Runtime Error please install ffmpeg (version 4.2 is currently supported) andbuild torchvision from source

    4 juillet 2021, par Iman

    I'm using Google Colab to write a program using torch vision to extract frames from an mp4 video in my google drive. Thus far, I haven't wrote the full code yet but have been experimenting with torch vision.io library. Upon running the code, I get the following errors.

    


    Mounted at /content/gdrive&#xA;---------------------------------------------------------------------------&#xA;RuntimeError                              Traceback (most recent call last)&#xA; in <module>()&#xA;      6 &#xA;      7 video_path = "/content/drive/MyDrive/Training-Data-Videos/MASKED/00_MASKED_0_0.mp4"&#xA;----> 8 reader = torchvision.io.VideoReader(video_path, "video")&#xA;      9 reader.seek(2.0)&#xA;     10 frame = next(reader)&#xA;&#xA;/usr/local/lib/python3.7/dist-packages/torchvision/io/__init__.py in __init__(self, path, stream)&#xA;    106                 &#x2B; "to enable video_reader support, please install "&#xA;    107                 &#x2B; "ffmpeg (version 4.2 is currently supported) and"&#xA;--> 108                 &#x2B; "build torchvision from source."&#xA;    109             )&#xA;    110         self._c = torch.classes.torchvision.Video(path, stream)&#xA;&#xA;RuntimeError: Not compiled with video_reader support, to enable video_reader support, please install ffmpeg (version 4.2 is currently supported) andbuild torchvision from source.&#xA;&#xA;</module>

    &#xA;

    The code that I have written in the notebook so far is the following :

    &#xA;

    import os &#xA;import torchvision &#xA;from google.colab import drive&#xA;drive.mount(&#x27;/content/gdrive&#x27;, force_remount=True)&#xA;&#xA;video_path = "/content/drive/MyDrive/Training-Data-Videos/MASKED/00_MASKED_0_0.mp4"&#xA;reader = torchvision.io.VideoReader(video_path, "video")&#xA;reader.seek(2.0)&#xA;frame = next(reader)&#xA;print (frame)&#xA;&#xA;

    &#xA;

    To solve the problem, I tried to install ffmpeg on colab as this post says but it did not work. Can someone tell me what is the error ?

    &#xA;