Recherche avancée

Médias (1)

Mot : - Tags -/artwork

Autres articles (40)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

Sur d’autres sites (8133)

  • What is the minimum buffer size needed to initialize .ts (transport stream) file using FFMPEG

    5 octobre 2011, par user783692

    I can play .ts files using FFMPEG by passing full file. Now I have to play .ts as a buffer. Now I'm reading a ts file say 188*200 means 200 packets. Can anybody tell me what is minimum buffer size or minimum number packets needed to initialize ts playback.

  • Understanding timeout in ffmpeg

    11 janvier 2015, par John

    I want to disable timeout for ffmpeg stream, which I define like this :

    ffmpeg -i /some/movie -timeout -1 http://ip:port

    but after few seconds i see this in the console :

    http://ip:port: Operation timed out

    I read documentation for ffmpeg and found this :

    *timeout
    Set timeout in microseconds of socket I/O operations used by the underlying low level operation. By default it is set to -1, which means that the timeout is not specified.*

    It looks like it is not even specified by default, but it fails and I don’t understand why. it’s critical for me to use especially http protocol. How can I fix this ?

  • Problem with ffmpeg and name change while loading on server

    29 novembre 2020, par Pajtim

    I am testing a code in php / ffmpeg it is watermark. It works very well after uploading the video but the problem is that the video should only be with an "input.mp4" name.

    


    I have set the path where the video should be saved and the name of each video is changed move_uploaded_file($_FILES["video"]["tmp_name"], "./" . ('input.mp4')); after it is uploaded to "input.mp4" but even this did not solve the problem.

    


    So it only works when you upload the video from the beginning named input.mp4.

    


    Is there an option ffmpeg to accept each name as input when uploading video with another name ?

    


    

    

    <form action="video.php" method="post" enctype="multipart/form-data">&#xA;         <div class="form-group">&#xA;                    <label>Select video</label>&#xA;                    <input type="file" class="form-control" />&#xA;                </div>&#xA; &#xA;                &#xA;                <input type="submit" class="btn btn-primary" value="submit" />&#xA;        </form>

    &#xD;&#xA;

    &#xD;&#xA;

    &#xD;&#xA;&#xA;

    $video = $_FILES["video"]["name"];&#xA;$image = $_FILES["image"]["name"];&#xA;move_uploaded_file($_FILES["video"]["tmp_name"], "./" . (&#x27;input.mp4&#x27;));&#xA;&#xA;// then you have to resize the selected image to lower resolution&#xA;$command = "/usr/local/bin/ffmpeg -i " . $image . " -s 128x128 output.jpeg";&#xA; &#xA;// execute that command&#xA;system($command);&#xA; &#xA;// both input files has been selected&#xA;$command = "/usr/local/bin/ffmpeg -i " . $video . " -i output.jpeg";&#xA; &#xA;// now apply the filter to select both files&#xA;// it must enclose in double quotes&#xA;// [0:v] means first input which is video&#xA;// [1:v] means second input which is resized image&#xA;$command .= " -filter_complex \"[0:v][1:v]";&#xA; &#xA;// now we need to tell the position of overlay in video&#xA;$command .= " overlay=80:50\""; // closing double quotes&#xA; &#xA;// save in a separate output file&#xA;$command .= " -c:a copy output.mp4";&#xA; &#xA;// execute the command&#xA;system($command);&#xA;&#xA;echo &#x27;<a href="http://stackoverflow.com/input.mp4" download="download">Download</a>&#x27;;&#xA;

    &#xA;