Recherche avancée

Médias (91)

Autres articles (94)

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • L’agrémenter visuellement

    10 avril 2011

    MediaSPIP est basé sur un système de thèmes et de squelettes. Les squelettes définissent le placement des informations dans la page, définissant un usage spécifique de la plateforme, et les thèmes l’habillage graphique général.
    Chacun peut proposer un nouveau thème graphique ou un squelette et le mettre à disposition de la communauté.

Sur d’autres sites (10752)

  • Playing a video with FFMPEG & OpenTK

    22 août 2017, par bwoogie

    My goal is to play a video using FFMPEG (Accord.net), grabbing each frame and drawing it with OpenGL (OpenTK). This is my first time using OpenTK and Accord.net so naturally, I’m not getting the desired results, instead I’m getting a blank screen. What am I missing ?

    sealed class Output : GameWindow {

       VideoFileReader videoreader = new VideoFileReader();
       Bitmap vidbmp;
       long curFrame = 0;
       public Output(int width, int height, DisplayIndex displayIndex) : base(width, height, GraphicsMode.Default, "Output", GameWindowFlags.Fullscreen, DisplayDevice.GetDisplay(displayIndex), 3, 0, GraphicsContextFlags.ForwardCompatible) { }

       protected override void OnLoad(EventArgs e) {
           //load video
           videoreader.Open(@"C:\notelady.mp4");
       }

       protected override void OnResize(EventArgs e) {
           GL.Viewport(0, 0, Width, Height);
       }

       protected override void OnUpdateFrame(FrameEventArgs e) {
           if(curFrame < videoreader.FrameCount) {
               vidbmp = videoreader.ReadVideoFrame();
               curFrame++;
           }
       }

       protected override void OnRenderFrame(FrameEventArgs e) {
           GL.ClearColor(Color4.Purple);
           GL.Clear(ClearBufferMask.ColorBufferBit | ClearBufferMask.DepthBufferBit);

           BitmapData data = vidbmp.LockBits(new Rectangle(0, 0, vidbmp.Width, vidbmp.Height), ImageLockMode.ReadOnly, System.Drawing.Imaging.PixelFormat.Format32bppArgb);
           GL.TexImage2D(TextureTarget.Texture2D, 0, PixelInternalFormat.Rgba, data.Width, data.Height, 0, OpenTK.Graphics.OpenGL.PixelFormat.Bgra, PixelType.UnsignedByte, data.Scan0);
           vidbmp.UnlockBits(data);
           vidbmp.Dispose();

           SwapBuffers();

       }
    }
  • ClickOnce include imported .targets when publishing (FFMPEG)

    1er août 2017, par Bonnotbh

    I have a WinForms application which I am publishing via ClickOnce. This applciation includes the Accord FFMPEG libraries, which are included as references.

    The FFMPEG NuGet package folder includes a .targets file, which includes a variety of dlls needed for proper operation of the FFMPEG library (avcodec.dll, avformat.dll, avutil.dll). These are copied to the \bin folder when building the project. This is done by including this line in the .csproj :

    Import Project="..\packages\Accord.Video.FFMPEG.3.3.0\build\Accord.Video.FFMPEG.targets" Condition="Exists('..\packages\Accord.Video.FFMPEG.3.3.0\build\Accord.Video.FFMPEG.targets')"

    However when publishing the application via ClickOnce, these files are not included in the published folder. Is there a way to run the Import Project task and add the files into the published folder ?

  • Evolution #4148 : Augmenter la largeur de l’espace privé

    9 juin 2018, par RastaPopoulos ♥

    b_b tes remarques je suis d’accord, il y a une ambivalence : ça ajoute des choses bien et ça peut ajouter quelques problèmes MAIS justement, quand on fait la balance, la quantité de choses que ça améliore est à mon avis nettement supérieure aux quelques soucis que ça causeraient.

    Le menu ne me parait pas bizarre (et des plugins pourraient rajouter des entrées principales, c’est le cas pour Développement, mais il pourrait y avoir Commerce ou autre), et pour l’édition : c’est toujours mieux qu’une colonne ridicule de quelques pixels de large. À la limite, au file du temps on peut même imaginer agrandir la taille de police enfin, maintenant qu’on sait qu’on aura de la place.