Recherche avancée

Médias (91)

Autres articles (92)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains 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, par

    Pré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 (13903)

  • How can i decode an mp3 and encode it as aac with ezstream

    8 avril 2015, par Roberto Arosemena

    This is my current ezstream config

    <ezstream>
      <url>http://localhost:8000/test</url>
      <sourcepassword>password</sourcepassword>
      <format>MP3</format>
      <filename>playlist.m3u</filename>
      <reencode>
         <enable>1</enable>
         <encdec>
            <format>MP3</format>
            <match>.mp3</match>
            <decode>madplay -b 16 -R 44100 -S -o raw:- "@T@"</decode>
            <encode>lame --preset cbr 32 -r -s 44.1 --bitwidth 16 - -</encode>
         </encdec>
      </reencode>
    </ezstream>

    It’s mounting to an icecast server, its decoding and encoding mp3 to a lower bitrate, I’m trying to encode it to aac instead of mp3 in hopes that the quality improves as i heard that aac is better than mp3 for lower bitrates.

    What i would like to know is if i can use an aac encoder such as FFmpeg instead of the lame mp3 encoder and get an aac to the end user instead of mp3, if so what parameters should i pass to FFmpeg so that it works with my current config.

  • Anomalie #2855 : mauvais traitement du signe par textwheel

    9 août 2014, par cedric -

    Coquille dans le test, corrigée par http://zone.spip.org/trac/spip-zone/changeset/84111
    Si on dit que les < doivent être échappés dans la mesure du possible, le patch suivant semble faire le boulot sans casser aucun autre test.
    Mais est-ce que ça en vaut vraiment la peine ?

    Index : wheels/spip/spip.yaml
    ===================================================================
    
    — - wheels/spip/spip.yaml (revision 83994) +++ wheels/spip/spip.yaml (working copy) @@ -183,3 +183,9 @@ match : ["\x1\x1", "\x1\x2", "\x1\x3", "\x1\x4"] replace : [’’, ’’, ’_’, ’-’] type : str + +echapg-—chevron-ouvrant : + #if_str : "
    &lt;script&quot; <br />
    +  type: preg<br />
    +  match: &quot;/&lt;([^&gt;&lt;]*)(?=&lt;|$)/Uims&quot; <br />
    +  replace: &quot;&amp;amp;lt;$1&quot; <br />
    &lt;/pre&gt;
  • Php - Get video duration from a file hosted on amazon S3 server

    8 mai 2017, par Michael Lee

    I am developing back-end API with php to get the duration from a video file hosted on amazon S3. The API server is hosted on amazon EC2 and the video file is uploaded on amazon S3. The problem is when I request to API server, it has to response the information of the video file hosted on amazon S3 such as duration, file size, resolution etc. At least, it must response the video. I’ve followed codes by using ffmpeg such as below, but it’s not working.

    &lt;?php
    $file = 'https://videoapptest-bucket.s3.amazonaws.com/video/10/44__55_f03876434e48d5fed7d6982b0cf578de_u_00000.ts';
    $result = shell_exec('ffmpeg -i ' . escapeshellcmd($file) . ' 2>&amp;1');
    preg_match('/(?&lt;=Duration: )(\d{2}:\d{2}:\d{2})\.\d{2}/', $result, $match);
    print_r($match);
    ?>

    How can I get the video duration from a file hosted on amazon s3 with ffmpeg or another tool ?