Recherche avancée

Médias (1)

Mot : - Tags -/Rennes

Autres articles (73)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

Sur d’autres sites (12143)

  • Transcoding wmv file to mp4 using Jave

    17 mai 2013, par Fawkes

    I am trying to use Jave to convert a wmv file into h264(mp4).
    The final version created by Jave plays fine with VLC player but when I try to use it inside the HTML5 video tag, it is not able to play the file.

    I am guessing that the issue is with the attributes I am setting for the video attributes.

    Java Code :

       videoAttributes.setCodec("mpeg4");
       videoAttributes.setTag("mpeg4");
       videoAttributes.setBitRate(new Integer(5000));
       videoAttributes.setFrameRate(new Integer(30));
       videoAttributes.setSize(new VideoSize(512, 384));
       encodingAttributes.setVideoAttributes(videoAttributes);
       encodingAttributes.setFormat("mp4");

    HTML code :

       <video controls="true" width="400" height="200">
           <source src="path_to_converted_mp4_file" type="video/mp4"></source>
           Not Supported
       </video>
  • Ffmpeg change height with fixed width

    2 mars 2012, par Dmitry

    I'm trying to change video dimensions using ffmpeg.
    For example, user is uploading video 1280*960.

    And i need to get video 640*480 in return.

    I tried this code and it works

    exec($ffmpegPath." -i ".$srcFile." -ar 22050 -ab 32 -f flv -s 640x480".$destFile,$tmp);

    but this method d't keep width/height balance of video (i.e. video 5000*480 becomes 640*480 and looks compressed from left and right).

    In case of this dimensions (5000*480) i need to get video on exit like 640*61
    i mean fixed height is not suitable for me.

    I look over the internet and found this topics
    http://superuser.com/questions/201051/resize-videos-with-different-widths-to-a-fixed-height-preserving-aspect-ratio-wi
    http://delogics.blogspot.com/2011/11/ffmpeg-maintain-aspect-ratio-with-fixed.html

    but neither of them works for me (ffmpeg even not works with this code, maybe i've made mistake when adding theirs code parts in my ffmpeg string)

    Help me to improve my code pls

    Thanks

  • FFMPEG : Offseting & merging audios [migrated]

    5 novembre 2014, par user1064504

    I am trying to offset multiple audios into one, each with different offset.

    <code>ffmpeg -i a.ogg -i 1.ogg -filter_complex "amix=inputs=2[op];[op]adelay=5000|15000" out.ogg
    

    Can someone help with understand how to correctly use adelay with amix for multiple files, I am trying to achieve something like this.

    <code>
      &lt;-ist audio->    &lt;---2nd-audio--->

    <---------------------------------------------->