Recherche avancée

Médias (1)

Mot : - Tags -/artwork

Autres articles (29)

  • 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 (...)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

Sur d’autres sites (4950)

  • How to write a unit test class that creates a new process in C#

    12 mars 2023, par IceAge

    I have a question about how to write unit test method that creates a new process.

    


    At the moment I write a normal unit test to create a process, but it's very difficult to setup.

    


    This is my code I want to test.

    


    using System;&#xA;using System.Collections.Generic;&#xA;using System.Diagnostics;&#xA;using System.IO;&#xA;using System.Linq;&#xA;using System.Text;&#xA;using System.Text.RegularExpressions;&#xA;using System.Threading.Tasks;&#xA;&#xA;namespace xxx&#xA;{&#xA;    public class FFmPeg&#xA;    {&#xA;        private Process _process;&#xA;        private string ffmpegPath { get; set; }&#xA;        private Regex _durationRegex;&#xA;&#xA;        public event EventHandler<string> OutputData;&#xA;        public event EventHandler<int> ProgressChange;&#xA;&#xA;        public FFmPeg()&#xA;        {&#xA;            _process = new Process();&#xA;            ffmpegPath = Path.Combine(Directory.GetCurrentDirectory(), "engine", "ffmpeg.exe");&#xA;        }&#xA;&#xA;        public void Run(string Argument)&#xA;        {&#xA;            _process.StartInfo.FileName = ffmpegPath;&#xA;            _process.StartInfo.Arguments = $"{Argument} -y";&#xA;            _process.StartInfo.UseShellExecute = false;&#xA;            _process.StartInfo.RedirectStandardOutput = true;&#xA;            _process.StartInfo.RedirectStandardError = true;&#xA;            _process.StartInfo.StandardOutputEncoding = Encoding.UTF8;&#xA;            _process.StartInfo.CreateNoWindow = true;&#xA;            _process.OutputDataReceived &#x2B;=(o,e) =>&#xA;                     {&#xA;                     };&#xA;            _process.ErrorDataReceived &#x2B;= (o, e) =>&#xA;            {&#xA;                if (string.IsNullOrEmpty(e.Data) == false)&#xA;                {&#xA;                    OnProgressChange(OutputExtractor.GetProgress(e.Data));&#xA;                }//end if.check data is not empty&#xA;            };&#xA;&#xA;            _process.Start();&#xA;            _process.BeginOutputReadLine();&#xA;            _process.BeginErrorReadLine();&#xA;            _process.WaitForExit();&#xA;        } //end method&#xA;&#xA;        protected virtual void OnProgressChange(int progress)&#xA;        {&#xA;            ProgressChange?.Invoke(this,progress);&#xA;        } //end method&#xA;&#xA;        protected virtual void OnOutputData(string data)&#xA;        {&#xA;            OutputData?.Invoke(this, data);&#xA;        }&#xA;    }&#xA;}&#xA;</int></string>

    &#xA;

    Thanks for any helpful answers, and sorry for my English.

    &#xA;

  • Problems about c# uses the VideoWriter class in dynamic link libraries(c++ and opencv) [closed]

    11 mai 2023, par Paul_Dx

    error : (-5:Bad argument) CAP_IMAGES : can't find starting number (in the name of file) : in function 'cv::icvExtractPattern'.

    &#xA;

    I used c++ and opencv to implement the video recording function, and then generated the code to dynamically link libraries for c# to call.But when I run the code, I get an error.

    &#xA;

    I have a general understanding that opencv calls the ffmpeg package(because of the videowriter class), so I import opencv_videoio_ffmpeg470_64.dll into the project.But the problem was not solved.&#xA;enter image description here&#xA;enter image description here&#xA;enter image description here

    &#xA;

  • avformat/options : add missing disposition flag to AVStream class options

    25 octobre 2023, par James Almer
    avformat/options : add missing disposition flag to AVStream class options
    

    Signed-off-by : James Almer <jamrial@gmail.com>

    • [DH] libavformat/options.c
    • [DH] libavformat/version.h