
Recherche avancée
Médias (1)
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 mai 2011
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (50)
-
Les formats acceptés
28 janvier 2010, parLes 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 (...) -
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 (...) -
Utilisation et configuration du script
19 janvier 2011, parInformations spécifiques à la distribution Debian
Si vous utilisez cette distribution, vous devrez activer les dépôts "debian-multimedia" comme expliqué ici :
Depuis la version 0.3.1 du script, le dépôt peut être automatiquement activé à la suite d’une question.
Récupération du script
Le script d’installation peut être récupéré de deux manières différentes.
Via svn en utilisant la commande pour récupérer le code source à jour :
svn co (...)
Sur d’autres sites (5544)
-
Appending two audiofiles React Native
21 octobre 2020, par R. AdangI want to combine to wav files into one file. So file1 + file2 = file3.
I am currently looking into ffmpeg, but when I try to use concat it only returns a file with the length of the first file. The react native code that I use is :



RNFFmpeg.execute('-i "concat:' + path1 + '|' + pathOutput + '" -acodec copy ' + pathOutput2).then(result => console.log("FFmpeg process exited with rc " + result.rc)); 




Is my command wrong ?



If you have a better solution for this please let me know !


-
finding the bitrate value of mkv file
11 juillet 2022, par davidI am trying to find the bitrate value of a video using
ffprobe
as follows :

ffprobe -i sample_5.mkv -v quiet -show_entries stream=bit_rate -hide_banner -of default=noprint_wrappers=1:nokey=1



but all files have
Mkv
format and this command returnsN/A
. when I useffmpeg -i input.mkv
in the last line of output the bitrate value is shown. I do not know what is the problem. I need to have the bitrate value of each video. Could you please tell me how can I find it in python ? Thank you.

-
Process is not exiting ffmpeg.exe only for the command which detects the silences from a video
20 juillet 2015, par Jitender KumarThe job of the method
ExecuteCommandSync
is to detect the silences from a video and return the output as string but when I run this code it never bring the value ofproc.HasExited
astrue
. If I forcefully drag the debugger to the lineresult =proc.StandardOutput.ReadToEnd()
then it never exit the
ffmpeg.exe
so as a result control never returns back.Although the same method is working fine for a different command like creating an audio file from a video. In this case
proc.HasExited
also returns false but it also generates the audio file successfully.public static string ExecuteCommandSync(string fileName, int timeoutMilliseconds)
{
string result = String.Empty;
string workingDirectory = Directory.GetCurrentDirectory();
try
{
string command = string.Format("ffmpeg -i {0} -af silencedetect=noise=-20dB:d=0.2 -f null -", "\"" + fileName + "\"");
System.Diagnostics.ProcessStartInfo procStartInfo =
new System.Diagnostics.ProcessStartInfo("cmd", "/c " + command);
procStartInfo.WorkingDirectory = workingDirectory;
procStartInfo.RedirectStandardOutput = true;
procStartInfo.RedirectStandardError = true;
procStartInfo.UseShellExecute = false;
procStartInfo.CreateNoWindow = false;
System.Diagnostics.Process proc = new System.Diagnostics.Process();
proc.StartInfo = procStartInfo;
proc.Start();
proc.WaitForExit(timeoutMilliseconds);
// Get the output into a string
if (proc.HasExited)
{
if (!proc.StandardOutput.EndOfStream)
{
result = proc.StandardOutput.ReadToEnd();
}
else if (!proc.StandardError.EndOfStream)
{
result = "Error:: " + proc.StandardError.ReadToEnd();
}
}
}
catch (Exception)
{
throw;
}
return result;
}So please advice.