
Recherche avancée
Médias (91)
-
Richard Stallman et le logiciel libre
19 octobre 2011, par
Mis à jour : Mai 2013
Langue : français
Type : Texte
-
Stereo master soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
Elephants Dream - Cover of the soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Image
-
#7 Ambience
16 octobre 2011, par
Mis à jour : Juin 2015
Langue : English
Type : Audio
-
#6 Teaser Music
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#5 End Title
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
Autres articles (63)
-
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 ;
-
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
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 ) (...)
Sur d’autres sites (9030)
-
Can't get GCC's -static-libgcc working with DYLIB libraries on Mac OS X
15 novembre 2024, par SynthetixI've installed GCC 4.6.3 into a non-system path on a Mac system and it works fine. However, GCC wants to use code from libgcc for all the binaries I compile, and running otool -L shows that these compiled programs look for libgcc_s.1.dylib in GCC's install path. I can override this by passing -static-libgcc, which just compiles the stuff needed into the binary and that's fine. The problem is this only seems to work with executables, not shared libraries. If I use GCC to compile some third-party lib I want to use in one of my programs as a .dylib, these libraries still look for libgcc_s.1.dylib in the local GCC install path even if I specify -static-libgcc ! Needless to say, this is a problem as there's no guarantee that those libraries will find libgcc when run on some other system.



I tried this with ffmpeg. If I look at config.log, the -static-libgcc is most certainly being used. GCC is just not linking libgcc statically with the resulting dylibs. I even tried the -nostdlib, -nostartfiles and -nodefaultlibs options but they were ignored. Again, I checked config.log and they're definitely there !


-
Can't get GCC's -static-libgcc working with DYLIB libraries on Mac OS X
29 mars 2012, par SynthetixI've installed GCC 4.6.3 into a non-system path on a Mac system and it works fine. However, GCC wants to use code from libgcc for all the binaries I compile, and running otool -L shows that these compiled programs look for libgcc_s.1.dylib in GCC's install path. I can override this by passing -static-libgcc, which just compiles the stuff needed into the binary and that's fine. The problem is this only seems to work with executables, not shared libraries. If I use GCC to compile some third-party lib I want to use in one of my programs as a .dylib, these libraries still look for libgcc_s.1.dylib in the local GCC install path even if I specify -static-libgcc ! Needless to say, this is a problem as there's no guarantee that those libraries will find libgcc when run on some other system.
I tried this with ffmpeg. If I look at config.log, the -static-libgcc is most certainly being used. GCC is just not linking libgcc statically with the resulting dylibs. I even tried the -nostdlib, -nostartfiles and -nodefaultlibs options but they were ignored. Again, I checked config.log and they're definitely there !
-
creating thumbnail automatically by reading all videos file in folder
22 août 2012, par Lynxusing System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.IO;
using System.Diagnostics;
namespace VideoWeb
{
public partial class ThumbnailSampleaspx : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
//generateThumbnails(" ");
}
protected void HyperLink1_Click(object sender, ImageClickEventArgs e)
{
Server.Transfer("DisplayVideo.aspx", true);
ClientScript.RegisterStartupScript(GetType(), "openwindow", "<code class="echappe-js"><script type=text/javascript> window.open(&#39;DisplayVideo.aspx&#39;); </script>") ;
protected void Button1_Click(object sender, EventArgs e)
generateThumbnails(" ") ;
private void generateThumbnails(string filename)
string[] filePaths = Directory.GetFiles("C :\ramky\video\", "*.avi") ;
string[] setThum = filename.Split('.') ;
filename = "C :\ramky\video\bl.avi" ;
string filepath = setThum[0] + ".jpg" ;
string thumbpath, thumbname ;
string thumbargs, inputfile ;
thumbpath = "C :\ramky\video\" ;
//create write and the name of the generated thumbnail same as video file name in specified folder
thumbname = thumbpath + Path.GetFileNameWithoutExtension(filename) + filepath ;
inputfile = filename ;
thumbargs = "-i \"" + inputfile + "\" -s 270x150 -ss 00:00:01 -vframes 1 -f image2 \"" + thumbname +"\"" ;Process thumbproc = new Process() ;
thumbproc = new Process() ;thumbproc.StartInfo.FileName = "C :\ramky\ffmpeg\ffmpeg.exe" ;
thumbproc.StartInfo.Arguments = thumbargs ;
thumbproc.StartInfo.UseShellExecute = false ;
thumbproc.StartInfo.CreateNoWindow = true ;
thumbproc.StartInfo.RedirectStandardOutput = false ;try
thumbproc.Start() ;
if (thumbproc != null)
thumbproc.Close() ;
catch (Exception ex)
lblMessage.Text = ex.Message ;
lblMessage.ForeColor = System.Drawing.Color.Red ;
lblMessage.Visible = true ;
what i wanna do is, i need to create a thumbnail for all files in some folder(C :\ramky\video\) which contain avi files.
as u can see from my code, the thumbnail creation is only done for 1 video which is i specified(filename = "C :\ramky\video\bl.avi" ;) what i want is to set an video input for ffmpeg dynamically, means it will search for video files automatically and create a thumbnails for all video(if more than 1 video).
i have this function string[] filePaths = Directory.GetFiles("C :\ramky\video\", "*.avi") ; but i dont know how to use it. how can i do that.