
Recherche avancée
Médias (1)
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (58)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (10210)
-
C# redirect ffmpeg output to textbox in realtime
21 mars 2018, par adrifcastrSo I’ve been reading a lot through stackoverflow, and I found a lot of questions trying to deal with a similar problem as mine, but none of the solutions worked for me. So here is what I have :
I have a WPF GUI application which launches ffmpeg by the following code :
private void convertbutton_Click(object sender, RoutedEventArgs e)
{
string resdir = AppDomain.CurrentDomain.BaseDirectory + "\\res";
Extract("ADC", AppDomain.CurrentDomain.BaseDirectory + "\\res", "res", "ffmpeg.exe");
string ffdir = AppDomain.CurrentDomain.BaseDirectory + "\\res\\ffmpeg.exe";
string arg = @"-progress progresslog.txt -y -activation_bytes ";
string arg1 = @" -i ";
string arg2 = @" -ab 80k -vn ";
string abytes = bytebox.Text;
string arguments = arg + abytes + arg1 + openFileDialog1.FileName + arg2 + saveFileDialog1.FileName;
Process ffm = new Process();
ffm.StartInfo.FileName = ffdir;
ffm.StartInfo.Arguments = arguments;
ffm.StartInfo.CreateNoWindow = true;
ffm.StartInfo.RedirectStandardOutput = true;
ffm.StartInfo.RedirectStandardError = true;
ffm.StartInfo.UseShellExecute = false;
ffm.StartInfo.WorkingDirectory = Directory.GetCurrentDirectory();
ffm.Start();
ffm.WaitForExit();
ffm.Close();
MessageBox.Show("Conversion Complete!");
File.Delete("progresslog.txt");
Directory.Delete(resdir, true);
}So on this application I do also have other processes, which display their output to the textbox after finishing what they are doing, so but since ffmpeg outputs it’s conversion progress in the cmd output, I need to get exactly that being displayed in the textbox in realtime.
And I am pretty sure that ffmpeg outputs into stderr same w/ ffprobe.
I’d appreciate any help, since days of googleing didn’t help me with anything so far.
Thanks in advance. -
Is it possible to use MediaTransportControls with FFmpegInterop in UWP ?
1er janvier 2020, par AgredoIs it possible to use the MediaTransportControls ? Currently getting the error "Could not decode video" using any MediaTransportControl.
XAML
<mediaplayerelement source="{Binding VideoSource}" autoplay="True" aretransportcontrolsenabled="True"></mediaplayerelement>
ViewModel
FileOpenPicker picker = new FileOpenPicker();
picker.FileTypeFilter.Add("*");
var file = await picker.PickSingleFileAsync();
var stream = await file.OpenReadAsync();
var mediaStreamsource = FFmpegInteropMSS.CreateFFmpegInteropMSSFromStream(stream, false, false).GetMediaStreamSource();
VideoSource = MediaSource.CreateFromMediaStreamSource(mediaStreamsource);Thanks
Agredo -
error converting .caf to .mp3 in mvc 4
17 avril 2014, par JenniferI used to convert caf to mp3 using Wscript.shell and ffmpeg.exe when i was using asp.net
but now i'm using a web api restful method in mvc 4, so i don't have a .aspx page
i'm getting the following error :Description:System.Web.HttpException (0x80004005): The component 'Wscript.Shell' cannot be created. Apartment threaded components can only be created on pages with an <%@ Page aspcompat=true %> page directive.
but i don't have an aspx page to add this tag...
the code i was using in aspx is :
Dim wshShell As Object
wshShell = Server.CreateObject("Wscript.Shell")
cmd = "cmd.exe /k """"" & szCAF_PATH & """ -i """ & szPhysicalPath & """ " & Arguments & " """ & szEncodedPath & """"""
wshShell.Run(cmd)
Dim strCommand As String = "taskkill /F /IM cmd.exe"
wshShell.Run(strCommand, 0, True)
szDownloadLink = szDownloadLink.Replace(".caf", ".mp3")and the code in mvc4 is :
wshShell = HttpContext.Current.Server.CreateObject("Wscript.Shell")
cmd = "cmd.exe /k """"" & File.CAF_PATH & """ -i """ & File.PhysicalPath & """ " & File.Arguments & " """ & File.EncodedPath & """"""
wshShell.Run(File.cmd)
strCommand = "taskkill /F /IM cmd.exe"
wshShell.Run(strCommand, 0, True)
File.DownloadLink = File.DownloadLink.Replace(".caf", ".mp3")does anyone know how can i fix this ?