
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (82)
-
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...) -
Gestion des droits de création et d’édition des objets
8 février 2011, parPar défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;
-
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
Sur d’autres sites (7033)
-
I can't get bitmap from Process StandardOutput pipe ffmpeg
7 juin 2018, par Srdjan M.Following article Read and Write Video Frames Using FFMPEG, I am trying to extract and process all frames from a video. The problem is that I don’t get exact same bytes in
buffer
and sample image.string Arguments = string.Format(@"-i {0} -f image2pipe -pix_fmt bgr24 -vcodec rawvideo pipe:", "output.mp4");
using (Process process = new Process())
{
process.StartInfo.CreateNoWindow = false;
process.StartInfo.UseShellExecute = false;
process.StartInfo.RedirectStandardOutput = true;
process.StartInfo.FileName = "ffmpeg.exe";
process.StartInfo.Arguments = Arguments;
process.Start();
char[] buffer = new char[854 * 480 * 3];
using (StreamReader reader = process.StandardOutput)
{
while (!reader.EndOfStream)
{
reader.Read(buffer, 0, buffer.Length);
}
}
process.WaitForExit();
} -
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 ?


-
Convert MP4 Version - FFmpeg
17 mai 2017, par LuzwitzI have two mp4 File :
- out.mp4 : ISO Media, MP4 Base Media v1 [IS0 14496-12:2003]
- video/rio2016/finale/brasse/200.mp4 : ISO Media, MP4 v2 [ISO 14496-14]
How can I convert 1 to 2 (mp41 to mp42) ?
Thanks !