Recherche avancée

Médias (1)

Mot : - Tags -/ticket

Autres articles (95)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • Other interesting software

    13 avril 2011, par

    We don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
    The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
    We don’t know them, we didn’t try them, but you can take a peek.
    Videopress
    Website : http://videopress.com/
    License : GNU/GPL v2
    Source code : (...)

Sur d’autres sites (5493)

  • 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 = &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 <- cmdFF.Run()
       }()

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

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

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

  • Using WebHDFS to play video over HTTP

    3 février 2015, par Qin.Yang

    I used ffmpeg + libx264 to convert file format as H264, then uploaded the file to Hadoop. I used WebHDFS to access the file by HTTP, but can not online play. If I download this file over HTTP, it can play by HTML5 video. My English is poor, hope you know what I mean.

  • Using WebHDFS to play video over HTTP

    3 février 2015, par Qin.Yang

    I used ffmpeg + libx264 to convert file format as H264, then uploaded the file to Hadoop. I used WebHDFS to access the file by HTTP, but can not online play. If I download this file over HTTP, it can play by HTML5 video. My English is poor, hope you know what I mean.