Recherche avancée

Médias (1)

Mot : - Tags -/biomaping

Autres articles (82)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie 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, par

    Par 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, par

    Unlike 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 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;

  • Convert MP4 Version - FFmpeg

    17 mai 2017, par Luzwitz

    I have two mp4 File :

    1. out.mp4 : ISO Media, MP4 Base Media v1 [IS0 14496-12:2003]
    2. video/rio2016/finale/brasse/200.mp4 : ISO Media, MP4 v2 [ISO 14496-14]

    How can I convert 1 to 2 (mp41 to mp42) ?

    Thanks !