Recherche avancée

Médias (1)

Mot : - Tags -/école

Autres articles (84)

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

  • Form Analytics for Piwik now available : Find the pain points on your online forms to improve conversions

    14 mars 2017, par InnoCraft — Community

    Hi, this is Tom from InnoCraft, the company of the makers of Piwik Analytics. Do you hate losing your visitors on your online or intranet forms and leaving revenue on the table ? If you feel like us, we have got you covered. Form Analytics gives you all the insights you possibly need to increase your form conversion rates with 100% data ownership and no limits.

    Whether it is a landing page, sign-up form, checkout, cart, squeeze page, feedback form, survey, or a job application form. Online forms have become super critical to all businesses. The problem is, you can only improve what you measure. Otherwise, you never really know what to change on your forms, and whether you make things better or worse.

    -> Read the rest of the story on the Form Analytics Marketplace page.

    What does the new Form Analytics reports look like ?

    Form Analytics adds over 50 new metrics, 15 new reports & widgets, new real time reports, new segments and more to your Piwik.

    To see more screenshots check out the Form Analytics preview or have a look at the Form Analytics website

    Where do I get Form Analytics ?

    Form Analytics is available on the Piwik Marketplace :

    Form Analytics is a premium plugin for Piwik and comes with our 14 day money back guarantee and 1-click installation & updates (all product updates come for free).

    You can also signup for a free Piwik Cloud-hosted trial to discover the power of Form Analytics !

  • WriteToUDP only works on local machine

    26 mai 2017, par Anderson Scouto da Silva

    This script captures a flow entry by ffmpeg and writes to a UDP address.

    The error is that it does not go to the internet, it only stays on the local machine.

    It is not a problem in my internet network, because I made a stream through VLC and opened in another PC and it works normally, with the same parameters, but in this my script is only in the local PC.

    Follow the pictures to help with the question :

    http://imgh.us/1_4575.jpg

    http://imgh.us/2_3278.jpg

    http://imgh.us/3_2694.jpg

    package main

    import (
       "os/exec"
       "io"
       "net"
       "log"
       "fmt"
    )

    func main() {
       // UDP connections
       conn, err := net.ListenUDP("udp", &net.UDPAddr{IP: net.IPv4zero, Port: 0})
       if err != nil {
           log.Fatal(err)
       }

       // Set the write buffer on UDP
       err = conn.SetWriteBuffer(40 * 1024)
       if err != nil {
           log.Fatal(err)
       }

       inputSource := "C:/Users/Administrador/GoglandProjects/CASEncoder/in/teste-4k.mp4"

       // Starts ffmpeg capturing input
       cmdName := "ffmpeg"
       argsPipe1 := []string{
           "-hide_banner",
           "-loglevel", "panic",
           "-re",
           "-i",
           inputSource,
           "-preset",
           "superfast",
           "-c:v",
           "h264",
           "-crf",
           "0",
           "-c",
           "copy",
           "-f", "mpegts", "pipe:1",
       }
       cmdPipe1 := exec.Command(cmdName, argsPipe1...)

       stdoutPipe1, err := cmdPipe1.StdoutPipe()
       if err != nil {
           log.Fatal(err)
       }
       err = cmdPipe1.Start()
       if err != nil {
           log.Fatal(err)
       }

       chunk := make([]byte, 40 * 1024)
       for {
           // reads the output pipe from ffmpeg
           nr, err5 := stdoutPipe1.Read(chunk)
           fmt.Printf("Readed %d bytes\n", nr)

           if nr > 0 {
               validData := chunk[:nr]

               // write to UDP
               nw, err := conn.WriteToUDP(validData, &net.UDPAddr{IP: net.IP{233, 10, 10, 13}, Port: 1234})
               fmt.Printf("Writed %d bytes\n", nw)
               if err != nil {
                   log.Fatal(err)
               }
           }

           if err5 != nil {
               // end of file
               if err5 == io.EOF {
                   break
               }
               continue
           }
       }
    }
  • Writing an image to linux framebuffer distorts the image C++

    8 avril 2021, par max

    Im trying to set up rtsp video stream from teledyne Dalsa Genie Nano camera. For grab images I'm using a framework provided by this company.
For rtsp stream I will use ffmpeg tool that can stream video directly from linux frame buffer.
    
So i tried to write this image via memcpy function and at this moment the image is not recorded correctly. because when i try to take a screenshot from Facebook with ffmpeg in output i have corrupted image.
    
Here's some information :
image from camera
In the framework I have an image object that contains :

    


      

    1. void *address (address of one frame)
    2. 


    3. int width (1280)
    4. 


    5. int height (1024)
    6. 


    7. int depth (1)
    8. 


    


    So I wrote a function :
my function

    


    It's working fine without any errors but when I print image from frame buffer (fb) I have

    


    this

    


    I think it happens because fb device depth is 32 but frame depth is 1.

    


    Am I right ?

    


    I tried to change fb device depth with fbset tool but it returns an error -
console error output

    


    Command I use for taking an image from fb : sudo ffmpeg -f fbdev -framerate 1 -i /dev/fb0 -frames:v 1 screenAA3.jpeg

    


    Can someone tell me what I'm doing wrong ?