Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP

Autres articles (40)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

Sur d’autres sites (3486)

  • Convert raw image using open-source library with permissive license

    30 août 2011, par Brian

    I need to convert a raw, rgb32-formatted image to a PNG with a library (written in, in order of preference, Java, C, C++) having a permissive (e.g. BSD or Apache) license.

    I'm able to convert the image using FFmpeg with this call :

    ffmpeg.exe -vframes 1 -vcodec rawvideo -f rawvideo -pix_fmt rgb32 -s 20x40 -i infile -f image2 -vcodec png out.png

    where 20x40 is the width by the height.

    But, sadly, I need to avoid FFmpeg due to its license.

    I've seen people speculate that libpng could do the job, but I'm skeptical given the documentation I've seen at the libpng site. Perhaps you'll give an example.

    I don't know what the rawvideo and rgb32 values mean to FFmpeg, so I asked this question.

    EDIT 1 : edited the ffmpeg call to show width x height.

  • How to get a loading return value

    5 septembre 2011, par anthonypliu

    I am trying to create a loading progress bar for my function :

    private string ConvertToFLV(string phyicalFilePath)
           {
               if (Path.GetExtension(phyicalFilePath).Equals(".flv")) return phyicalFilePath;

                   var argument = string.Format(@"-i ""{0}"" -vcodec flv -f flv -r 29.97 -s 320x240 -aspect 4:3 -b 300k -g 160 -cmp dct  -subcmp dct  -mbd 2 -flags +aic+cbp+mv0+mv4 -trellis 1 -ac 1 -ar 22050 -ab 56k ""{1}""", phyicalFilePath, Path.ChangeExtension(phyicalFilePath, "flv"));
                  // var argument = string.Format("-i {0} -crf 35.0 -vcodec libx264 -acodec libfaac -ar 48000 -ab 128k -coder 1 -flags +loop -cmp +chroma -partitions +parti4x4+partp8x8+partb8x8 -me_method hex -subq 6 -me_range 16 -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -b_strategy 1 -threads 0 {1}", phyicalFilePath, Path.ChangeExtension(phyicalFilePath, "mp4"));
                   File.Delete(Path.ChangeExtension(phyicalFilePath, "flv"));

                   ProcessStartInfo process = new ProcessStartInfo(ffmpegPhysicalPath, argument);
                   Process proc = new Process();
                   proc.StartInfo = process;
                   proc.Start();
                   proc.WaitForExit();

                   return Path.ChangeExtension(phyicalFilePath, "flv");



           }

    Whent he command "proc.WaitForExit()" is invoked, I want to be able to return some type of load percentage. In the frontend I just have a gif loading image, but I want to be able to show progress on this, is there a way to do this ?

  • FFMPEG : Videos converted from FLV to MP4 does not play in iPod but works in iPhone

    3 juin 2012, par Shakti Singh

    I used below command to convert videos from FLV,M4V to MP4.

    ffmpeg -y -i video_1336406262.flv -vcodec libx264 -vpre slow -vpre
    ipod640 -b 250k -bt 50k -acodec libfaac -ac 2 -ar 48000 -ab 64k -s
    480x320 video_1336406262.mp4

    The videos converted from M4V to MP4 are playing very well in both iPhone and iPod but the videos converted from FLV to MP4 does not work in iPod but does in iPhone.

    In the video area of HTML5 page iPod even does not show the play symbol.

    Could someone help here ?

    I am using the same command to convert from both FLV and M4V to MP4.

    Thanks