Recherche avancée

Médias (91)

Autres articles (88)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

Sur d’autres sites (11957)

  • 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 # :
https://stackoverflow.com/a/37422688/8496520

    


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

    


    "NSInvalidArgumentException: launch path not accessible"


    


    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) :

    


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

    }


    


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

    


    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.

    


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

    


      

    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 ?

      


    2. 


    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 ?

      


    4. 


    


    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.

    


    Thank you

    


  • Generate EPG (Electronic Program Guide) with FFMPEG re-stream

    17 juin 2020, par Airat Galiullin

    I'll try to describe a situation :
I have Ubuntu server with installed ffmpeg and a streaming service that is creating HLS.

    



    That streaming service for generating HLS need RTMP stream which is generated by ffmpeg from local files in VOD on this server (files are mp4 format).

    



    I need to generate EPG on ffmpeg rtmp re-streaming step. Is it possible or may be other good solution for my situation ?

    



    RTSP generation SH :

    



    while true;
 do
  for file in $(ls -1);
   do
    ffmpeg -re -i "$file" -vcodec copy -bsf:v h264_mp4toannexb -acodec copy -f flv rtmp://localhost/path/for/channel
   done
 done