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 (1864)

  • Splitting single 32-channel audio file into 32 mono audio files using ffmpeg

    16 janvier 2015, par user1066157

    I am trying to split a single 32-channel audio file in .caf format to 32 mono audio files in signed 16 bit little endian .wav format using ffmpeg, but I can’t figure out how to accomplish this exactly. I have tried to do :

    ffmpeg -i myAudio.caf -acodec pcm_s16le -map 0:0 channel_01.wav -map 0:1 channel_02.wav ...

    But this returns a "Stream map ’0:1’ matches no streams" error. Surely I am missing something entirely obvious here... Most likely I am confused about how to reference each individual channel in my single, multi-channel audio file. Could someone show me the right way of doing this perhaps ?

  • PHP - How to get Shell errors echoed out to screen

    26 février 2013, par Ash

    I am in the process of using shell_exec() for the first time. I am trying to convert some video files on my server using the ffmpeg shell script.

    When I the below code in the browser, it returns NULL :

    var_dump(shell_exec("ffmpeg -i /var/www/html/sitedomain/httpdocs/tmp/ebev1177.mp4"));

    However when I run the equivalent code in my terminal :

    > ffmpeg -i /var/www/html/sitedomain/httpdocs/tmp/ebev1177.mp4

    I get back a whole load of useful information which ends in an error "At least one output file must be specified"

    Why is this info not being passed back to my PHP script so I can echo it out ?

  • FFMPEG : is there a way to keep RTSP connection alive in code ?

    14 décembre 2011, par Alex

    I'm taking frames from a RTSP connection as follows (in pseudocode) :

    av_open_input_file(&avcontext)
    while(av_read_frame(&frame) > 0) {
       doSomething(frame);
       av_free_packet(frame);
    }

    For some reason the doSomething() function takes much time and, because of this (at least, I think so) the connection interupts - av_read_frame() returns 'eof' and the loop exits.

    When I make doSomething() shorter such interruptions do not occur.

    For some reasons I can't do doSomething() in another thread.

    Therefore, I'm interested if maybe there are some parameters to avcontext which will let me keep the connection alive or increase the timeout ?

    Thank you !