Recherche avancée

Médias (0)

Mot : - Tags -/masques

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (108)

Sur d’autres sites (14342)

  • ERROR : "Cannot Find FFMPEG" on Google Cloud Compute Engine Debian Wheezy 7.8 Managed Instance even though it's installed

    4 octobre 2015, par DynamoBooster

    I wrote a Node.JS application that uses the fluent-ffmpeg module to watermark videos uploaded on the platform. I pushed the code to a my Google Cloud Compute Engine project, and every time I get Error : Cannot Find FFMPEG. I ssh’d into the instance once it was created and ran these commands to install FFMPEG before actually testing out the code. I am not sure what is causing the error because after this I am positive that FFMPEG is installed.

    sudo apt-get update
    sudo apt-get install -y ffmpeg
    export FFMPEG_PATH="/usr/bin/ffmpeg"
    export FFPROBE_PATH="/usr/bin/ffprobe"

    Below is my FFMPEG code

    function generate_thumbnail(name, path){
     logging.info("Generating Thumbnail");
     ffmpeg(path)
      .setFfmpegPath('/usr/bin/ffmpeg')
      .setFfprobePath('/usr/bin/ffprobe')
      .on('end', function() {
           upload_thumbnail(name);
           logging.info("Thumbnail Generated and uploaded");
           return;
       })
     .on('error', function(err, stdout, stderr) {
           logging.info('ERROR: ' + err.message);
           logging.info('STDERR:' + stderr);
     })
     .on('start', function(commandLine) {
          logging.info(commandLine);
     })
     .screenshots({
       count: 1,
       filename: name + '_thumbnail.png',
       folder: 'public/images/thumbnails/'
     });
    }
  • How to set the rotation angle of jpeg with ffmpeg

    20 avril 2022, par Feng Nier

    I have figured out how to get the rotation of the jpeg,

    


    auto m = av_dict_get(frame->metadata, "orientation", nullptr, AV_DICT_IGNORE_SUFFIX); 


    


    but I am not able to set it by ffmpeg.

    


  • lavc/vvc : Fix condition for using default scaling factor

    21 juin, par Frank Plowman
    lavc/vvc : Fix condition for using default scaling factor
    

    Add handling here for
    sps_scaling_matrix_for_alternative_colour_space_disabled_flag.

    Also add parentheses to make behaviour a little more explicit,
    where &&'s precedence over || was relied on previously.

    Reported-by : Michael Niedermayer <michael@niedermayer.cc>
    Signed-off-by : Frank Plowman <post@frankplowman.com>

    • [DH] libavcodec/vvc/intra.c