Recherche avancée

Médias (91)

Autres articles (49)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

Sur d’autres sites (8844)

  • Evolution #4350 : Faire l’ajout de la config mini dans le paquet.xml d’ecrire

    24 septembre 2019, par b b

    Champomy pour tout le monde :p

  • Anomalie #3475 : Une mini coquille dans une clé de chaîne de langue du core

    12 juin 2015, par b b

    Arf, je pensais que erational en avait causé sur IRC avant d’envoyer la modif, alerte rouge !

  • Sending big packets gets Bad Address error

    30 mars 2012, par Roi

    Im writing a live webcam stream using ffmpeg and sdl on C.
    my platform is linux.

    my application is a client server based.
    The client is reading from the webcam, produce an AVPacket, then send to server.

    My problem is, that the AVPacket struct has a member named data which is approximately 600k.
    At first, i had not checked the send() return value,
    So, of course the packet had failed to send completely.

    But after I checked, the send() returns Bad Address error at the second iteration of the big packet.
    the length of the data packet must be correct because is supplied from the AVPacket struct.

    It sends 2 members of the AVPacket before, so the server is up and functional.

    The problematic section :

       int send_video_data(video_client_t *client, void* buf, int length)
       {
           int rc;

           while (length > 0)
           {
              if ((rc = send(client->sockfd, buf, length, 0)) == -1) {
                        perror("failed sending data to server");
                        exit(1);
               }

               length-=rc;
               buf+=rc;
           }

           return 0;

       }

    Any one got any ideas why it's not working ?
    Thanks in advanced !