Recherche avancée

Médias (1)

Mot : - Tags -/remix

Autres articles (105)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

  • 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

Sur d’autres sites (12749)

  • avcodec/iff : add support for vertical word compression in ILBM

    6 janvier 2017, par Paul B Mahol
    avcodec/iff : add support for vertical word compression in ILBM
    

    Signed-off-by : Paul B Mahol <onemda@gmail.com>

    • [DH] libavcodec/iff.c
  • How to save data of packet.data in ffmpeg using c language ?

    10 juin 2015, par patrick

    I’m try to build an app in c that extract audio from video and save it as audio file. I write the below code. I’m able to extract the audio but now the problem is how to save it. Thanks in advance.

    My code is :

    int main(int argc, char *argv[]) {
    AVFormatContext *pFormatCtx = NULL;
    int             i;
    AVCodecContext  *pCodecCtx = NULL;
    AVCodec         *pCodec = NULL;
    AVFrame         *pFrame = NULL;
    AVPacket        packet;

    AVDictionary    *optionsDict = NULL;

    if(argc &lt; 2) {
    printf("Please provide a movie file\n");
    return -1;
    }
    av_register_all();
    if(avformat_open_input(&amp;pFormatCtx, argv[1], NULL, NULL)!=0)
    return -1;

    if(avformat_find_stream_info(pFormatCtx, NULL)&lt;0)
    return -1;

    av_dump_format(pFormatCtx, 0, argv[1], 0);

    int audioStream=-1;
    for(i=0; inb_streams; i++)
       if(pFormatCtx->streams[i]->codec->codec_type==AVMEDIA_TYPE_AUDIO) {
           audioStream=i;
           break;
       }
    if(audioStream==-1)
    return -1;

    pCodecCtx=pFormatCtx->streams[audioStream]->codec;

    pCodec=avcodec_find_decoder(pCodecCtx->codec_id);
    if(pCodec==NULL) {
       fprintf(stderr, "Unsupported codec!\n");
       return -1; // Codec not found
    }

    if(avcodec_open2(pCodecCtx, pCodec, &amp;optionsDict)&lt;0)
    return -1;

    pFrame=avcodec_alloc_frame();
    packet.data = NULL;
    packet.size = 0;

    while(av_read_frame(pFormatCtx, &amp;packet)>=0) {
       int got_frame = 0;
       int ret = avcodec_decode_audio4(pCodecCtx, pFrame, &amp;got_frame, &amp;packet);
       if(got_frame &amp;&amp; packet.stream_index==audioStream) {
           //save result but how???
       }
       av_free_packet(&amp;packet);
    }
    av_free(pFrame);
    avcodec_close(pCodecCtx);
    avformat_close_input(&amp;pFormatCtx);
    return 0;
    }
  • Révision 17190 : un break-word sur les listes en colonne laterale

    14 février 2011, par cedric -