Recherche avancée

Médias (3)

Mot : - Tags -/image

Autres articles (51)

  • Le plugin : Gestion de la mutualisation

    2 mars 2010, par

    Le plugin de Gestion de mutualisation permet de gérer les différents canaux de mediaspip depuis un site maître. Il a pour but de fournir une solution pure SPIP afin de remplacer cette ancienne solution.
    Installation basique
    On installe les fichiers de SPIP sur le serveur.
    On ajoute ensuite le plugin "mutualisation" à la racine du site comme décrit ici.
    On customise le fichier mes_options.php central comme on le souhaite. Voilà pour l’exemple celui de la plateforme mediaspip.net :
    < ?php (...)

  • Utilisation et configuration du script

    19 janvier 2011, par

    Informations spécifiques à la distribution Debian
    Si vous utilisez cette distribution, vous devrez activer les dépôts "debian-multimedia" comme expliqué ici :
    Depuis la version 0.3.1 du script, le dépôt peut être automatiquement activé à la suite d’une question.
    Récupération du script
    Le script d’installation peut être récupéré de deux manières différentes.
    Via svn en utilisant la commande pour récupérer le code source à jour :
    svn co (...)

  • Sélection de projets utilisant MediaSPIP

    29 avril 2011, par

    Les exemples cités ci-dessous sont des éléments représentatifs d’usages spécifiques de MediaSPIP pour certains projets.
    Vous pensez avoir un site "remarquable" réalisé avec MediaSPIP ? Faites le nous savoir ici.
    Ferme MediaSPIP @ Infini
    L’Association Infini développe des activités d’accueil, de point d’accès internet, de formation, de conduite de projets innovants dans le domaine des Technologies de l’Information et de la Communication, et l’hébergement de sites. Elle joue en la matière un rôle unique (...)

Sur d’autres sites (3475)

  • How to crop a video in the shape of a square, but crop the square itself at different positions in the video via ffmpeg ?

    28 juin 2022, par Ilya Pesterev
      &#xA;
    • I have about 100 videos
    • &#xA;

    • All the videos have the same length — 17 seconds.
    • &#xA;

    • In the first part of the video from 0 to 5 seconds I need to crop a square in one position
    • &#xA;

    • In the second part of the video from 5 to 17 seconds I need to crop a square in a different position
    • &#xA;

    &#xA;

    I have attached an image for clarity.

    &#xA;

    How can I automate this process via ffmpeg ?

    &#xA;

    Image for clarification

    &#xA;

  • Shall_exec() is not working in Cent OS 6.5 with php 5.5

    5 décembre 2014, par hitesh

    It is the follow up from the question here. I was not sure if it was good idea to edit that question, So I am asking a new question here

    As explained in my previous question I am using ffmpeg for getting screenshot from video.it seems to working fine in my local but in my Cent OS 6.5 server it is not working, it throws error that
    ffmpeg extension is not enabled.

    "Error in Loading ffmpeg"

    To debug this, I commented the line

     extension_loaded('ffmpeg') or die('Error in loading ffmpeg');

    and I found out that in Cent OS terminal, ffmpeg command were working but if I use it with full path as I am doing in windows it did not work.So i deleted full path and used ffmpeg alone, I am not sure what was the reason behind this.

    Here is my new command

     $cmd = "ffmpeg -i $vid -an -ss $getfromsecond -s $size -vframes 1 $imageFile";
       $cmd2 = "ffmpeg -i $remoteVideo -an -ss $getfromsecond -s $size -vframes 1 $imageFile2 ";
       echo $cmd ."<br />";
       echo $cmd2."<br />";
    exec($cmd, $output, $return);
    echo '$output :' ; print_r($output); echo "<br />";echo '$return' . $return . "<br />";

    if ($return != 0) {
       // an error occurred
       echo "Error in EXEC command ";
    }

    if(!shell_exec($cmd2)){
       echo "Remote video Thumbnail created". "<br />";
    }else{
       echo "Error Creating Remote video thumbnail". "<br />";
    }

    now again it was not working in server, but when I tried both command

    `     echo $cmd ."<br />";

           echo $cmd2."<br />";`

    in dev terminal, it got executed successfully I could see the screenshot.

    So while searching for the problem, I found this question here based on this answer here. I understood that some server may not allow it so I checked it.

    if (isEnabled('shell_exec')) {
       echo "Shell_exec is enabled "."<br />";
       shell_exec('echo "hello world"');
       echo "<br />";
    }else{

       echo "shell exec command is not allowed";
    }

    I got the output "Shell_exec is enabled " but shell_exec('echo "hello world"'); does not seems to work, Also when I run the command directly in terminal it works.

    Help me find the issue here, is it issue with shall_exec() or something else ?

    Any help is appreciated. Thanks

  • Tips for encoding a live stream to IIS Media Services (or Azure Live Media Services) with FFMPEG ?

    6 mars 2014, par user3104748

    We're trying to encode assets, either live or static, in a live stream to IIS Media Services using ffmpeg. Can anyone provide pointers for exactly what kinds of parameters we should be using and setting ?

    As part of our test, just to see if we can get things to work, we have a standard plain-old MP4 video static asset that we're trying to stream to the server. It seems to work on the client side, but when we try to view the video on the receiving end, we get nothing.

    Here's an example of the command we're using, where gg.mp4 is the static MP4 video (obviously (hostname) is the name of our host and not the actual word in parenthesis :)...

    ffmpeg -y -re -i gg.mp4 -movflags isml+frag_keyframe -f ismv -threads 0 -c:a libvo_aacenc -ac 2 -b:a 64k -c:v libx264 -preset fast -profile:v baseline -g 48 -keyint_min 48 -map 0:v -b:v:0 477k -s:v:0 368x152 -map 0:v -b:v:1 331k -s:v:1 288x120 -map 0:v -b:v:2 230k -s:v:2 224x92 -map 0:a:0 http://(hostname)/ingest.isml/Streams(video)