
Recherche avancée
Médias (91)
-
Spoon - Revenge !
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
My Morning Jacket - One Big Holiday
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Zap Mama - Wadidyusay ?
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
David Byrne - My Fair Lady
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Beastie Boys - Now Get Busy
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Granite de l’Aber Ildut
9 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
Autres articles (112)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains 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, parMediaspip 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, parFormulaire 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 (11226)
-
Revision ec38b6150d : Merge "Fixed point reference picture scaling" into experimental
10 juin 2013, par John KoleszarMerge "Fixed point reference picture scaling" into experimental
-
aarch64 : NEON fixed/floating point MPADSP apply_window
19 avril 2014, par Janne Grunauaarch64 : 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. -
Google Colab Runtime Error please install ffmpeg (version 4.2 is currently supported) andbuild torchvision from source
4 juillet 2021, par ImanI'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
---------------------------------------------------------------------------
RuntimeError Traceback (most recent call last)
 in <module>()
 6 
 7 video_path = "/content/drive/MyDrive/Training-Data-Videos/MASKED/00_MASKED_0_0.mp4"
----> 8 reader = torchvision.io.VideoReader(video_path, "video")
 9 reader.seek(2.0)
 10 frame = next(reader)

/usr/local/lib/python3.7/dist-packages/torchvision/io/__init__.py in __init__(self, path, stream)
 106 + "to enable video_reader support, please install "
 107 + "ffmpeg (version 4.2 is currently supported) and"
--> 108 + "build torchvision from source."
 109 )
 110 self._c = torch.classes.torchvision.Video(path, stream)

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.

</module>


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


import os 
import torchvision 
from google.colab import drive
drive.mount('/content/gdrive', force_remount=True)

video_path = "/content/drive/MyDrive/Training-Data-Videos/MASKED/00_MASKED_0_0.mp4"
reader = torchvision.io.VideoReader(video_path, "video")
reader.seek(2.0)
frame = next(reader)
print (frame)




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 ?