Recherche avancée

Médias (1)

Mot : - Tags -/book

Autres articles (72)

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

  • Formulaire personnalisable

    21 juin 2013, par

    Cette page présente les champs disponibles dans le formulaire de publication d’un média et il indique les différents champs qu’on peut ajouter. Formulaire de création d’un Media
    Dans le cas d’un document de type média, les champs proposés par défaut sont : Texte Activer/Désactiver le forum ( on peut désactiver l’invite au commentaire pour chaque article ) Licence Ajout/suppression d’auteurs Tags
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire. (...)

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

Sur d’autres sites (8018)

  • aac_ltp : actually signal LTP as off during EIGHT_SHORT windows

    26 novembre 2015, par Rostislav Pehlivanov
    aac_ltp : actually signal LTP as off during EIGHT_SHORT windows
    

    This hugely reduces the echo which was introduced with the previous
    commit (though likely because previously everything was broken).
    Makes LTP actually worthwhile now.

    Signed-off-by : Rostislav Pehlivanov <atomnuker@gmail.com>

    • [DH] libavcodec/aacenc_ltp.c
  • Looking for video libraries for editing video on windows/ios/azure service [on hold]

    17 juillet 2015, par sanyam

    Which library would be a good bet in terms of ...
    1. Richness in features (I want to create a video from short clips and images with effects and filters). Think auto videos created from Google Photos.
    2. Extensibility - I would prefer using similar tech on IOS and Windows apps. Might have to offload some processing to a web service on Azure (windows or linux).
    3. Programmability - An API is preferred over command line as it gives more flexibility and better error handling.

    Given all these options, what is my best bet ? I’ve only looked at ffmpeg till now, is there a better alternative ?

  • Why MP4 generated through FFmpeg API can't be played in the Windows Media Player ?

    2 septembre 2021, par James

    I encoded some frames into a MP4 using FFmpeg API, but the MP4 could't be played in the Windows Media Player.

    &#xA;

    By comparison with the normal MP4 using ffprobe, I found that the FOURCC of the problematic MP4 is 'H264' while the normal MP4 is 'AVC1'.&#xA;According to H.264 Video Types, 'AVC1' has start codes but 'H264' hasn't.I also learned that we shoud manually add sps and pps before H.264 stream when demuxing a MP4.

    &#xA;

    Now I don't know how to add start code or sps/pps to my MP4, please give me a hand.&#xA;How I should do to generate a MP4 which can be played in the Windows Media Player ?

    &#xA;

    I have tried to add h264 bitstream filter but it didn't work. The code below :

    &#xA;

     AVBitStreamFilterContext *bsfc = NULL;&#xA;bsfc = av_bitstream_filter_init("h264_mp4toannexb");&#xA;if (bsfc == NULL) {&#xA;            printf("bsfc is NULL\n");&#xA;}&#xA;        &#xA;av_bitstream_filter_filter(bsfc, codec_ctx, NULL, &amp;(pkt->data), &amp;(pkt->size), pkt->data, pkt->size, 0);&#xA;&#xA;av_bitstream_filter_close(bsfc);&#xA;

    &#xA;

    After a lot of trying, I found that manually adding sps and pps to codec_ctx->extradata effective :

    &#xA;

    unsigned char sps_pps[23] = { 0x00, 0x00, 0x00, 0x01, 0x67, 0x64, 0x00, 0x29, 0xac, 0x1b, 0x1a, 0x12, 0xe0, 0x51, 0x90,&#xA;                              0x00, 0x00, 0x00, 0x01, 0x68, 0xea, 0x43, 0xcb };&#xA;codec_ctx->extradata_size = 23;&#xA;codec_ctx->extradata = (uint8_t*)av_malloc(23 &#x2B; AV_INPUT_BUFFER_PADDING_SIZE);&#xA;if (codec_ctx->extradata == NULL) {&#xA;    printf("could not av_malloc the video params extradata!\n");&#xA;    ERR_NULL_EXIT&#xA;    }&#xA;memcpy(codec_ctx->extradata, sps_pps, 23);&#xA;

    &#xA;

    The code above refered to an answer of @szatmary

    &#xA;

    Now generated MP4 can be played in Windows Media Player. But a new question emerges because I don't konw what correct value of sps/pps is. It cause that the width and height of frame presented in the Windows Explorer is incorrect. So I need to set the correct sps/pps. I also read the document of sps/pps but get confused because some parameters have variable bits. So can anybody tell me how to set the sps/pps correctly ?

    &#xA;