Recherche avancée

Médias (0)

Mot : - Tags -/configuration

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

Autres articles (52)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

Sur d’autres sites (8964)

  • Using ffmpeg to merge two audio file and one video file with control volume ?

    23 juin 2021, par mdtuyen

    I want to use ffmpeg to merge 2 audio files with one video file to create one video file, but in audio file I want to control the volume level of each file.

    



    What should I do ?

    



    ffmpeg -i video.mp4 -i input1.mp3 -i input2.mp3
-filter_complex "[1]volume=0.5,pan=2c[a];[2]volume=0.7,pan=2c[b];[a][b]amix=duration=shortest"
-ac 2 -c:a libmp3lame -q:v 0 output.mp4


    


  • Output file not specified [closed]

    16 mai 2024, par Rich Madrid

    I have been messing around with ffmpeg working on basic mkv to mp4 conversions the last couple of days on my Mac and Windows computers. Mac was easier buy my windows desktop has a much faster OS so I wanted to do some conversions on it tonight. Got ffmpeg installed and working.

    


    After having some issues with the command prompt not finding the directory, I solved that with the following basic code to convert an mkv file to an mp4 for me :

    


    ffmpeg -i "C:\Users\Computer\videos\decade.mkv" "C:\Users\Computer\Videos\RJ videos\Complete\decade.mp4"


    


    I moved on to wanting to scale up an mkv to 1080p and use a yadif filter. I couldn’t find an adequate way to do this so I used a portion of the command that worked on my Mac last night, and stuffed it into the command for windows and I got an error code “at least one output file must be specified” after using the following command :

    


    ffmpeg -i "C:\Users\Computer\videos\decade.mkv" -vf "yadif=1,scale=1440x1080:flags=lanczos,setsar=1" -c:v libx264 -crf 21
-c:a aac -b:a 128k -ar 48k "C:\Users\Computer\Videos\RJ videos\Complete\decade.mp4"


    


    What am I doing wrong ?

    


  • Converting a PCM file from Discord.js call to MP3 or WAV using ffmpeg in Node.js causes file deletion without saving it. How can I solve this issue ?

    28 mai 2023, par ItsChriss

    I am trying to convert a pcm file, which I get from a discord call into a mp3 or wav file.
I saw a example with ffmpeg :

    


    const ffmpeg = require('ffmpeg');

try {
  var process = new ffmpeg('path/to/pcm/file');
  process.then(function (audio) {
    audio.fnExtractSoundToMP3('path/to/new/file.mp3', function (error, file) {
      if (!error) console.log('Audio File: ' + file);
    });
  }, function (err) {
    console.log('Error: ' + err);      
  });
} catch (e) {
  console.log(e);
}


    


    But it's not saving or creating the file, it just deletes it without an error message. how can I fixx this ?

    


    I tried multiple methodes with other ffmpeg modules like "fluent-ffmpeg" but it didn't work eiter.

    


    This is the code I am using to get the PCM data :

    


    const reciever = connection.receiver.subscribe(message.author.id,
{             
  mode: "pcm",
  end: {                 
    behavior: EndBehaviorType.AfterSilence,                 
    duration: 1000             
  }         
})