Recherche avancée

Médias (1)

Mot : - Tags -/framasoft

Autres articles (71)

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

Sur d’autres sites (6438)

  • How to process video stream ?

    27 avril 2016, par sharpener

    I would like to ask some experienced multimedia professional how to proceed with following task :

    Given URL provides video stream and we would like to get access to decoded frames (byte stream in memory) in managed Win7+ application (C#). We don’t want to render/present the frames the standard way. The video format is known but not fixed (might get changed between two successive sessions, but we will know the parameters).

    So far, I have found there are several methods and I have build following picture in my mind :

    1. ffmpeg wrapper
      • Pros
        1. Self contained (no dependency to windows technologies)
        2. Powerful
      • Cons
        1. Little more complex to understand
        2. Lot of different wrapping variants (FFmpeg.NET, ffmpeg-sharp, ffmpeg-shard, FFmpeg.AutoGen, ...)
    2. DirectShow wrapper
      • Pros
        1. Widely used/supported technology (variaous filters freely available)
        2. Nice/detailed documentation on MSDN
      • Cons
        1. Quite old
        2. Considered obsolete from the point of author’s view (available only for desktop model on runtime >= Win8)
    3. MediaFoundation wrapper
      • Pros
        1. Theoretical successor of DirectShow, so should be available in the future
      • Cons
        1. Seems to be not as good as DirectShow
        2. Not very popular, limited "community" support
    4. FFmpegInterop wrapper
      • Pros
        1. Microsoft’s open source wrapper alternative
      • Cons
        1. Not available for runtime < Win8
  • Xamarin Mac FFmpeg launch path not accessible

    25 mars 2024, par Tecnopresley

    I have a Xamarin Forms project with Mac support and I am trying to implement FFmpeg, so I have downloaded the Static build from its official page and added it as in the resources folder of the Mac project with the build action in Content, then I have created a service that will basically remove the audio from a video that I indicate in a path with a FFmpeg command, to do the service I have based on the following answer and I have adapted it to C # :&#xA;https://stackoverflow.com/a/37422688/8496520

    &#xA;

    The problem is that when I try to execute the command I get the following error :

    &#xA;

    "NSInvalidArgumentException: launch path not accessible"&#xA;

    &#xA;

    And I can't find out why this happens, I use the following code in the service (The error occurs when calling the Launch () method of the NSTask) :

    &#xA;

    public void ExecuteFFmpeg()&#xA;{&#xA;    try&#xA;    {&#xA;        var launchPath = NSBundle.MainBundle.PathForResource("ffmpeg", ofType: "");&#xA;        var compressTask = new NSTask();&#xA;        compressTask.LaunchPath = launchPath;&#xA;        compressTask.Arguments = new string[] {&#xA;            "-i",&#xA;            "downloads/test.mp4",&#xA;            "-c",&#xA;            "copy",&#xA;            "-an",&#xA;            "nosound.mp4" };&#xA;        compressTask.StandardInput = NSFileHandle.FromNullDevice();&#xA;        compressTask.Launch();&#xA;        compressTask.WaitUntilExit();&#xA;    }&#xA;    catch (Exception ex)&#xA;    {&#xA;&#xA;    }&#xA;

    &#xA;

  • Adding DRM to existing HLS

    16 janvier 2023, par dkasipovic

    For the project I am currently working on, I have an encoding server that converts mp4 files into HLS playlists using ffmpeg. Segments and m3u8 files are then copied to a storage server and served over nginx with load balancing, on demand.

    &#xA;

    Requirement put in front of me is to implement screenshot protection. Googling around, as one does, I found out that it is actually possible if I add DRM protection to my video content.

    &#xA;

    However, what I was unable to find out myself is how :

    &#xA;

      &#xA;
    1. Is DRM something that I can do on my own or do I need to buy DRM keys somewhere ? Is third party DRM provider a requirement or just makes things easier ?

      &#xA;

    2. &#xA;

    3. Can I add DRM protection to already created HLS playlists ? Or will I need to re-encode everything ? I found few tutorials using bento4 with DRM but they are mostly done by DRM providers so they explain how to integrate DRM with their service. Can I run DRM using my infrastructure and keys, without third party service ? Should I ?

      &#xA;

    4. &#xA;

    &#xA;

    If someone can point me in the right direction, it would be most beneficial. For example how to convert simple mp4 file into hls that when played in Safari on iOS cannot be screenshot.

    &#xA;

    Thank you

    &#xA;