Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

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

Autres articles (98)

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

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

Sur d’autres sites (7503)

  • http: Pass options through to the nested protocol

    7 novembre 2011, par Martin Storsjö
    http: Pass options through to the nested protocol
    

    When passing a dict to the nested protocol, it will consume
    the used options from it, so a separate copy needs to be used
    when reopening the connection multiple times.

    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DBH] libavformat/http.c
  • lavf/http: Remove superfluous parenthesis.

    3 septembre 2015, par Stephan Holljes
    lavf/http: Remove superfluous parenthesis.
    

    Signed-off-by : Stephan Holljes <klaxa1337@googlemail.com>
    Reviewed-by : Ganesh Ajjanagadde <gajjanag@mit.edu>
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavformat/http.c
  • Pipe a HTTP response

    30 juillet 2014, par viperfx

    How do I pipe an HTTP response like in NodeJS. Here is the snippet I am using in NodeJS :

    request({
     url: audio_file_url,
    }).pipe(ffmpeg_process.stdin);

    How can I achieve the same result in Go ?

    I am trying to pipe a audio stream from HTTP into an FFmpeg process so that it converts it on the fly and returns the converted file back to the client.

    Just so its clear to everyone here is my source code so far :

    func encodeAudio(w http.ResponseWriter, req *http.Request) {
       path, err := exec.LookPath("youtube-dl")
       if err != nil {
           log.Fatal("LookPath: ", err)
       }
       path_ff, err_ff := exec.LookPath("ffmpeg")
       if err != nil {
           log.Fatal("LookPath: ", err_ff)
       }

       streamLink := exec.Command(path,"-f", "140", "-g", "https://www.youtube.com/watch?v=VIDEOID")

       var out bytes.Buffer
       streamLink.Stdout = &amp;out
       cmdFF := exec.Command(path_ff, "-i", "pipe:0", "-acodec", "libmp3lame", "-f", "mp3", "-")
       resp, err := http.Get(out.String())
       if err != nil {
           log.Fatal(err)
       }
       // pr, pw := io.Pipe()
       defer resp.Body.Close()
       cmdFF.Stdin = resp.Body
       cmdFF.Stdout = w
       streamLink.Run()
       //get ffmpeg running in another goroutine to receive data
       errCh := make(chan error, 1)
       go func() {
           errCh &lt;- cmdFF.Run()
       }()

       // close the pipeline to signal the end of the stream
       // pw.Close()
       // pr.Close()

       // check for an error from ffmpeg
       if err := &lt;-errCh; err != nil {
           // ff error
       }
    }

    Error : 2014/07/29 23:04:02 Get : unsupported protocol scheme ""