Recherche avancée

Médias (1)

Mot : - Tags -/biomaping

Autres articles (79)

  • 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" (...)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

Sur d’autres sites (4602)

  • Anomalie #4449 (Nouveau) : Taille d’image erronné des logos si un redimensionnement de l’image

    25 février 2020

    Pour le contexte, le problème est signalé là https://github.com/marcimat/bigup/issues/9 mais ne provient pas de Bigup.

    Pour reproduire :

    - définir dans mes_options.php les constantes :

    1. <span class="CodeRay"><span class="predefined">define</span>(<span class="string"><span class="delimiter">'</span><span class="content">_IMG_MAX_WIDTH</span><span class="delimiter">'</span></span>, <span class="integer">3000</span>);
    2. <span class="predefined">define</span>(<span class="string"><span class="delimiter">'</span><span class="content">_IMG_MAX_HEIGHT</span><span class="delimiter">'</span></span>, <span class="integer">1000</span>);
    3. </span>

    Télécharger

    - ajouter un plus grand logo (en SPIP 3.3+) sur un élément, par exemple un article
    - l’aperçu au retour retourne une image erronée, avec les dimensions de l’images d’origine (alors que l’image a réellement été redimensionnée sur le disque)
    - au rechargement la taille est affichée correctement, mais la miniature est toujours incorrecte

    Suppositions

    Il semblerait que les filtres largeur() et hauteur() utilisés par image_reduire, et par l’affichage du logo aient un cache qui enregistre la taille de l’image originale la première fois qu’ils sont appelés, mais si cette image est modifiée (réduite) ensuite, un appel ultérieur à ces fonctions retourne la valeur en cache.

    La réduction se fait dans verifier_taille_document_acceptable() de action/ajouter_documents.php du plugin medias, qui prend en comptel les constantes _IMG_MAX_WIDTH et _IMG_MAX_HEIGHT indiquées.

  • Evolution #3599 (Nouveau) : ajout d’un paramètre $retour pour #FORMULAIRE_INSCRIPTION

    20 novembre 2015, par Peet du

    Objectif

    à la validation de l’inscription d’un auteur, pouvoir rediriger celui-ci vers une page au choix.

    Syntaxe voulue

    [(#FORMULAIRE_INSCRITPION6forum,0,#URL_PAGEsuite)]
    Cette demande a été discutée ici : http://comments.gmane.org/gmane.comp.web.spip.devel/66633

    Roadmap

    testé sur une SPIP 3.1 RC

    #1 modifier la ligne ecrire/balise/formulaire_inscription.php
    function balise_FORMULAIRE_INSCRIPTION_stat($args, $context_compil)
    list($mode, $id, $retour) = array_pad($args, 3, null) ;
    include_spip(’action/inscrire_auteur’) ;
    $mode = tester_statut_inscription($mode, $id) ;
    return $mode ? array($mode, $id, $retour) : ’’ ;

    #2 Modifier le fichier squelettes-dist/formulaires/inscription.php
    formulaires_inscription_xxxx_dist($mode=’’, $id=0, $retour=’’)

    #2 bis modifier la ligne squelettes-dist/formulaires/inscription.php#141
    $desc = $inscrire_auteur($mode, $mail_complet, $nom, array(’id’=>$id, ’redirect’=> $retour)) ;

    #3 modifier le modèle prive/modeles/mail_inscription.html
    #SETurl_confirm, [(#ENVurl_confirm|parametre_urlredirect,#ENVredirect)]

    puis

    <:form_forum_confirmer_emailurl_confirm=#GETurl_confirm :>

    #4 mettre à jour la doc
    ...sur http://www.spip.net/fr_article4590.html#FORMULAIRE_INSCRIPTION

  • why cmd just print command and dosen't work ?

    11 octobre 2019, par 杨士弘

    I tried create a website that could upload mp4 then my server would transcode it to ts and create a m3u8 playlist。
    I wanted to use cmd to control ffmpeg to do this,and I use visual basic to do this.

    Here is my code:

     Dim fileName As String = "borderoflife"
     Dim file As String = "borderoflife.mp4"
     Dim appPath As String = "C:\allen0916\"
     Dim saveDir As String = "test2\"

     Dim savePath As String = appPath &amp; saveDir
     Dim saveResult As String = savePath &amp; file

     Dim Content_Type_A As String = "video/mp4"

     Dim m3u8Path As String = Path.Combine(savePath, fileName + ".m3u8")
     Dim para As String = String.Format("/C ffmpeg -i {0} -profile:v baseline -level 3.0 -s 640x360 -start_number 0 -hls_time 10 -hls_list_size 0 -f hls {1} ", saveResult, m3u8Path)

     Dim output As String = "none"
     Dim p As Process = New Process()

     p.StartInfo.FileName = "cmd.exe"
     p.StartInfo.UseShellExecute = False
     p.StartInfo.RedirectStandardInput = True
     p.StartInfo.RedirectStandardOutput = True
     p.StartInfo.RedirectStandardError = True
     p.StartInfo.CreateNoWindow = True
     p.Start()
     p.StandardInput.WriteLine(para)
     p.StandardInput.WriteLine("exit")
     p.StandardInput.AutoFlush = True
     p.StandardInput.Close()
     output = p.StandardOutput.ReadToEnd()
     p.WaitForExit()
     p.Close()

    If System.IO.File.Exists(m3u8Path) &lt;> True Then
         context.Response.Write(output)
     Else
         context.Response.Write("Success")
     End If  

    and every time output just returns :

    Microsoft Windows [version 10.0.17763.737]
    (c) 2018 Microsoft Corporation.

    c:\windows\system32\inetsrv>/C ffmpeg -i C:\allen0916\test2\borderoflife.mp4 -profile:v baseline -level 3.0 -s 640x360 -start_number 0 -hls_time 10 -hls_list_size 0 -f hls C:\allen0916\test2\borderoflife.m3u8

    c:\windows\system32\inetsrv>exit

    it seems cmd.exe just print my command and not working,
    Dose somebody know why?