Recherche avancée

Médias (91)

Autres articles (106)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

Sur d’autres sites (11254)

  • Revision 1efa79d32f : Remove i4x4_pred. It remains as a local define in rdopt.c so we can distinguish

    30 mai 2013, par Ronald S. Bultje

    Changed Paths :
     Modify /vp9/common/vp9_blockd.h


     Modify /vp9/common/vp9_entropymode.c


     Modify /vp9/common/vp9_findnearmv.h


     Modify /vp9/common/vp9_loopfilter.c


     Modify /vp9/decoder/vp9_decodemv.c


     Modify /vp9/decoder/vp9_decodframe.c


     Modify /vp9/encoder/vp9_firstpass.c


     Modify /vp9/encoder/vp9_rdopt.c



    Remove i4x4_pred.

    It remains as a local define in rdopt.c so we can distinguish between
    split and non-split modes in the RD loop, but disappears outside that
    scope in the codec.

    Change-Id : I98c18fe5ab7e4fbd1d6620ec5695e2ea20513ce9

  • Revision f62805fae0 : Make local functions in vp9_dct.c static This commit limits the scope of 1-D DC

    21 juillet 2015, par Jingning Han

    Changed Paths :
     Modify /vp9/encoder/vp9_dct.c


     Modify /vp9/encoder/vp9_dct.h



    Make local functions in vp9_dct.c static

    This commit limits the scope of 1-D DCT and ADST functions within
    vp9_dct.c and makes them static. This largely clears out the cross
    referencing issue between vp9_dct.c and the SIMD optimizations.

    Change-Id : If7cac478b11bb32328ccf70a9f60b709dad43d7f

  • 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
           }
       }
    }