Recherche avancée

Médias (1)

Mot : - Tags -/artwork

Autres articles (46)

  • 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

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 is the first MediaSPIP stable release.
    Its official release date is June 21, 2013 and is announced here.
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

Sur d’autres sites (7637)

  • %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 ] && for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ; do
         [ -f /usr/lib/rpm/redhat/$(basename $i) ] && /usr/bin/rm -f $i && /usr/bin/cp -fv /usr/lib/rpm/redhat/$(basename $i) $i ;
     done ;
     [ "1" = 1 ] && [ x != "x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld" ] &&
         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 ?

  • How much the duration of an mp3 file given by Ffprobe is precise ?

    24 septembre 2024, par Julien Larget-Piet

    I have an mp3 file at a sample rate value of 44100, let's name it a.mp3.

    


    So i get the duration of a.mp3 with the following ffprobe command :

    


    ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 a.mp3

    


    I get 7.752 seconds.

    


    Because the sample rate is per second, in theory the total amount of samples should be,

    


    44100 * 7.752 = 341863.2

    


    Let's round it to 341863

    


    But using python library ffmpegio with the following code, i get a total amount of sample equal to 340560.

    


    with ffmpegio.open(file, 'ra', blocksize = 16, sample_fmt = 'dbl') as file_opened:

        for i, indata in enumerate(file_opened):

            do some stuff
    print(i * 16)


    


    So there is a non-negligible difference between 341863 and 340560.

    


    I think it comes from the duration value given by Ffmpeg.
What do you thin ?

    


    I search in ffmpegio documentation, but found nothing that trigered my attention :

    


    https://python-ffmpegio.github.io/python-ffmpegio/

    


    Thanks.

    


    Search for answers about the precision of the ffprobe command.

    


  • Flutter ffmpeg working with video files instead of paths

    17 mai 2020, par lulliezy

    Is there a way for ffmpeg in flutter to work with files from dart:io package instead of paths, e.g. call a function passing the video file and getting a video file as output of the function ??

    



    Also what are the benefits and/or downsides to just working with paths rather than actual files ?

    



    Thanks in advance.

    



    Platform : Mobile