Recherche avancée

Médias (91)

Autres articles (91)

  • L’utiliser, en parler, le critiquer

    10 avril 2011

    La première attitude à adopter est d’en parler, soit directement avec les personnes impliquées dans son développement, soit autour de vous pour convaincre de nouvelles personnes à l’utiliser.
    Plus la communauté sera nombreuse et plus les évolutions seront rapides ...
    Une liste de discussion est disponible pour tout échange entre utilisateurs.

  • Les statuts des instances de mutualisation

    13 mars 2010, par

    Pour des raisons de compatibilité générale du plugin de gestion de mutualisations avec les fonctions originales de SPIP, les statuts des instances sont les mêmes que pour tout autre objets (articles...), seuls leurs noms dans l’interface change quelque peu.
    Les différents statuts possibles sont : prepa (demandé) qui correspond à une instance demandée par un utilisateur. Si le site a déjà été créé par le passé, il est passé en mode désactivé. publie (validé) qui correspond à une instance validée par un (...)

  • MediaSPIP Init et Diogène : types de publications de MediaSPIP

    11 novembre 2010, par

    À l’installation d’un site MediaSPIP, le plugin MediaSPIP Init réalise certaines opérations dont la principale consiste à créer quatre rubriques principales dans le site et de créer cinq templates de formulaire pour Diogène.
    Ces quatre rubriques principales (aussi appelées secteurs) sont : Medias ; Sites ; Editos ; Actualités ;
    Pour chacune de ces rubriques est créé un template de formulaire spécifique éponyme. Pour la rubrique "Medias" un second template "catégorie" est créé permettant d’ajouter (...)

Sur d’autres sites (10552)

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

  • 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':
    configure: error: cannot find ffmpeg
    See `config.log' 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':
    configure: error: cannot find ffmpeg
    See `config.log' 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':
    configure:15937: error: cannot find ffmpeg

    What am I missing here ?
    Thx !

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