Recherche avancée

Médias (3)

Mot : - Tags -/pdf

Autres articles (59)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

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

  • Assertion error when encoding video using ffmpeg library on visual studio c++

    18 juin 2015, par Leon Phan

    I have a project, that i need to received data from a rtsp link, decode,resize video, encode it and save to .mp4 file.

    this is my code :

    AVPacket destPacket;
    av_init_packet(&destPacket);
    destPacket.data = NULL;
    destPacket.size = 0;
    while(av_read_frame(i_format_context, &packet)>=0) {
       if(packet.stream_index==video_stream_index) {
           int rest = avcodec_decode_video2(copyInputCodec, pFrame, &frameFinished, &packet);
           if(frameFinished) {
               av_init_packet(&destPacket);
               destPacket.data = NULL;
               destPacket.size = 0;
               av_free_packet(&destPacket);
               //deocde here
               int ret_scale = sws_scale(sws_ctx,pFrame->data,pFrame->linesize,0,copyInputCodec->height,encodeFrame->data,encodeFrame->linesize);
               encodeFrame->pts=i;
               int ret_enc = avcodec_encode_video2(copyOutputCodec,&destPacket,encodeFrame,&encodeFinishsed);//<--- Problem here.
               getchar();
           }
       }
    }

    And this is output error

    [swscaler @ 00607880] Warning : data is not aligned ! This can lead to a
    speedlo ss
    Assertion avctx->codec->encode2 failed at /home/kyle/software/ffmpeg/source/ffmp
    eg-git/libavcodec/utils.c:2134

    I try to run many sample code to encode video, the result is same.

    Thanks for help.

    PS : sorry about my English skill.

  • Why is Visual Studio executing the wrong code [closed]

    15 mai 2023, par Jacob

    Not sure what is going on here. Code that I have deleted is still executing. I am sending parameters to FFMPEG for video editing. FFMPEG is then processing parameters that I previously sent, which is now deleted. While trying to figure this out, I sent the string "WTF !" directly to the FFMPEG parameters and FFMPEG is still processing the video with old parameters. The string "WTF !" should have broke FFMPEG so it is clearly executing the wrong code. Hasd anyone ever encountered this ?

    


  • Android Studio - add background to transparent GIF and export to new GIF file (FFMpeg ?)

    21 avril 2019, par user10969667

    How to export the current android view that contains background image + transparent GIF into a new GIF file ? FFmpeg can do it ?

    With FFmpeg I can do these steps :
    1. Convert GIF to video
    2. Add background to video
    3. Convert video to GIF

    is there a simpler way ? what is the performance to working with FFmpeg library ?
    I never work with it before.

    Please help !