Recherche avancée

Médias (91)

Autres articles (75)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

Sur d’autres sites (7935)

  • php shell_exec() command pop out error and permission denied ffmpeg

    19 octobre 2016, par user3711175

    This is the main index.php file where I run my code to generate a video thumbnail with ffmpeg but it has no lucks at all I have been searching online for a lot of solution but nothing comes out i will be very appreciate if you guys can help me out. The shell_exec() keep giving me error

    <form action="index.php" method="POST" enctype="multipart/form-data">
    <input type="file" /><input type="submit" value="upload" />

    </form>

    &lt;?php

    if(isset($_POST['submit'])){


    $ffmpeg = "/Users/mac/Documents/ffmpeg/3.1.4/bin/ffmpeg";
    $videoFile = $_FILES["file"]["tmp_name"];
    $imageFile = "1.jpg";
    $size = "320x240";
    $getFromSecond = 5;
    $cmd = "$ffmpeg -i $videoFile -an -ss $getFromSecond -s $size $imageFile 2>&amp;1";

       echo shell_exec($cmd);


    echo shell_exec('whoami');
    if(!shell_exec($cmd)){


       echo "thumbnail created";
    }else{
       echo "error creating thumbnail";
    }






    }

    ?>
  • Using ffmpeg to build a streaming server to stream static media files (broadcast behaviour)

    15 février 2018, par MiDaa

    I’ve read some online articles and SO questions, most of them are about streaming MY video to SERVER like youtube or switch.

    This is about a project of interest, here are what it should do.

    • Work on a Linux server
    • Serve media(preferably multiple format like mp4 mkv) files to client through rtp protocol maybe ?
    • Server could set a specific time to start the streaming or end it
    • Server could pause and resume the streaming(?)
    • Multiple clients connect and play the stream at same time(sounds like a basic feature)

    After some research, I found that ffmpeg is a great open-source candidate for such a project but as a newbie in this area, I’m having a tough time understanding how this whole thing work.

    As this(ffmpeg doc) states, it looks like just a one liner command. But I don’t find anything fit my feature listed above.

    Can ffmpeg be used to achieve those ? If not appriciate any suggesstion on where I should be looking at.

    EDIT :

    • Target devices : iPad,iPhone, Android phones should be able to watch the stream using a web browser(assume a modern browser)
  • TypeError : Cannot read property 'url' of undefined - ws

    28 juillet 2021, par Bawantha Rathnayaka

    I am trying to get URL starts with '/rtmp/', and extract the target RTMP URL.

    &#xA;

    Uncaught TypeError : Cannot read property 'url' of undefined

    &#xA;

    this is my server.js

    &#xA;

      let match&#xA;  if (!(match = req.url.match(/^\/rtmp\/(.*)$/))) {&#xA;    ws.terminate() // No match, reject the connection.&#xA;    return&#xA;  }&#xA;&#xA;  &#xA;

    &#xA;