
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (111)
-
Les vidéos
21 avril 2011, parComme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...) -
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Possibilité de déploiement en ferme
12 avril 2011, parMediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...)
Sur d’autres sites (11541)
-
Resize wma audio files using ffmpeg
24 juin 2016, par Jinto JohnWhile I am trying to convert wav file to wma file ,File size is becomes double from original source file, Is there any way to reduce file size of target file.
and my code is. I use FFmpeg.exe-Its a Executable file and I am saved FFmpeg.exe in my bin folder.public void ConvertToWAV()
{
DataTable dtNew = new DataTable();
dtNew.Columns.Add("File");
dtNew.Columns.Add("Status");
DataRow drow = dtNew.NewRow();
int i = 0;
try
{
string tempFilePath = string.Empty;
string tempWMAFilePath = string.Empty;
string FileName1 = string.Empty;
string tempFilePathMp3 = string.Empty;
string DestinationPath = string.Empty;
string[] Filename = null;
string DestiFilename1 = null;
string[] DestiFilename = null;
string[] Destination = null;
long FileSizeMp3 = 0;
FileName1 = @"D:\wma\"+"45550_AnRepository"+".wma";
DestiFilename1 = @"D:\WMAConvert\" + "45550_AnRepository" + ".wav";
FileName1 = FileName1.Replace(@"\", "/");
Filename = FileName1.Split('/');
DestiFilename1 = DestiFilename1.Replace(@"\", "/");
DestiFilename = DestiFilename1.Split('/');
if (Filename.Length == 3)
{
if (Filename[2] != null)
{
tempFilePath = @"D:\wma\" + Filename[2].ToString();
tempFilePath = tempFilePath.Replace("/", @"\");
tempWMAFilePath = @"D:\WMAConvert\" + DestiFilename[2].ToString();
tempWMAFilePath = tempWMAFilePath.Replace("/", @"\");
string audioType = "wav";
if (File.Exists(tempFilePath))
{
if (audioType.ToLower().Contains("wav"))
{
try
{
//using (MemoryStream wav = new MemoryStream(fileData))
//{
tempFilePathMp3 = tempFilePath;
tempFilePathMp3 = tempFilePathMp3.Replace(@"\", "/");
Destination = tempFilePathMp3.Split('/');
tempFilePathMp3 = tempFilePathMp3.Replace("/", @"\");
tempFilePathMp3 = tempFilePathMp3.Replace(".wma", "");
DestinationPath = "D:\\WMAConvert\\" + Destination[2];
tempFilePathMp3 = "D:\\WMAConvert\\" + Destination[2];
if (!Directory.Exists(DestinationPath))
{
// Try to create the directory.
DirectoryInfo di = Directory.CreateDirectory(DestinationPath);
}
tempFilePathMp3 = tempFilePathMp3.Replace(".wma", "");
if (!File.Exists(tempFilePathMp3 + ".wav"))
{
Process p = new Process();
p.StartInfo.WorkingDirectory = AppDomain.CurrentDomain.BaseDirectory;
p.StartInfo.FileName = AppDomain.CurrentDomain.BaseDirectory + "\\ffmpeg.exe";
p.StartInfo.CreateNoWindow = true;
p.StartInfo.WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden;
p.StartInfo.Arguments = "-i " + tempFilePath + " -q:a 0 \"" + tempFilePathMp3 + ".wav\"";
p.Start();
p.WaitForExit();
p.Close();
}
if (File.Exists(tempFilePathMp3 + ".wav"))
{
// tempWMAFilePath = tempFilePathMp3 + ".wav";
tempFilePathMp3 = @"D:\CallRecording\" + "45550_AnRepository" + ".wma";
Process p2 = new Process();
p2.StartInfo.WorkingDirectory = AppDomain.CurrentDomain.BaseDirectory;
p2.StartInfo.FileName = AppDomain.CurrentDomain.BaseDirectory + "\\ffmpeg.exe";
p2.StartInfo.CreateNoWindow = true;
p2.StartInfo.WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden;
// ffmpeg -i recording.wav -acodec copy newrecording.wma
p2.StartInfo.Arguments = "-i " + tempWMAFilePath + " -acodec copy \"" + tempFilePathMp3;
p2.Start();
p2.WaitForExit();
p2.Close();
}
}
catch (Exception ex)
{
//We couldn't convert the file, continue with the original file.
}
}
}
}
}
}
catch (Exception ex)
{
}
//dgList.Refresh();
} -
doxy : Fix link in badge color
16 décembre 2013, par Luca Barbato -
Detection of virtual background on video using ffmpeg
28 juillet 2021, par Marcos GI am trying with ffmpeg to detect the use of a virtual background on a video, like the ones used in Google Meet. I got some ideas, but none seem to work :


- 

- Egde color : When using a chroma key you can get shades of green/blue on the outline of the subject. This is called spill, and can be detectable, but gets discarded by the fact that you dont need a chroma key to fake a background (example : Google Meet).
- Still image : Most of virtual backgrounds are a still image pasted behind the subject. The problem with detecting this is that most of the real backgrounds also are like still images, without much movement.
- Blur : When faking a background without a chroma key the outline of the subject becomes very blurry (this is more noticeable when the subject moves), but I can't find a way to detect it using ffmpeg.








How can I do this ? I'm open to trying other tecniques such as AI.


Thanks in advance.