compresser ou conevertir des fichier WAV
bonjour,
je sauvegarde des fichier wav avec ça :
Code:
1 2 3 4 5 6 7 8 9 10 11
|
foreach (string inputTagName in Request.Files)
{
HttpPostedFileBase file = Request.Files[inputTagName];
if (file.ContentLength > 0)
{
string filePath = Path.Combine(HttpContext.Server.MapPath("../Uploads"), Path.GetFileName(file.FileName));
file.SaveAs(filePath);
string path_ = HttpContext.Server.MapPath("../Uploads" + Path.GetFileName(file.FileName));
} |
sauf que ces fichier ont une grande taille :s,
je veux savoir quoi ajouter dans ce code pour compresser ou convertir vers mp3 si c'est faisebale .
merci