Recherche avancée

Médias (2)

Mot : - Tags -/documentation

Autres articles (54)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

  • MediaSPIP Player : problèmes potentiels

    22 février 2011, par

    Le lecteur ne fonctionne pas sur Internet Explorer
    Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
    Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)

Sur d’autres sites (11680)

  • How do you include ffmpeg in a php enviroment

    6 février 2019, par Joseph Williamson

    So looking through documentation and answers on stack overflow all leave out one detail thats throwing me off and thats how to actually include the library

    Following along the code listed here ffmpeg-php to create thumbnail of video

    class VideoTile
    {
       public static function createMovieThumb($srcFile, $destFile = "test.jpg")
       {
           // Change the path according to your server.
           $ffmpeg_path = 'D:\\ffmpeg\\bin\\';

           $output = array();

           $cmd = sprintf('%sffmpeg -i %s -an -ss 00:00:05 -r 1 -vframes 1 -y %s',
               $ffmpeg_path, $srcFile, $destFile);

           if (strtoupper(substr(PHP_OS, 0, 3) == 'WIN'))
               $cmd = str_replace('/', DIRECTORY_SEPARATOR, $cmd);
           else
               $cmd = str_replace('\\', DIRECTORY_SEPARATOR, $cmd);

           exec($cmd, $output, $retval);

           if ($retval)
               return false;

           return $destFile;
       }
    }

    The ffmpeg path is D:\\ffmpeg\\bin\\ I have downloaded the latest release for ffmpeg(4.1) and the uncompressed file does not contain any directory for bin

    I am very confused as to actually use this even with detailed code saying how to if I do not even know how to dictate the proper path

    I also realize that the link is almost 5 years old but as there are no post outlining how to do this in so long I figure its about time for some clear,concise, detailed solutions

  • How to make terminal refer to more recent ffmpeg installation path (currently refers to Anaconda's installation) ? [on hold]

    29 janvier 2019, par John Doe

    I would like to use ffmpeg to convert a WAV audio file to MP3, but ffmpeg doesn’t have a native MP3 encoder. Their documentation says you can use the external libmp3lame encoding library to achieve this, which "requires the presence of the libmp3lame headers and library during configuration" by "explicitly configur[ing] the build with —enable-libmp3lame."

    I tried installing the latest version of ffmpeg to my desktop and followed the configuration instructions to include libmp3lame. However, when I tried it out in my terminal, I got an error saying that ffmpeg could not find the libmp3lame encoder.

    When I enter "which ffmpeg" into my terminal, the path I am given refers to another, older installation of ffmpeg that was included automatically when I installed Anaconda years ago.

    How can I change the path of the installation my terminal refers to so that when I execute ffmpeg commands, it will use the version I more recently configured to include libmp3lame on my desktop and not the older installation included in Anaconda’s directories ?

  • ffmpeg recoded mp4 files error on mobiles in Video JS

    10 janvier 2019, par KJS

    We are converting seriously old .flv files to MP4 with FFMPEG. These are at least 10 years old.
    Back then all were rendered with early versions of Adobe Premiere.

    On desktop browsers all the files work and stream (...watching them feels like going back a century !)

    But when requesting the videos on the same pages on mobile devices (android and ios) Video JS doesn’t even show up.
    Perhaps the codec is just too old, but I was wondering if there could be another reason when converting them with this line :

    for i in *.flv; do ffmpeg -i "$i" "${i%.*}.mp4"; done

    If not, is it possible to detect this in Video JS, so we can show an announcement that the video is only visible on desktops ?

    I hope someone here has this knowledge !

    added on request of llogan

    ffmpeg version N-78967-gbaec6d8 Copyright (c) 2000-2016 the FFmpeg developers   built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-4)   configuration: --prefix=/root/ffmpeg_build
    --extra-cflags=-I/root/ffmpeg_build/include --extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --pkg-config-flags=--static --enable-gpl --enable-nonfree --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265   libavutil      55. 19.100 / 55. 19.100   libavcodec     57. 28.100 / 57. 28.100   libavformat    57. 28.100 / 57. 28.100   libavdevice    57.  0.101 / 57.  0.101   libavfilter     6. 39.102 /
    6. 39.102   libswscale      4.  0.100 /  4.  0.100   libswresample   2.  0.101 /  2.  0.101   libpostproc    54.  0.100 / 54.  0.100 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'a_4293_06.mp4':   Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf57.28.100   Duration: 00:01:40.10, start: 0.023220, bitrate: 492 kb/s
       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 320x240, 376 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default)
       Metadata:
         handler_name    : VideoHandler
       Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 123 kb/s (default)
       Metadata:
         handler_name    : SoundHandler At least one output file must be specified