Recherche avancée

Médias (1)

Mot : - Tags -/illustrator

Autres articles (95)

  • 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 (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (10424)

  • Bulk trim multiple videos all to the same specified length [closed]

    20 janvier 2024, par Retsied

    I'm looking for a way to bulk trim multiple (100+) videos of varying length all to the same specified length. Anyone have any ideas ? I've looked into ffmpeg, has anyone accomplished this ?

    


  • How to increase the audio length using FFMPEG ?

    22 janvier 2016, par Rama Lingam

    I have the MP3 audio file output.mp3 with 00:00:01 length.
    I want to convert the audio file to output_test.mp3 with 00:00:50 length.
    The audio file should be play repeat at end of length 00:00:50. How to do it ?

    $imgDir     = 'upload/2016/01/tmp_81332';
    $ffmpeg     = '/usr/bin/ffmpeg';

    // Convert Audio Length Path
    $convAudioPath  = $imgDir."/output.mp3";
    $convAudioPath_test = $imgDir."/output_test.mp3";

    exec("$ffmpeg -i $convAudioPath -vcodec copy -acodec copy -ss 00:00:00.000 -t 00:00:50.000 $convAudioPath_test");

    Advise any idea !

  • avcodec_encode_video memory leaks

    13 juillet 2012, par user1522503

    I got some ffmpeg memory problems.
    I think they happen to avcodec_encode_video() ;

    When I used it to encode less than 6 YUV420 files(the size is different, 704x576 1600x1200 540x480),the memory was normal, but if more than 6, the system memories increased 100M/S, the program will crash soon.

    please advice, thanks.

    iOutSie = 0;
       ptPicture = (AVFrame *)malloc(sizeof(AVFrame));

       if (!ptPicture)
       {
           gbiLastErrorNumber = NPC_D_SMP_CODEC_ERROR_MALLOC_ERR;
           goto _NPC_CLEAR;
       }

       pYuvBuff = (NPC_BYTE *)malloc(1024*1024*8);

    if (!pYuvBuff)
     {

           goto _NPC_CLEAR;

       }

       avpicture_fill((AVPicture*)ptPicture, pYuvBuff, PIX_FMT_YUV420P, hEncode->tEncodeVideoParam.iWidth,
           hEncode->tEncodeVideoParam.iHeight);    


           scxt = sws_getContext(
               in_pOriBPS->iWith, //source width
               in_pOriBPS->iHeight, //source height
               PIX_FMT_YUV420P,    //source pix format
               hEncode->tEncodeVideoParam.iWidth, //destination width, height, and pix format
               hEncode->tEncodeVideoParam.iHeight,
               PIX_FMT_YUV420P,
               SWS_SINC,
               NULL,NULL,NULL
           );



       if(!scxt)
       {
           gbiLastErrorNumber = NPC_D_SMP_CODEC_ERROR_sws_getContext_ERR;
           goto _NPC_CLEAR;
       }

       sws_scale(
           scxt,
           hEncode->picture->data, hEncode->picture->linesize,
           0, in_pOriBPS->iHeight,
           ptPicture->data, ptPicture->linesize);

       if (in_pDestDataBufSize < (hEncode->tEncodeVideoParam.iWidth * hEncode->tEncodeVideoParam.iHeight * 3 / 2) )
       {
           gbiLastErrorNumber = NPC_D_SMP_CODEC_ERROR_PARAM_ERR;
           goto _NPC_CLEAR;
       }

       iOutSize = avcodec_encode_video(hEncode->c, out_pDestDataBuf, in_pDestDataBufSize, ptPicture);  

    _NPC_CLEAR:
    if(pYuvBuff) free(pYuvBuff);
    return iOutSize;