Recherche avancée

Médias (29)

Mot : - Tags -/Musique

Autres articles (10)

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

  • Selection of projects using MediaSPIP

    2 mai 2011, par

    The examples below are representative elements of MediaSPIP specific uses for specific projects.
    MediaSPIP farm @ Infini
    The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)

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

  • Anomalie #4446 : Avec BigUp, le bouton [Téléverser] ne sert à rien

    11 mars 2020, par tcharlss (*´_ゝ`)

    Du coup entre temps, il me semble que le dépôt a été migré sur gitea @RealET : https://git.spip.net/spip/bigup

  • Why my ffmpeg libs are so large ? [on hold]

    9 avril 2014, par user3504221

    I compiled ffmpeg libs on my Ubuntu 64-bits using the following script :

      mkdir ~/ffmpeg_sources

    #x264

    cd ~/ffmpeg_sources
      wget http://download.videolan.org/pub/x264/snapshots/last_x264.tar.bz2
      tar xjvf last_x264.tar.bz2
      cd x264-snapshot*
      ./configure --prefix="$HOME/ffmpeg_build" --bindir="$HOME/bin" --enable-static --disable-asm
      make
      make install
      make distclean

    #FFmpeg

    cd ~/ffmpeg_sources
      wget http://ffmpeg.org/releases/ffmpeg-snapshot.tar.bz2
      tar xjvf ffmpeg-snapshot.tar.bz2
      cd ffmpeg
      PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig"
      export PKG_CONFIG_PATH
      ./configure --prefix="$HOME/ffmpeg_build" --extra-cflags="-I$HOME/ffmpeg_build/include" \
      --extra-ldflags="-L$HOME/ffmpeg_build/lib" --bindir="$HOME/bin" --extra-libs="-ldl" --   enable-gpl \
     --enable-libx264 --enable-x11grab --disable-yasm                                                                                                                              
      make
      make install
      make distclean
      hash -r

    But the final libs are really large (For example, libavcodec.a > 140 Mb). Anybody know why my libs are so large ?

    EDIT

    My Solutions :

    • add the option "—disable-debug" to the ./configure. The size of my libavcodec fell from 150Mb to 12Mb !
    • Remove all unnecessary codecs : Add the options -disable-encoders, —disable-decoders and then add only codecs you want with —enable-encoder=NAME and —enable-decoder=NAME. Print the list using ./configure —list-encoders —list-decoders. see ./configure —help for more information. (My final libavcodec has a size of 4Mo)
  • ffmpeg in AWS EBS Php Environment

    3 janvier 2018, par Shihas

    I did a project in Codeigniter framework and uploaded to AWS EBS Php environment.

    In the below function I’m trying to create a thumbnail for the uploading video using ffmpeg.

    function test()
    {
       if($_FILES['video']['name'])
       {
           $extension = pathinfo($_FILES['video']['name'], PATHINFO_EXTENSION);

           $video_file = 'vid_'.time().rand(0,10000000);
           $video_file_name = $video_file.'.'.$extension;
           $video_thumb = $video_file.'.png';

           $path = base_url('/assets/portfolio_video/').$video_file_name;
           move_uploaded_file($_FILES["video"]["tmp_name"],$path);
           echo shell_exec("/usr/bin/ffmpeg -i /home/ubuntu/project/assets/portfolio_video/$video_file_name -ss 00:00:02.000 -vframes 1 /home/ubuntu/project/assets/thumbnail/$video_thumb");

           echo "File Name: ".$video_file_name."";
           echo "<img src="http://stackoverflow.com/feeds/tag/&#034;.base_url(&#034;assets/thumbnail/&#034;).$video_thumb.&#034;" style='max-width: 300px; max-height: 300px' />";
       }else{
           $this->load->view('test');
       }
    }  

    Here the problem was the video file itself not uploading. I just want to know why its not uploading files in AWS. But it works fine in my local server.

    Now I try to create a thumbnail for the already existing video in the server.

    Path of video file : /home/ubuntu/123.mp4

    Code executed :

    function test()
    {
       echo shell_exec("/usr/bin/ffmpeg -i /home/ubuntu/123.mp4 -ss 00:00:02.000 -vframes 1 /home/ubuntu/thumbnail.png");
    }

    But still the thumbnail is not creating.

    NOTE : When I execute the terminal command ffmpeg -i /home/ubuntu/123.mp4 -ss 00:00:02.000 -vframes 1 /home/ubuntu/thumbnail.png directly in the AWS server terminal its create the thumbnail successfully.