Recherche avancée

Médias (91)

Autres articles (28)

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

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

  • How to use hardware acceleration with ffmpeg

    16 juin 2014, par ixSci

    I need to have ffmpeg decode my video(e.g. h264) using hardware acceleration. I’m using the usual way of decoding frames : read packet -> decode frame. And I’d like to have ffmpeg speed up decoding. So I’ve built it with --enable-vaapi and --enable-hwaccel=h264. But I don’t really know what should I do next. I’ve tried to use avcodec_find_decoder_by_name("h264_vaapi") but it returns nullptr.
    Anyway, I might want to use others API and not just VA API. How one is supposed to speed up ffmpeg decoding ?

    P.S. I didn’t find any examples on Internet which uses ffmpeg with hwaccel.

  • av_find_stream_info works OK with file, not with pipe

    14 décembre 2016, par Aliza

    I have the following code :

    av_register_all();
    pFormatCtx = avformat_alloc_context();
    const char* input = "pipe:";
    AVInputFormat* iFormat = av_find_input_format("mpegts");
    if ( avformat_open_input(&pFormatCtx, input, iFormat, NULL) != 0 )
            return -1;
    int res = av_find_stream_info(pFormatCtx);

    when my input is a regular file, this works nicely and pFormatCtx is populated with the streams in the file. However, when i set input to "pipe :", av_find_stream_info returns with -1.

    I am using the same file and piping it by running
    cat mpeg.ts | myApp

    Any ideas ?

    Thanks,
    Aliza

  • ftp upload then loop

    23 juillet 2012, par thevoipman

    I have a minor bash script loop I'm trying to learn and accomplish but it's giving me a hard time to comprehend with all the readings I've done.

    I am uploading to a ftp server, then I want to check to see if the upload went through successfully by using wget spider method. If it returns OK then we're good, if not then I want to redo the ftp upload once more.

    The code I have below are based on my research and learning from here. If I could be doing this better, please help me revise it so I can learn from it.

    Thanks again in advance :

    for ((i = 0 ; i < 1 ; i++ ));
    do
       wget_output=$(wget -q --spider "http://$FTP_HOST/test.jpg")
       if [ $? -ne 0 ];
       then

           ftp -in $FTP_HOST &lt;<endftp user="user" binary="binary" put="put" bye="bye" endftp="endftp" else="else" echo="echo" code="code" fi="fi" done="done"></endftp>code>

    My errors when executing is :

    line 28: syntax error: unexpected end of file