
Recherche avancée
Autres articles (41)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne 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 (...) -
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)
Sur d’autres sites (5519)
-
Output file not specified [closed]
16 mai 2024, par Rich MadridI 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 ItsChrissI 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 
 } 
})



-
ffmpeg mutliple file convert with error log file
27 mars 2015, par ketanI am using ffmpeg for converting file from MKV to MP4.
There is multiple video files like hundreds of files.I am using following command to convert file. I am using windows command line(cmd).
ffmpeg -y -i "mkvfilename.mkv" -vcodec copy -acodec copy "mp4filename.mp4"
It convert fine, But it become headache to convert hundred of files one by one.
So, i like to create script for converting multiple file one by one.But there is some issue that there is some file are corrupted/damaged which are not converting. So, i need file name with path of that no converted Or error file.
Is it possible in ffmpeg to get error file name which are not converted.
Thanks,