Recherche avancée

Médias (1)

Mot : - Tags -/ipad

Autres articles (108)

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

  • 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 ;

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

Sur d’autres sites (9533)

  • Transcode to ogg or webm, writing the file as it goes

    22 juillet 2020, par Mark Smith

    I need to transcode files (mp3, flac, m4a and others) to ogg or webm. (This is because I need them to play on Firefox 60.9 which does not support most of these, and flacs are too large. I cannot update the browser.)

    


    ffmpeg can do the transcoding, but when transcoding to ogg or webm, depending on the exact configuration, either 0 bytes or a few kB is written immediately, and then nothing more until the transcoding is complete (even using -flush_packets 1) — hence I cannot start playing the audio.

    


    By comparison, if I transcode to mp3, the file is written progressively and I can start playing immediately.

    


    Is it possible to transcode to ogg or webm in such a way that the file is written as the transcoding happens, and I can start playing it (almost) immediately ?

    


    Configurations I have tried :

    


    ffmpeg -i orig.m4a -c:a libvorbis -flush_packets 1 vorbis.ogg
ffmpeg -i orig.m4a -c:a libopus -flush_packets 1 opus.ogg
ffmpeg -i orig.m4a -c:a libvorbis -flush_packets 1 vorbis.webm
ffmpeg -i orig.m4a -c:a libopus -flush_packets 1 opus.webm


    


    This is running on Debian (Raspian stretch, specifically) and I would like to do it without adding dependencies from outside of the Debian/Raspian archives, if possible. Sticking with ffmpeg would be my ideal choice but will consider others.

    


  • Can't link FFmpeg in Visual Studio 2013

    22 février 2016, par Sir DrinksCoffeeALot

    I’m struggling with this for past 3-4 days with barely any progress. I’ve downloaded "dev" and "shared" archives and extracted them. "Dev" archive has .lib and .h files and "Shared" has .dll files needed for running app. These are the steps that i’ve done linking-wise :

    Project -> Properties -> Configuration Properties -> VC++ Directories -> Include Directories -> ...\ dev\ include

    Project -> Properties -> Configuration Properties -> VC++ Directories -> Library Directories -> ...\ dev\ lib

    Project -> Properties -> Configuration Properties -> C/C++ -> General -> Additional Include Directories -> ...\ dev\ include

    Project -> Properties -> Configuration Properties -> Linker -> General -> Additional Library Directories -> ...\ dev\ lib

    Project -> Properties -> Configuration Properties -> Linker -> Input -> Additional Dependencies -> avcodec.lib ... swscale.lib

    And when i try to build it i get following error :

    Error 1 error LNK2019: unresolved external symbol _avcodec_register_all referenced in function _main...

    I have no idea why,somehow .lib are not getting linked or something or i’ve done something wrong. It’s getting really frustrating and ffmpeg is crucial in project that i’m working on, basicly i can’t do anything without it. So please if someone could point me in right direction i would aprreciate it very much.

    This is the example that im trying to build.

    #include
    extern "C"
    {

    #include "libavcodec\avcodec.h"
    }


    #pragma comment(lib, "avcodec.lib")

    int main()
    {
       printf("Trying avcodec_register_all... ");
       avcodec_register_all();
       printf("Done.\n");
       return 0;
    }

    Thank you in advance.

  • Evolution #4283 (Nouveau) : Mettre en place un raccourcis typo pour lié la page du site dans notre...

    31 janvier 2019

    Bonjour,

    Revisions : zpip est le seul raccourcis typo de SPIP ayant un traitement dérogatoire qui amène directement sur le site référencé au lieu de conduire à la page sur notre site qui affiche la description du site (et le flux RSS syndiqué).

    Je propose donc l’ajout d’un raccourcis supplémentaire qui permettrait de faire le lien avec cette page proprement.

    Depuis plus de 10 ans, j’utilise ce code fournis par ESJ à l’époque (dans un mes_fonctions.php) :

    1. <span class="CodeRay"><span class="comment">/* Permet dans un texte de faire [->refsite12] qui fera un lien vers la page du site en cours décrivant ce site (et non pas un lien direct vers le site de destination) */</span>
    2. <span class="keyword">function</span> <span class="function">generer_url_refsite</span>(<span class="local-variable">$id</span>, <span class="local-variable">$args</span>, <span class="local-variable">$ancre</span>) {
    3.   <span class="keyword">return</span> <span class="predefined">array</span>(<span class="string"><span class="delimiter">'</span><span class="content">site</span><span class="delimiter">'</span></span>, <span class="local-variable">$id</span>);
    4. }
    5. </span>

    Télécharger

    Il suffirait de rajouter ces lignes (avec un _dist pour le nom de la fonction) dans le sites_fonctions.php du plugin pour que ça marche.

    Merci d’avance.