Recherche avancée

Médias (91)

Autres articles (52)

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

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

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

Sur d’autres sites (5571)

  • avformat_open_input return value, error code on NaCl Module

    7 février 2016, par Jar

    I’m trying to port FFmpeg into my NaCl module.

    So far, my module linked ffmpeg and SDL libraries.

    It already can play YUV format video which is directed load into memory and copy into YUVOverlay buffer (it’s very easy).

    Now, I want to use ffmpeg to decode video, but when I call the function avformat_open_input it returns -5 when input is URL string, such as rtmp:// or mmsh:// ; it returns -1052488119 when input is file name, such as /saved/tmp (I mount the file system - html5fs).


    There are some questions :

    1. What means of -5 and -1052488119 ?
    2. If file can’t open by avformat_open_input, is it possible the input type is from buffer not from file name or url string ?

    If I’m not clearly about my question or description, you can tell me.
    If you are doing the same thing or having the same problem, we can discuss together.

    Thanks,
    Jar

  • PHP exec or shell_exec not returning process id (PID) on Windows Wamp

    17 mai 2013, par HoplaYann

    I am on windows 7, using a WampServer, and trying to use FFMPEG.

    The encoding works, but I can't get a process id back from either the exec()
    method nor the shell_exec() methods.

    This is my code :

    $cmd = C:\ffmpeg\bin\ffmpeg.exe -i "C:\...\4ch.wav"  -ar 44100 -ab 48000 -f mp3 -y "C:\...\enc_4ch.mp3"

    This what I was trying to do with shell_exec :

    shell_exec("nohup $cmd > /dev/null & echo $!");

    And with exec :

    exec("nohup " . $this->_command . " > /dev/null 2>/dev/null &") ; // returns null
    exec("nohup " . $this->_command . " > /dev/null 2>&1 &"); // also returns null

    Please let me know what I do wrong, as I'd like later to use the following method to check if my process is still running :

    private function is_process_running($proccess_id)
       {
           exec("ps $proccess_id", $process_state);
           return (count($process_state) >= 2);
       }

    thank you in advace

  • What does it mean for avcodec_find_decoder() to return 0 ? [duplicate]

    11 février 2019, par Lucas Zanella

    This question already has an answer here :

    This part of my code

    m_pAVCodec = avcodec_find_decoder(AV_CODEC_ID_H264);

    is returning 0, which means it failed to find the codec.

    What does it mean for ffmpeg to not find a codec ? Is it something related with my system ? I need somehow to install the h264 codec ?

    I’m using Ubuntu

    UPDATE :

    By doing
    avcodec_register_all() ;

    before, it works. It’s kinda strange because av_register_all() was deprecated long ago and won’t even compile.

    What more needs to be registered ?