Recherche avancée

Médias (91)

Autres articles (78)

  • 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 (9302)

  • ffmpeg code not working aws lambda environment

    5 janvier 2021, par Akash Das

    I followed this article and deployed the Lambda functions and layers and set it up all fine.

    


    But I am facing a problem when I try converting the mp4 video into a 720p video, the ffmpeg commands that work in my Ubuntu 20.04 are not working in the Lambda and gives me error in the form of 0kb files in the destination folder.

    


    Can someone explain why this is happening ? The command that I used was :

    


    ffmpeg -i input.mp4 -s 1280x720 -c:a copy output.mp4


    


    I use this command in the Python file

    


    ffmpeg_cmd = "/opt/bin/ffmpeg -i \"" + s3_source_signed_url + "\" -f mp4 -s 1280x720 -c:a copy -" ___ . 


    


    This is the error I get :

    


    Errror

    


    The problem is that I used a code like this to get only the audio

    


    ffmpeg_cmd = "/opt/bin/ffmpeg -i \"" + s3_source_signed_url + "\" -f mp3 -ab 192000 -vn  -" ___ . 


    


    And it works as expected.

    


  • How do I get event emitter based code to wait in nodejs ?

    29 mars 2019, par DigitalDisaster

    I may be asking the question wrong because I don’t have a lot of experience with this. Basically, I have this code :

    videoshow(images, videoOptions)
     .audio('song.mp3')
     .save('video.mp4')
     .on('start', function (command) {
       console.log('ffmpeg process started:', command)
     })
     .on('error', function (err, stdout, stderr) {
       console.error('Error:', err)
       console.error('ffmpeg stderr:', stderr)
     })
     .on('end', function (output) {
       console.error('Video created in:', output)
     })

    from this library

    It runs async as far as I understand, but I can’t get it to wait even when I add await before it.

    I want the block of code to stop until the end has finished and the image has been converted to a vide. I don’t see any examples, and I’m not sure what I’m doing wrong.

  • FFmpeg error code 254

    17 septembre 2013, par Akerus

    I try to get file informations via ffprobe in a java-application.

    I am using the following command :

    /usr/bin/ffprobe -v quiet -print_format json -show_format -show_streams TESTVIDEOPATH

    Running that command in bash, it works like a charm : It returns the JSON-String and error code is "0".
    Running that command in Java results in error code "254" and result is :

    \n\n

    When I modify the command, so that ffprobe accepts a stream as input :

    /usr/bin/ffprobe -v quiet -i - -print_format json -show_format -show_streams

    it works in both bash and Java.

    In Java the following is used :

    ProcessBuilder processBuilder = new ProcessBuilder(command.split(" "));
    this.process = processBuilder.start();
    this.process.waitFor();
    int exitCode = this.process.exitValue();
    this.outputOfProcess = this.process.getInputStream();

    Can anyone tell me what the error code 254 means ? I couldn't find anything about it.

    Edit : ffmpeg version 0.10.7-6:0.10.7-0jon1 quantal is used