Recherche avancée

Médias (91)

Autres articles (43)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • 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

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

Sur d’autres sites (5484)

  • Unable to install ffmpeg-php on Ubuntu 14.04

    29 septembre 2014, par Balaraman L

    I downloaded FFmpeg (version 2.2.3) and compiled with —disable-yasm and —enable-shared configuration and installed.

    I then downloaded ffmpeg-php extension from here - http://sourceforge.net/projects/ffmpeg-php/files/ffmpeg-php/0.6.0/

    I was able to phpize and configure successfully.

    phpize output :

    Configuring for:
    PHP Api Version:         20121113
    Zend Module Api No:      20121212
    Zend Extension Api No:   220121212

    php —version output :

    PHP 5.5.9-1ubuntu4.4 (cli) (built: Sep  4 2014 06:56:34)
    Copyright (c) 1997-2014 The PHP Group
    Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
       with Zend OPcache v7.0.3, Copyright (c) 1999-2014, by Zend Technologies

    But, when I try to make install my ffmpeg-php extension after successfully configuring, I am getting following error.

    Error log :

    /bin/bash /tmp/ffmpeg-php-0.6.0/libtool --mode=compile cc  -I. -I/tmp/ffmpeg-php-0.6.0 -DPHP_ATOM_INC -I/tmp/ffmpeg-php-0.6.0/include -I/tmp/ffmpeg-php-0.6.0/main -I/tmp/ffmpeg-php-0.6.0 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -I/usr/local/include/libavcodec/ -I/usr/local/include/libavformat/ -I/usr/local/include/libavutil/ -I/usr/local/include/libswscale/ -I/usr/local/include/libavfilter/ -I/usr/local/include/libavdevice/  -DHAVE_CONFIG_H  -g -O2 -Wall -fno-strict-aliasing   -c /tmp/ffmpeg-php-0.6.0/ffmpeg-php.c -o ffmpeg-php.lo
    libtool: compile:  cc -I. -I/tmp/ffmpeg-php-0.6.0 -DPHP_ATOM_INC -I/tmp/ffmpeg-php-0.6.0/include -I/tmp/ffmpeg-php-0.6.0/main -I/tmp/ffmpeg-php-0.6.0 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -I/usr/local/include/libavcodec/ -I/usr/local/include/libavformat/ -I/usr/local/include/libavutil/ -I/usr/local/include/libswscale/ -I/usr/local/include/libavfilter/ -I/usr/local/include/libavdevice/ -DHAVE_CONFIG_H -g -O2 -Wall -fno-strict-aliasing -c /tmp/ffmpeg-php-0.6.0/ffmpeg-php.c  -fPIC -DPIC -o .libs/ffmpeg-php.o
    In file included from /usr/include/x86_64-linux-gnu/sys/stat.h:105:0,
                    from /usr/include/php5/main/php_streams.h:28,
                    from /usr/include/php5/main/php.h:396,
                    from /tmp/ffmpeg-php-0.6.0/ffmpeg-php.c:40:
    /usr/include/x86_64-linux-gnu/bits/stat.h:91:21: error: field 'st_atim' has incomplete type
        struct timespec st_atim;  /* Time of last access.  */
                        ^
    /usr/include/x86_64-linux-gnu/bits/stat.h:92:21: error: field 'st_mtim' has incomplete type
        struct timespec st_mtim;  /* Time of last modification.  */
                        ^
    /usr/include/x86_64-linux-gnu/bits/stat.h:93:21: error: field 'st_ctim' has incomplete type
        struct timespec st_ctim;  /* Time of last status change.  */
                        ^
    /usr/include/x86_64-linux-gnu/bits/stat.h:152:21: error: field 'st_atim' has incomplete type
        struct timespec st_atim;  /* Time of last access.  */
                        ^
    /usr/include/x86_64-linux-gnu/bits/stat.h:153:21: error: field 'st_mtim' has incomplete type
        struct timespec st_mtim;  /* Time of last modification.  */
                        ^
    /usr/include/x86_64-linux-gnu/bits/stat.h:154:21: error: field 'st_ctim' has incomplete type
        struct timespec st_ctim;  /* Time of last status change.  */
                        ^
    In file included from /usr/include/php5/main/php_streams.h:28:0,
                    from /usr/include/php5/main/php.h:396,
                    from /tmp/ffmpeg-php-0.6.0/ffmpeg-php.c:40:
    /usr/include/x86_64-linux-gnu/sys/stat.h:365:31: error: array type has incomplete element type
            const struct timespec __times[2],
                                  ^
    /usr/include/x86_64-linux-gnu/sys/stat.h:372:54: error: array type has incomplete element type
    extern int futimens (int __fd, const struct timespec __times[2]) __THROW;
                                                         ^
    In file included from /usr/include/php5/main/php.h:402:0,
                    from /tmp/ffmpeg-php-0.6.0/ffmpeg-php.c:40:
    /usr/include/php5/TSRM/tsrm_virtual_cwd.h:218:2: error: unknown type name 'time_t'
     time_t                         expires;
     ^
    /usr/include/php5/TSRM/tsrm_virtual_cwd.h:246:86: error: unknown type name 'time_t'
    CWD_API realpath_cache_bucket* realpath_cache_lookup(const char *path, int path_len, time_t t TSRMLS_DC);
                                                                                         ^
    /tmp/ffmpeg-php-0.6.0/ffmpeg-php.c: In function 'zm_startup_ffmpeg':
    /tmp/ffmpeg-php-0.6.0/ffmpeg-php.c:94:5: warning: implicit declaration of function 'avcodec_init' [-Wimplicit-function-declaration]
        avcodec_init();
        ^
    make: *** [ffmpeg-php.lo] Error 1

    How can I solve this ? Or is there any other php library which can be used to extract all metadata of a video like bit rate, frame rate etc ?

  • FFmpeg four audiochannels but the first two are static noise

    2 octobre 2014, par sebastian

    I have a handful of videos with one audio stream in which includes four audio channels. I am having trouble in getting the last two channels wherein lies the actual sound. I don’t want to create wave files or anything like that I just want to create a video out of it with the two channels correct channels (three and four). I was thinking about using the -map 0:a:2 and -map 0:a:3 but it does not work quite as well as I had hoped for. Does anyone know a better way or what I am doing wrong ?
    Any help would be appreciated.

    Audio
    ID : 2
    Format : PCM
    Format settings, Endianness : Big
    Format settings, Sign : Unsigned
    Codec ID : lpcm
    Duration : 3mn 54s
    Bit rate mode : Constant
    Bit rate : 6 144 Kbps
    Channel(s) : 4 channels
    Sampling rate : 48.0 KHz
    Bit depth : 24 bits
    Stream size : 172 MiB (3%)
    Language : English
    Encoded date : UTC 2014-09-25 16:54:09
    Tagged date : UTC 2014-09-25 16:55:41
  • stream_encoder_intrin_sse[23].c : Optimize of int32 -> uint64 conversion.

    21 septembre 2014, par Erik de Castro Lopo
    stream_encoder_intrin_sse[23].c : Optimize of int32 -> uint64 conversion.
    

    Optimizes int32 -> uint64 conversion by doing zero extension (int32 ->
    uint32 -> uint64) instead of sign extension (int32 -> int64 -> uint64).

    Patch-from : lvqcl <lvqcl.mail@gmail.com>

    • [DH] src/libFLAC/stream_encoder_intrin_sse2.c
    • [DH] src/libFLAC/stream_encoder_intrin_ssse3.c