Recherche avancée

Médias (1)

Mot : - Tags -/musée

Autres articles (81)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

Sur d’autres sites (7267)

  • using ffmpeg in asp.net razor (C#)

    18 avril 2014, par user3549636

    I know questions like this are all over the internet but I believe my case is different, I have a ASP.NET Webpage (Razor C#) and I have a whole video sharing website ready BUT I still don't understand, How can I convert videos to mp4 and webm using ffmpeg on the upload page and instead of having the original saved and added to the database i want the converted version added. heres my upload page code :

       @{
    WebSecurity.RequireAuthenticatedUser();
    var db = Database.Open("PhotoGallery");
    var fileName = "";
    var uploader = WebSecurity.CurrentUserId;
    var date = DateTime.Now.Date;
    var extention = "";
    if(IsPost){
    var numFiles = Request.Files.Count;
    if(numFiles <= 0){
        ModelState.AddError("fileUpload", "Please specify at least one photo to upload.");
    }
    else{
        var fileSavePath = "";
           var uploadedFile = Request.Files[0];
       fileName = Path.GetFileNameWithoutExtension(uploadedFile.FileName).Trim();
       extention = Path.GetExtension(uploadedFile.FileName).Trim();
       string ndom = Path.GetRandomFileName();
       var none = ndom.Remove(ndom.Length - 4);
       fileSavePath = Server.MapPath("~/Images/userpics/" +
         none + extention);
       uploadedFile.SaveAs(fileSavePath);
       var insertCommand = "INSERT INTO Videos (FileTitle, UploadDate, UserId, ext, Name) Values(@0, @1, @2, @3, @4)";
        db.Execute(insertCommand, fileName, date, uploader, extention, none + extention);
        Response.Redirect(Href("~/Photo/View", db.GetLastInsertId()));
        }
       }
       }
    <h1>Upload Video</h1>

    <form method="post" enctype="multipart/form-data">
    @Html.ValidationSummary("Unable to upload:")
    <fieldset class="no-legend">
       <legend>Upload Photo</legend>
       @FileUpload.GetHtml(addText: "Add more files", uploadText: "Upload", includeFormTag: false)
       <p class="form-actions">
           <input type="submit" value="Upload" title="Upload photo" />
       </p>
    </fieldset>
    </form>

    <p class="message info">
    The maximum file size is 50MB.
    </p>
  • movenc : Allow override of major brand in ftyp atom

    18 mars 2014, par John Stebbins
    movenc : Allow override of major brand in ftyp atom
    

    Signed-off-by : Tim Walker <tdskywalker@gmail.com>

    • [DH] libavformat/movenc.c
    • [DH] libavformat/movenc.h
  • movenc : Allow override of major brand in ftyp atom

    18 mars 2014, par John Stebbins
    movenc : Allow override of major brand in ftyp atom
    

    Signed-off-by : Tim Walker <tdskywalker@gmail.com>

    • [DBH] libavformat/movenc.c
    • [DBH] libavformat/movenc.h