Recherche avancée

Médias (91)

Autres articles (68)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

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

Sur d’autres sites (11142)

  • how to compress and change video format by ffmpeg

    29 juillet 2015, par sonam Sharma

    Hello all i have successfully installed ffmpeg into my server for using it for my video hosting site.

    Now i am having a small issue please help me with this, i am really stuck here ...

    I am uploading a video bya form which is like

     <form action="somepage.php" method="post">
     <input type="file" />
     </form>

    And on the action somepage.php i have something like this

     &lt;?php
    require 'vendor/autoload.php';
    $ffmpeg = FFMpeg\FFMpeg::create();
    $video = $ffmpeg->open('test/sample3.mp4');
    $video
    ->filters()
    ->resize(new FFMpeg\Coordinate\Dimension(320, 240))
    ->synchronize();
     $video
    ->frame(FFMpeg\Coordinate\TimeCode::fromSeconds(19))
    ->save('test/clip/frame12223.jpg');
     $video
    ->save(new FFMpeg\Format\Video\X264(), 'export-x264.mp4')
    ->save(new FFMpeg\Format\Video\WMV(), 'export-wmv.wmv')
    ->save(new FFMpeg\Format\Video\WebM(), 'export-webm.webm');

    ?>

    I know the action page is wrong but i have no idea what to put there i need to get a frame out of that video after 13 seconds and convert and compress the video.

    Please just help me with some sample codes or any link please ..

  • FFMPEG with SoX : configure : error : cannot find ffmpeg

    17 janvier 2014, par Alberto Megía

    So I am trying to install in my Ubuntu Desktop 12.04 SoX with FFMPEG support for m4a files.

    I have followed this instructions to install FFMPEG, installing only certain encoders. Finally, this is my set up :

    ffmpeg version git-2014-01-17-3ca7085 Copyright (c) 2000-2014 the FFmpeg developers
     built on Jan 17 2014 12:36:01 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
     configuration: --prefix=~/ffmpeg_build --extra-cflags=-I~/ffmpeg_build/include --extra-ldflags=-L~/ffmpeg_build/lib --bindir=~/bin --extra-libs=-ldl --enable-gpl --enable-libass --enable-libfdk-aac --enable-libmp3lame --enable-nonfree
     libavutil      52. 62.100 / 52. 62.100
     libavcodec     55. 48.101 / 55. 48.101
     libavformat    55. 23.103 / 55. 23.103
     libavdevice    55.  5.102 / 55.  5.102
     libavfilter     4.  1.100 /  4.  1.100
     libswscale      2.  5.101 /  2.  5.101
     libswresample   0. 17.104 /  0. 17.104
     libpostproc    52.  3.100 / 52.  3.100
    Hyper fast Audio and Video encoder

    Then, I wget SoX 14.4.1 version and try to configure with FFMPEG support like this :

    ./configure --with-ffmpeg

    But I get this error :

    checking for FFMPEG... no
    checking libavformat/avformat.h usability... no
    checking libavformat/avformat.h presence... no
    checking for libavformat/avformat.h... no
    checking ffmpeg/avformat.h usability... no
    checking ffmpeg/avformat.h presence... no
    checking for ffmpeg/avformat.h... no
    configure: error: in `~/sox-14.4.1&#39;:
    configure: error: cannot find ffmpeg
    See `config.log&#39; for more details

    So I try to set PKG_CONFIG_PATH environment variable :

    PKG_CONFIG_PATH=~/ffmpeg_build/lib/pkgconfig
    ./configure --with-ffmpeg

    Getting :

    checking for FFMPEG... yes
    checking libavformat/avformat.h usability... yes
    checking libavformat/avformat.h presence... yes
    checking for libavformat/avformat.h... yes
    checking for av_open_input_file in -lavformat... no
    configure: error: in `~/sox-14.4.1&#39;:
    configure: error: cannot find ffmpeg
    See `config.log&#39; for more details

    Checking 'config.log' I see the following error :

    | #define HAVE_LIBAVFORMAT_AVFORMAT_H 1
    | /* end confdefs.h.  */
    |
    | /* Override any GCC internal prototype to avoid an error.
    |    Use char because int might match the return type of a GCC
    |    builtin and then its argument prototype would still apply.  */
    | #ifdef __cplusplus
    | extern "C"
    | #endif
    | char av_open_input_file ();
    | int
    | main ()
    | {
    | return av_open_input_file ();
    |   ;
    |   return 0;
    | }
    configure:15862: result: no
    configure:15935: error: in `~/sox-14.4.1&#39;:
    configure:15937: error: cannot find ffmpeg

    What am I missing here ?
    Thx !

  • Anomalie #2778 : En back office, l’URL indiquée sous le titre d’un article n’est pas la dernière c...

    2 juillet 2012, par cedric -

    L’url qui a la priorité est celle avec un id_parent renseigné, ce qui n’est pas le cas de ton URL personalisée Le décodage produit une 404 car ton URL est arborescente (présence de /) donc c’est le module "arborescent" qui est chargé de décoder, et ton format de représentation ne colle pas au format (...)