Recherche avancée

Médias (91)

Autres articles (112)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

Sur d’autres sites (13177)

  • ffmpeg - produces corrupted file

    1er mai 2015, par pomegranate

    I have a mp4 file that I need to convert to avi to run a matlab script on. This script strips the file of any audio, so then I have to merge it back with the audio and then reconvert the avi to mp4. I’m doing this in a number of steps, and am uncertain at which point I’m screwing the commands up... basically, the final mp4 file I create it corrupted and cannot be played in quicktime (though it does work in VLC).

    Here are the steps I am taking :

    1) ffmpeg -i original.mp4 -acodec copy -vcodec copy original.avi
      This converts mp4 to avi.
    2) ffmpeg -i original.mp4 -acodec copy original.aac
      This gets the audio from the mp4.
    3) Run matlab script, which produces new-no-sound.avi
    4) ffmpeg -i new-no-sound.avi -i original.aac -c:v copy -c:a aac -strict experimental new-with-sound.avi
      This merges the old audio with the new avi file
    5) ffmpeg -i new-no-sound.avi -c:v libx264 -crf 19 -preset slow -c:a libfaac -b:a 192k -ac 2 final-version.mp4
      This converts the new merged file to mp4.

    Here’s the ffmpeg -i from the original.mp4 :

     Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2mp41
    encoder         : Lavf54.29.104
    Duration: 00:00:01.77, start: 0.000000, bitrate: 9920 kb/s
    Stream #0:0(eng): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 9978 kb/s, 59.94 fps, 59.94 tbr, 2997 tbn, 2997 tbc (default)
    Metadata:
     handler_name    : VideoHandler
    Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, mono, fltp, 52 kb/s (default)
    Metadata:
     handler_name    : SoundHandler

    And here is it for new-no-sound.avi :

    Input #0, avi, from 'new-no-sound.avi':
    Duration: 00:00:02.12, start: 0.000000, bitrate: 1325789 kb/s
    Stream #0:0: Video: rawvideo, bgr24, 1280x720, 1336298 kb/s, 59.94 fps, 59.94 tbr, 59.94 tbn, 59.94 tbc

    Finally, here it is for final-version.mp4

    Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf55.48.100
    Duration: 00:00:02.21, start: 0.023220, bitrate: 2117 kb/s
    Stream #0:0(und): Video: h264 (High 4:4:4 Predictive) (avc1 / 0x31637661), yuv444p, 1280x720, 2108 kb/s, 59.94 fps, 59.94 tbr, 11988 tbn, 119.88 tbc (default)
    Metadata:
     handler_name    : VideoHandler
    Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 43 kb/s (default)
    Metadata:
     handler_name    : SoundHandler

    Any advice for where I might be going wrong ?

  • Révision 20115 : fusion des inc/distant de la branche 2.1 et de la branche 3 ; ca permet de reven...

    22 janvier 2013, par Fil Up

    au passage, ca reporte aussi [19231] (documents proteges, faussement distants) sur le trunk a noter : les modifications d’espaces et de tabulations, bien que effectivement ameliorant le source, produisent de nombreux diffs ’muets’ qu’il a fallu verifier un par un... au final une perte de temps (...)

  • Ffmpeg ./configure not found

    8 juin 2016, par Justin Tullock

    I’m trying to install ffmpeg with libvpx & libx264 on my vps. Centos07. I’ve followed these instructions https://trac.ffmpeg.org/wiki/CompilationGuide/Centos to the T.

    Now when I try to run

    cd ~/ffmpeg; ./configure --enable-libvpx --enable-gpl --enable-libx264

    it returns

    -bash: ./configure: No such file or directory

    When I try ffmpeg -v

    ffmpeg: error while loading shared libraries: libx264.so.148: cannot open shared object file: No such file or directory

    and ldd $(which ffmpeg) returns

    root@host [~/ffmpeg_sources]# ldd $(which ffmpeg)
    linux-vdso.so.1 =>  (0x00007fff4fb86000)
    libxcb.so.1 => /lib64/libxcb.so.1 (0x00007f4972e27000)
    libxcb-shm.so.0 => /lib64/libxcb-shm.so.0 (0x00007f4972c23000)
    libxcb-xfixes.so.0 => /lib64/libxcb-xfixes.so.0 (0x00007f4972a1a000)
    libxcb-shape.so.0 => /lib64/libxcb-shape.so.0 (0x00007f4972816000)
    libx264.so.148 => not found
    libm.so.6 => /lib64/libm.so.6 (0x00007f4972513000)
    liblzma.so.5 => /lib64/liblzma.so.5 (0x00007f49722ee000)
    libbz2.so.1 => /lib64/libbz2.so.1 (0x00007f49720de000)
    libz.so.1 => /lib64/libz.so.1 (0x00007f4971ec7000)
    libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f4971cab000)
    libc.so.6 => /lib64/libc.so.6 (0x00007f49718e9000)
    libXau.so.6 => /lib64/libXau.so.6 (0x00007f49716e4000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f4973056000)

    I’ve followed all the instructions exactly - is there something I’m missing ?