Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

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

Autres articles (48)

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

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

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

Sur d’autres sites (3719)

  • How to install ffmpeg for generating thumbnail images ? I got no package ffmpeg available while run on Linux(centos) terminal

    16 mai 2015, par Intrepid Uliyar

    How to install ffmpeg for generating thumbnail images ? I got "no package ffmpeg available" while run on Linux(centos) terminal by using "yum ffmpeg install" command.

    I need to install ffmpeg for generating thumbnail images, it’s working fine in localhost(Windows), but doesn’t work in Linux (I don’t know server platform). I have refer some website. In that they put like exe are not execute in linux server, we need to install ffmpeg programmatically. Can anyone give me suggestion. I have refer some website, but that wasn’t useful.

    My code :

    $video = "../../".$down_path;
       $rand=mt_rand(111111,999999);
       //where to save the image
       $image1 = "../../completed_project/thumb/".$rand.'ss.jpg';
       $image2 = "../../completed_project/thumb/".$rand.'uu.jpg';
       $image3 = "../../completed_project/thumb/".$rand.'rr.jpg';

       $thumb_image1 = "completed_project/thumb/".$rand.'ss.jpg';
       $thumb_image2 = "completed_project/thumb/".$rand.'uu.jpg';
       $thumb_image3 = "completed_project/thumb/".$rand.'rr.jpg';

       //time to take screenshot at
       $interval1 = 2;
       $interval2 = 4;
       $interval3 = 5;
       //screenshot size
       $size = '320x240';

       //ffmpeg command
       $cmd1 = "$ffmpeg -i $video -deinterlace -an -ss $interval1 -f mjpeg -t 1 -r 1 -y -s $size $image1 2>&1";
       $cmd2 = "$ffmpeg -i $video -deinterlace -an -ss $interval2 -f mjpeg -t 1 -r 1 -y -s $size $image2 2>&1";  
       $cmd3 = "$ffmpeg -i $video -deinterlace -an -ss $interval3 -f mjpeg -t 1 -r 1 -y -s $size $image3 2>&1";  
       $return = `$cmd1`.`$cmd2`.`$cmd3`;
       print_r($cmd1);

    I’ve got this output :

    ffmpeg.exe -i ../../completed_project/606560114793SK_PROMO-45s.mp4 -deinterlace -an -ss 2 -f mjpeg -t 1 -r 1 -y -s 320x240 ../../completed_project/thumb/362796ss.jpg 2>&1
  • Cross-compile ffmpeg for arm64 on x64 host machine (macOS) ?

    13 juin 2021, par waldenCalms

    I need to cross-compile ffmpeg for arm64 (M1 Macs, to be specific) from my x64 host Mac. I am able to build ffmpeg for my host architecture without issues (i.e. I have a working x64 build script and all the pre-requisites installed), but now need to modify my script to build for arm64.

    


    First of all, is this even possible / supported ? If so, how ?

    


    The official ffmpeg compilation guide doesn't mention anything helpful. I have looked at several code snippets online and tried using the following configure arguments, with no luck :

    


    --enable-cross-compile \
--arch=arm64 \


    


    I get the following error :

    


    libavutil/aarch64/bswap.h:38:13: error: invalid instruction mnemonic 'rev'


    


  • how to encode videos for the web and mobile phones using ffmpeg

    3 février 2012, par Arnar Yngvason

    I'm running a website where users can upload their videos and they are all trancoded to the same format (mp4 a.t.m.). Up until now I've been using zencoder (transcoding as a service). But I want to start transcoding the videos on my own server.

    What I would like to know is :

    • Which formats should I transcode to and which sizes are needed for the videos to play on most mobile phones ?
    • Do I actually need webm ?
    • Which is better : CRF or VRF ?
    • I would like the videos to have the same bitrate/quality as the originals. Can I set a max ?
    • Is there a max bitrate I should not exceed if I want to videos to play everywhere ?

    If someone would be so kind to write down the commands I need and explain how they work and what they do, I would be very thankful :)