Recherche avancée

Médias (91)

Autres articles (92)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

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

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (4600)

  • avcodec/h264_slice : Check picture structure before setting the related fields

    7 février 2015, par Michael Niedermayer
    avcodec/h264_slice : Check picture structure before setting the related fields
    

    This might fix a hypothetical race condition

    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libavcodec/h264_slice.c
  • Setting up a server to redistribute a webcam stream

    22 janvier 2013, par Martin Taleski

    I am trying to set up a streaming server that will receive a RTP stream and redistribute it.

    I am able to create the stream with :

    ffmpeg -f video4linux2 -i /dev/video0 -vcodec mpeg2video -r 25 -pix_fmt yuv420p -me_method epzs -b 2600k -bt 256k -f rtp rtp://myserver:8090/

    I see the UDP packets coming to my server, but I was not able to set up a feed and a stream with ffserver. I can also view the stream though VLC if I change the destination IP of the server with my local IP.

    I am now considering writing a daemon in python or perl or C, that will read the UDP packets coming on port 8090 on the server, and distribute them on another port. Not sure if this is a great idea, but can not find any other clues...

    Any clues how to make this happen ?

  • Dynamically generate list of arguments for ffmpeg in C

    5 mars 2013, par OregonTrail

    I'm currently writing a video conversion daemon in C. It calls ffmpeg using execvp.

    I've created a struct called "ffmpeg_job" that represents a conversion job to be completed. I'd like to dynamically allocate the arguments to ffmpeg for each job, so that I can free one of these structs and its list of arguments after the job is completed.

    I started writing the function that dynamically allocates the list of arguments, but I feel like the way I'm going about it is quite naive. The code is below.

    Is there a better way to do this ?

    EDIT : I'm thinking now that I will have a static string list of arguments for each level of quality, then sprintf into it and strtok it into a char **

    char ** generate_arguments(
       char *filepath,
       ph5v_format format,
       ph5v_quality quality)
    {
       char ** arguments;
       if (format == ph5v_MP4) {
           mp4_arguments = {
               "-i", "%%INPUT FILEPATH 1",
               "-vcodec", "libx264",
               "-preset", "%%X264 PRESET 5",
               "-b:v", "%%VIDEO BITRATE 7",
               "-strict", "-2",
               "-acodec", "aac",
               "-b:a", "%%AUDIO BITRATE 13",
               "-ar", "%%AUDIO SAMPLERATE 15",
               "-ac", "2",
               "-y", "%%OUTPUT FILEPATH 19"
           }

           arguments = malloc(sizeof(char*) * 20);

           int i;
           for (i = 0; i &lt; 20; i++) {
               if (i == 1) {
                   char *argument = malloc(strlen(filepath) + 1);
                   strcpy(argument, filepath);
                   arguments[1] = argument;
               } else if (i == 5) {
                   if (quality == ph5v_LOW || quality == ph5v_MEDIUM) {
                       char *argument = malloc(strlen("fast") + 1);
                       strcpy(argument, "fast");
                       arguments[5] = argument;
                   } else if (quality == ph5v_HIGH || quality == ph5v_ULTRA ) {
                       char *argument = malloc(strlen("medium") + 1);
                       strcpy(argument, "medium");
                       arguments[5] = argument;
                   }
               } else if (i == 7) {
                   if (quality ==
               .
               .
               .