Recherche avancée

Médias (1)

Mot : - Tags -/publicité

Autres articles (112)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • (Dés)Activation de fonctionnalités (plugins)

    18 février 2011, par

    Pour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
    SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
    Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
    MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)

Sur d’autres sites (11799)

  • Is there a way to get ffmpeg to continuously output streaming content to s3 ?

    24 janvier 2021, par Pineapple Joe

    I have ffmpeg receiving an rtsp stream and its outputting hls files. I want those files to be continuously stored on s3. its not clear how to do this.

    


    I've seen other similar posts but the solutions are always single file outputs piped to the aws cli. In this case I have an indefinite incoming stream and multiple files to output.

    


    This is what I currently have.

    


       ffmpeg <input stream="stream" here="here" />&#xA;   -f segment \&#xA;   -segment_list_flags live \&#xA;   -segment_time 1 \&#xA;   -segment_list_size 5 \&#xA;   -segment_format mpegts \&#xA;   -segment_list public/st/streaming.m3u8 \&#xA;   -segment_list_type m3u8 \&#xA;   -segment_list_entry_prefix ./ \&#xA;   public/st/%d.ts&#xA;

    &#xA;

    I also have limited space as it will be running in lambda so its not like I can just store the files locally then copy after its done.

    &#xA;

    is this possible ?

    &#xA;

  • How to create multiple quality video streaming system by using ffmpeg ?

    22 avril 2021, par rahulchanchardbabaji

    I am creating a streaming app like youtube while I am creating it I am facing many challenges related to different quality video converting.

    &#xA;

    My question is

    &#xA;

    Should I convert orginal video file into multiple video file (like 240p, 480p and 720p) and storage them ? Or there is anyway where I can create a single video file which can be play in multiple qualities like youtube.

    &#xA;

  • Streaming engines best practice in C

    20 novembre 2014, par ash

    LANG : C / ENV : Linux

    I am developing a streaming engine, for now I am able to start, stop and pause the stream, but seeking is the operation that’s giving me a lot of headache, I already asked a question here before and fixed some issues inside the code from the answers.

    Using lseek() function, I am passing the open streaming file descriptor as first argument, plus I am using UDP for transmitting, something like the following code :

    transport_fd = open(tsfile, O_RDONLY);
    int offset = 1024;
    off_t offsetIndicator;
    if ((offsetIndicator=lseek(transport_fd, offset, SEEK_CUR))&lt;0) printf("Error seeking\n");

    Whenever I try to seek while streaming, the streaming stops and the pictures hangs.

    Is there anything I should pay attention to ?, i.e : like attempting to sleep() or nanosleep() after seeking into the file in order for the changes to take effect.

    I couldn’t find examples, papers or realted articles for best practices in such engines.

    EDIT :

    After testing, it seems like the file continued to stream but receiving devices on the network didn’t catch the stream connection anymore, and calculating the time it took to finish after subtract seeking time, the stream seems to be finished normally.

    CODE SNIPPET :

    while (!completed)
    {
       while (/* Comparing conditions */ &amp;&amp; !completed)
       {
           if (seekLck == 1) // seekLck is a semaphore to test seek signal from father process initiated by 0
           {
               int offset = 1024;
               off_t offsetIndicator;
               if ((offsetIndicator=lseek(transport_fd, offset, SEEK_CUR))&lt;0)
                   printf("Error seeking\n");
               nanosleep(&amp;nano_sleep_packet, 0); //Try to sleep to see if it is still hanging, didn't work
               seekLck = 0;
           }  
           len = read(transport_fd, send_buf, packet_size);
           if(len &lt; 0) {
               fprintf(stderr, "File read error \n");
               completed = 1;
           }
           else if (len == 0)
           {
               fprintf(stderr, "Sent done\n");
               completed = 1;
           }
           else
           {
               sent = sendto(sockfdstr, send_buf, len, 0, (struct sockaddr *)&amp;addr, sizeof(struct sockaddr_in));
               if(sent &lt;= 0)
               {
                   perror("send(): error ");
                   completed = 1;
               }
           }
       }
       nanosleep(&amp;nano_sleep_packet, 0);
    }
    close(transport_fd);
    close(sockfdstr);
    free(send_buf);
    printf("cleaning up\n");
    return 0;
    }