Salut,
j'utilise ffmpeg ( avec c#) pour générer les thumbnail des video. et lorsque j'utilise le chemin complet ça fonctionne pas.
voici mon code :
lorsque je remplace le chemin http://pc-server:1111/Lists/Videothe.../4/voiture.wmv avec un chemin c:\video.wmv ça fonctionne. quelqu'un a une idée?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15 Process proc = new Process(); proc.StartInfo.FileName = "C:\\ffmpeg-0.5\\ffmpeg.exe"; proc.StartInfo.Arguments = "-i http://pc-server:1111/Lists/Videotheque/Attachments/4/voiture.wmv -vframes 1 -ss 00:00:07 -s 150x150 c:\\testt.jpg"; proc.StartInfo.UseShellExecute = false; proc.StartInfo.CreateNoWindow = false; try { proc.Start(); } catch (Exception err) { Response.Write(err.Message); } proc.WaitForExit(); proc.Close();
merci







Répondre avec citation



Partager