Recherche avancée

Médias (0)

Mot : - Tags -/interaction

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (27)

  • Taille des images et des logos définissables

    9 février 2011, par

    Dans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
    Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...)

  • Configuration spécifique d’Apache

    4 février 2011, par

    Modules spécifiques
    Pour la configuration d’Apache, il est conseillé d’activer certains modules non spécifiques à MediaSPIP, mais permettant d’améliorer les performances : mod_deflate et mod_headers pour compresser automatiquement via Apache les pages. Cf ce tutoriel ; mode_expires pour gérer correctement l’expiration des hits. Cf ce tutoriel ;
    Il est également conseillé d’ajouter la prise en charge par apache du mime-type pour les fichiers WebM comme indiqué dans ce tutoriel.
    Création d’un (...)

  • Encodage et transformation en formats lisibles sur Internet

    10 avril 2011

    MediaSPIP transforme et ré-encode les documents mis en ligne afin de les rendre lisibles sur Internet et automatiquement utilisables sans intervention du créateur de contenu.
    Les vidéos sont automatiquement encodées dans les formats supportés par HTML5 : MP4, Ogv et WebM. La version "MP4" est également utilisée pour le lecteur flash de secours nécessaire aux anciens navigateurs.
    Les documents audios sont également ré-encodés dans les deux formats utilisables par HTML5 :MP3 et Ogg. La version "MP3" (...)

Sur d’autres sites (3468)

  • execute shell script from php

    11 juillet 2016, par Shorty

    when i use a ffmpeg command in shell_exec it works, but when i want to execute the shellscript with a given value it doesn’t ...

    $cmd='ffmpeg -i /home/shorty/stormfall/'.$upld.' -filter_complex "[0:v]boxblur=10[bg];[0:v]crop=1280:625:00:45[fg];[bg][fg]overlay=00:45" -c:v libx264  -c:a copy /home/shorty/stormfall/swf/temp.flv';

    works but ;

    $cmd="./home/shorty/stormfall/members/moviefilters.sh /home/shorty/stormfall/$upld";

    not,

    i use

    file=$1
    ffmpeg -i $1 -filter_complex "[0:v]boxblur=10[bg];[0:v]crop=1280:625:00:45[fg];[bg][fg]overlay=00:45" -c:v libx264  -c:a copy /home/shorty/stormfall/swf/temp.flv

    in script to get the value

    any ideas to fix ?

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

  • h264_parser : Initialize the h264dsp context in the parser as well

    5 août 2013, par Ben Avison
    h264_parser : Initialize the h264dsp context in the parser as well
    

    Each AVStream struct for an H.264 elementary stream actually has two
    copies of the H264DSPContext struct (and in fact all the other members
    of H264Context as well) :

    ((H264Context *) ((AVStream *)st)->codec->priv_data)->h264dsp
    ((H264Context *) ((AVStream *)st)->parser->priv_data)->h264dsp

    but only the first of these was actually being initialised. This
    prevented the addition of platform-specific implementations of
    parser-related functions.

    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DH] libavcodec/h264_parser.c