Recherche avancée

Médias (91)

Autres articles (75)

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

Sur d’autres sites (6559)

  • 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

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