Recherche avancée

Médias (91)

Autres articles (63)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

Sur d’autres sites (5201)

  • MEAN stack express.js video uploader/converter

    5 janvier 2017, par MattJ

    The idea is a social site where people can upload their videos. I am planning to use multer for uploading (limiting by size and by mimetype). Then for performance and mostly storage purposes to use fluent-ffmpeg and convert it to mp4 format and store it somewhere on the server with a reference in mongodb. Since I do not want the user to wait while the whole process is done, I plan to separate it into to main parts :

    1. Uploading
    2. Converting and storing.

    Where the user uploads the file and then some separate node process ( using node-schedule) which run checks every 1 min. or so to convert all files in the directory and after that adds the references to mongodb. So what do you guys think ? What is the best approach performance-wise ?

  • matroskaenc : write correct Display{Width, Height} in stereo encoding

    22 octobre 2014, par Vittorio Giovara
    matroskaenc : write correct DisplayWidth, Height in stereo encoding
    

    should be the raw amount of pixels (for example 3840x1080 for full HD side by
    side) and the DisplayWidth/Height in pixels should be the amount of pixels for
    one plane (1920x1080 for that full HD stream)."

    So, move the aspect ratio check in the mkv_write_stereo_mode() function
    and always write the embl when stereo format and/or aspect ration is set.
    Also add a few comments to that function.

    CC : libav-stable@libav.org
    Found-by : Asan Usipov <asan.usipov@gmail.com>

    • [DH] libavformat/matroskaenc.c
  • %configure - unknown option —build

    18 janvier 2016, par Naftuli Tzvi Kay

    I’m trying to build and package FFMPEG for Fedora 23 with my own compile options and everything.

    Unfortunately, I’m trying to use the %configure directive and it isn’t working :

    Unknown option "--build=x86_64-redhat-linux-gnu".
    See ./configure --help for available options.

    If I try to see what the %configure clause does, here’s what I see :

     CFLAGS="${CFLAGS:--O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic}" ; export CFLAGS ;
     CXXFLAGS="${CXXFLAGS:--O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic}" ; export CXXFLAGS ;
     FFLAGS="${FFLAGS:--O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -I/usr/lib64/gfortran/modules}" ; export FFLAGS ;
     FCFLAGS="${FCFLAGS:--O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -I/usr/lib64/gfortran/modules}" ; export FCFLAGS ;
     LDFLAGS="${LDFLAGS:--Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld}"; export LDFLAGS;
     [ "1" = 1 ] &amp;&amp; for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ; do
         [ -f /usr/lib/rpm/redhat/$(basename $i) ] &amp;&amp; /usr/bin/rm -f $i &amp;&amp; /usr/bin/cp -fv /usr/lib/rpm/redhat/$(basename $i) $i ;
     done ;
     [ "1" = 1 ] &amp;&amp; [ x != "x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld" ] &amp;&amp;
         for i in $(find . -name ltmain.sh) ; do
           /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' $i
         done ;
     ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu \
       --program-prefix= \
       --disable-dependency-tracking \
       --prefix=/usr \
       --exec-prefix=/usr \
       --bindir=/usr/bin \
       --sbindir=/usr/sbin \
       --sysconfdir=/etc \
       --datadir=/usr/share \
       --includedir=/usr/include \
       --libdir=/usr/lib64 \
       --libexecdir=/usr/libexec \
       --localstatedir=/var \
       --sharedstatedir=/var/lib \
       --mandir=/usr/share/man \
       --infodir=/usr/share/info

    Since %configure tries to set the --build parameter and FFMPEG doesn’t like that, it fails.

    However, I really want to get the CFLAGS and LDFLAGS and all of the hardening options that come provided with the distribution without baking these into my SPEC file.

    Is there a way to override the %configure task to omit the --build parameter and include everything else ?