Advanced search

Medias (91)

Other articles (56)

  • HTML5 audio and video support

    13 April 2011, by

    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 January 2010, by

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

On other websites (6044)

  • avcodec/get_buffer: Don't get AVPixFmtDescriptor unnecessarily

    15 August 2022, by Andreas Rheinhardt
    avcodec/get_buffer: Don't get AVPixFmtDescriptor unnecessarily
    

    It is unused since 3575a495f6dcc395656343380e13c57d48b9f976
    (and the error message is dangerous: av_get_pix_fmt_name(format)
    returns NULL iff av_pix_fmt_desc_get(format) returns NULL
    and using a NULL string for %s would be UB).

    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    • [DH] libavcodec/get_buffer.c
  • avformat_open_input return value, error code on NaCl Module

    7 February 2016, by 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 May 2013, by 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 &amp; echo $!");

    And with exec :

    exec("nohup " . $this->_command . " > /dev/null 2>/dev/null &amp;") ; // returns null
    exec("nohup " . $this->_command . " > /dev/null 2>&amp;1 &amp;"); // 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