Recherche avancée

Médias (1)

Mot : - Tags -/publishing

Autres articles (31)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

Sur d’autres sites (7919)

  • lavc/cbrt_tablegen : speed up tablegen

    11 janvier 2016, par Ganesh Ajjanagadde
    lavc/cbrt_tablegen : speed up tablegen
    

    This exploits an approach based on the sieve of Eratosthenes, a popular
    method for generating prime numbers.

    Tables are identical to previous ones.

    Tested with FATE with/without —enable-hardcoded-tables.

    Sample benchmark (Haswell, GNU/Linux+gcc) :
    prev :
    7860100 decicycles in cbrt_tableinit, 1 runs, 0 skips
    7777490 decicycles in cbrt_tableinit, 2 runs, 0 skips
    [...]
    7582339 decicycles in cbrt_tableinit, 256 runs, 0 skips
    7563556 decicycles in cbrt_tableinit, 512 runs, 0 skips

    new :
    2099480 decicycles in cbrt_tableinit, 1 runs, 0 skips
    2044470 decicycles in cbrt_tableinit, 2 runs, 0 skips
    [...]
    1796544 decicycles in cbrt_tableinit, 256 runs, 0 skips
    1791631 decicycles in cbrt_tableinit, 512 runs, 0 skips

    Both small and large run count given as this is called once so small run
    count may give a better picture, small numbers are fairly consistent,
    and there is a consistent downward trend from small to large runs,
    at which point it stabilizes to a new value.

    Reviewed-by : Michael Niedermayer <michael@niedermayer.cc>
    Signed-off-by : Ganesh Ajjanagadde <gajjanagadde@gmail.com>

    • [DH] libavcodec/cbrt_tablegen.h
  • How to compose (encoded) pixels into videos / live-streams in Flutter ?

    18 octobre 2022, par Ryuujo

    I am trying to make an OBS-like app using Flutter.

    &#xA;

    I was trying to use Flutter engine to draw widgets onto the video&#xA;frames, along with screen, with separated layers.

    &#xA;

    I came up with a bad way, which :

    &#xA;

      &#xA;
    • use RenderRepaintBoundary to get images of specific area.
    • &#xA;

    • use ffmpeg to compose these .png series into video with h.264 encoding.
    • &#xA;

    • (then maybe use .mp4 files to publish as video stream ??)
    • &#xA;

    &#xA;

    , which is baaad in real-time performance and efficiency apparently.

    &#xA;

    (relevant code)

    &#xA;

    // some_page.dart&#xA;&#xA;int index = 0;&#xA;&#xA;  Future<void> onTestPressed() async {&#xA;    int i = 0;&#xA;    while (i&#x2B;&#x2B; &lt; 600) {&#xA;      try {&#xA;        var render = repaintKey.currentContext!.findRenderObject()&#xA;            as RenderRepaintBoundary;&#xA;        double dpr = window.devicePixelRatio;&#xA;        var byteData = await render&#xA;            .toImage(pixelRatio: dpr)&#xA;            .then((image) => image.toByteData(format: ImageByteFormat.png));&#xA;&#xA;        var tempDir = await getTemporaryDirectory();&#xA;        var fileName = &#x27;${tempDir.path}/frame_${index&#x2B;&#x2B;}&#x27;;&#xA;&#xA;        var bytes = byteData!.buffer.asUint8List();&#xA;        var file = File(fileName);&#xA;        if (!file.existsSync()) {&#xA;          file.createSync();&#xA;        }&#xA;&#xA;        await file.writeAsBytes(bytes);&#xA;        // OpenFile.open(fileName);&#xA;      } catch (e) {&#xA;        if (kDebugMode) {&#xA;          print(e);&#xA;        }&#xA;      }&#xA;    }&#xA;  }&#xA;</void>

    &#xA;

    🌟 I know that Flutter uses Skia as its graphic engine, and could I use Skia ability (by drawing widgets) somehow so as to produce video frames more directly ?

    &#xA;

    Thank you.

    &#xA;

  • Evolution #2727 (Fermé) : forcer type=’MyISAM’ sur les tables MySQL

    25 octobre 2014, par cedric -

    Appliqué par commit r21697.