Recherche avancée

Médias (1)

Mot : - Tags -/publicité

Autres articles (67)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

Sur d’autres sites (2984)

  • swscale/aarch64 : add hscale specializations

    26 mai 2022, par Swinney, Jonathan
    swscale/aarch64 : add hscale specializations
    

    This patch adds code to support specializations of the hscale function
    and adds a specialization for filterSize == 4.

    ff_hscale8to15_4_neon is a complete rewrite. Since the main bottleneck
    here is loading the data from src, this data is loaded a whole block
    ahead and stored back to the stack to be loaded again with ld4. This
    arranges the data for most efficient use of the vector instructions and
    removes the need for completion adds at the end. The number of
    iterations of the C per iteration of the assembly is increased from 4 to
    8, but because of the prefetching, there must be a special section
    without prefetching when dstW < 16.

    This improves speed on Graviton 2 (Neoverse N1) dramatically in the case
    where previously fs=8 would have been required.

    before : hscale_8_to_15__fs_8_dstW_512_neon : 1962.8
    after : hscale_8_to_15__fs_4_dstW_512_neon : 1220.9

    Signed-off-by : Jonathan Swinney <jswinney@amazon.com>
    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DH] libswscale/aarch64/hscale.S
    • [DH] libswscale/aarch64/swscale.c
    • [DH] libswscale/utils.c
  • receive a ffmpeg live streaming with a golang server and echo to a websocket conn

    28 juillet 2017, par Lucas Carvalho

    I’m writing a server in go and need to get a cam video in a ffmpeg client and passes the streaming to websocket users.

    But in my code, the http body received from the ffmpeg client is loaded by a ioutil.ReadAll and cannot make a live broadcast because the body is receiving new values with the video capture.
    How i can take the last frame of the video, send to the websockets, clean the variable and receive the new frame correctly (or i’m doing in the wrong way) ?

    Here is my code to this function :

    //StartClientStream needs a email$clientName$streamName
    func StartClientStream(w http.ResponseWriter, r *http.Request) {

       values := strings.Split(string(mux.Vars(r)["rest"]), "$")

       if len(values) != 3 {
           w.Write([]byte(`{"err":"the passed value does not match with necessary fields"}`))
           return
       }
       //Get user ID
       id, _ := getID(values[0])
       //Take the streaming ClientName
       clientName := id + " - " + values[1]
       //Take the passed Body
       body, _ := ioutil.ReadAll(r.Body)
       //Watch for websockets requests for this video
       for user := range Streaming.User[clientName] {
           conexoes := strings.Split(Streaming.User[clientName][user], "-")
           for c := range conexoes {
               if strings.EqualFold(conexoes[c], values[2]) {
                   //Send the video
                   user.send &lt;- body
               }
           }
       }

    }
  • Merge commit ’f6633c55a3c0e93a5b2bab6aa0692fb608f2a38d’

    23 octobre 2013, par Michael Niedermayer
    Merge commit ’f6633c55a3c0e93a5b2bab6aa0692fb608f2a38d’
    

    * commit ’f6633c55a3c0e93a5b2bab6aa0692fb608f2a38d’ :
    avfilter : Fix typo in Loren’s email address

    Merged-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libavfilter/gradfun.h
    • [DH] libavfilter/vf_gradfun.c
    • [DH] libavfilter/x86/vf_gradfun.c