Recherche avancée

Médias (0)

Mot : - Tags -/logo

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (45)

  • 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

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (7561)

  • Anomalie #2137 (Fermé) : Dans plugin.xml de spip mettre procure spip-bonux

    26 juin 2011, par cedric -

    Non. Spip-bonux fournit des choses que ne fournit pas le core 3.0 Les plugins qui n’utilisent que ce que fournit le core, doivent donc supprimer leur dépendance. Les autres doivent maintenir la dépendance à la version 3 allégée de spip-bonux. Pour résoudre ta question, il faut passer à paquet.xml, (...)

  • How to convert multiple files from mp4 to flv using a shell script

    22 avril 2013, par jerdiggity

    Assuming I had a bunch of videos sitting inside the directory /home/user/videos/awaiting_conversion how would I go about using cron to run a script similar to this one to batch convert each video into a different format ?

    /bin/sh -c $'nice /usr/bin/ffmpeg -i \044'\'$'/home/user/videos/awaiting_conversion/video_file_1.mp4'\'$' -s \044'\'$'480x320'\'$' -vcodec libx264 -acodec libmp3lame -ab \044'\'$'64k'\'$' -vpre fast -crf \044'\'$'30'\'$' -ar \044'\'$'22050'\'$' -f flv -y \044'\'$'/home/user/videos/converted/video_file_1.flv'\'$''

    The above script works fine for a single conversion, but :

    1. It assumes that the name of the video is static/known (which will not be the case when batch converting).
    2. It assumes that there is only one video to convert (which may or may not be the case), i.e. there's no "loop".
    3. It leaves the original file in place instead of deleting it (which is what I would want to happen to prevent duplicate conversions).

    The ultimate question would be how do I run that script for each video that exists inside /home/user/videos/awaiting_conversion, passing the file name as a variable ?

  • How to update SDL Texture with Frame Represented by ffmpeg in AVPicture Format

    4 juin 2014, par Whoami

    I receive a frame of format YUV from ffmpeg, and I convert into RGB format like below :

    sws_scale(pSwsCtx, (const uint8_t * const *) sFrame->data,
                                                   sFrame->linesize, 0, pCodecCtx->height,
                                                   dFrameRGB24->data,
                                                   dFrameRGB24->linesize);

    Now i have a Texture in SDL2 with format of SDL_PIXELFORMAT_RGB24

    Question :

    How do i Update dFrameRGB24 [ ie AVPicture], into SDL Texture ?

    Because

    SDL_UpdateTexture Expects raw data, and the number of pixels per line

    int SDL_UpdateTexture(SDL_Texture*    texture,
                         const SDL_Rect* rect,
                         const void*     pixels,
                         int             pitch)

    where as

    AVPicture has the below structure

    uint8_t * data [AV_NUM_DATA_POINTERS]
          pointers to the image data planes
    int     linesize [AV_NUM_DATA_POINTERS]
       number of bytes per line

    How can i achieve the same ? Kindly help me.