Recherche avancée

Médias (1)

Mot : - Tags -/école

Autres articles (64)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

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

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (10839)

  • avutil/frame : Rename av_frame_side_data_get and add wrapper for it

    22 mars 2024, par Andreas Rheinhardt
    avutil/frame : Rename av_frame_side_data_get and add wrapper for it
    

    av_frame_side_data_get() has a const AVFrameSideData * const *sd
    parameter ; so calling it with an AVFramesSideData **sd like
    AVCodecContext.decoded_side_data (or with a AVFramesSideData * const
    *sd) is safe, but the conversion is not performed automatically
    in C. All users of this function therefore resort to a cast.

    This commit changes this : av_frame_side_data_get() is renamed
    to av_frame_side_data_get_c() ; furthermore, a static inline
    wrapper for it name av_frame_side_data_get() is added
    that accepts an AVFramesSideData * const * and converts this
    to const AVFramesSideData * const * in a Wcast-qual safe way.

    This also allows to remove the casts from the current users.

    Reviewed-by : Jan Ekström <jeebjp@gmail.com>
    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    • [DH] doc/APIchanges
    • [DH] libavcodec/libsvtav1.c
    • [DH] libavcodec/libx264.c
    • [DH] libavcodec/libx265.c
    • [DH] libavutil/frame.c
    • [DH] libavutil/frame.h
  • error while install FFMPEG-PHP

    30 juillet 2016, par Box Lyrics

    I’m trying to install FFmpeg and FFMPEG-PHP .
    The installation of FFmpeg is success but when i try to install FFMPEG-PHP i get this error

       # make
    /bin/sh /root/ffmpeg_sources/ffmpeg-php-0.6.0/ffmpeg-php/libtool --mode=compile cc  -I. -I/root/ffmpeg_sources/ffmpeg-php-0.6.0/ffmpeg-php -DPHP_ATOM_INC -I/root/ffmpeg_sources/ffmpeg-php-0.6.0/ffmpeg-php/include -I/root/ffmpeg_sources/ffmpeg-php-0.6.0/ffmpeg-php/main -I/root/ffmpeg_sources/ffmpeg-php-0.6.0/ffmpeg-php -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /root/ffmpeg_sources/ffmpeg-php-0.6.0/ffmpeg-php/ffmpeg_movie.c -o ffmpeg_movie.lo
    libtool: compile:  cc -I. -I/root/ffmpeg_sources/ffmpeg-php-0.6.0/ffmpeg-php -DPHP_ATOM_INC -I/root/ffmpeg_sources/ffmpeg-php-0.6.0/ffmpeg-php/include -I/root/ffmpeg_sources/ffmpeg-php-0.6.0/ffmpeg-php/main -I/root/ffmpeg_sources/ffmpeg-php-0.6.0/ffmpeg-php -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/ffmpeg_sources/ffmpeg-php-0.6.0/ffmpeg-php/ffmpeg_movie.c  -fPIC -DPIC -o .libs/ffmpeg_movie.o
    /root/ffmpeg_sources/ffmpeg-php-0.6.0/ffmpeg-php/ffmpeg_movie.c:42:32: error: libavcodec/version.h: No such file or directory
    /root/ffmpeg_sources/ffmpeg-php-0.6.0/ffmpeg-php/ffmpeg_movie.c:76:1: warning: "MAX_STREAMS" redefined
    In file included from /root/ffmpeg_sources/ffmpeg-php-0.6.0/ffmpeg-php/ffmpeg_movie.c:43:
    /usr/include/libavformat/avformat.h:569:1: warning: this is the location of the previous definition
    /root/ffmpeg_sources/ffmpeg-php-0.6.0/ffmpeg-php/ffmpeg_movie.c: In function ‘php_get_dict_value’:
    /root/ffmpeg_sources/ffmpeg-php-0.6.0/ffmpeg-php/ffmpeg_movie.c:509: error: ‘AVDictionaryEntry’ undeclared (first use in this function)
    /root/ffmpeg_sources/ffmpeg-php-0.6.0/ffmpeg-php/ffmpeg_movie.c:509: error: (Each undeclared identifier is reported only once
    /root/ffmpeg_sources/ffmpeg-php-0.6.0/ffmpeg-php/ffmpeg_movie.c:509: error: for each function it appears in.)
    /root/ffmpeg_sources/ffmpeg-php-0.6.0/ffmpeg-php/ffmpeg_movie.c:509: error: ‘m_entry’ undeclared (first use in this function)
    /root/ffmpeg_sources/ffmpeg-php-0.6.0/ffmpeg-php/ffmpeg_movie.c: In function ‘zim_ffmpeg_movie_getPixelFormat’:
    /root/ffmpeg_sources/ffmpeg-php-0.6.0/ffmpeg-php/ffmpeg_movie.c:828: warning: assignment makes pointer from integer without a cast
    /root/ffmpeg_sources/ffmpeg-php-0.6.0/ffmpeg-php/ffmpeg_movie.c: In function ‘_php_get_codec_name’:
    /root/ffmpeg_sources/ffmpeg-php-0.6.0/ffmpeg-php/ffmpeg_movie.c:918: error:                          ‘AV_CODEC_ID_MPEG2TS’ undeclared (first use in this function)
    make: *** [ffmpeg_movie.lo] Error 1

    this is what i have execute

    #  git clone https://github.com/tony2001/ffmpeg-php.git
    #  cd ffmpeg-php
    #  make clean
    #  phpize
    #  ./configure
    #  make

    when i search for a solution i found this :
    If you get an error message like make : *** [ffmpeg_movie.lo] Error 1 open the ffmpeg_movie.c file and make the following changes :

    user@myVPS:~# vim ffmpeg_movie.c

    Change list_entry *le ; to zend_rsrc_list_entry *le ;
    Change list_entry new_le ; to zend_rsrc_list_entry new_le ;
    Change hashkey_length+1, (void *)&new_le, sizeof(list_entry), to hashkey_length+1, (void *)&new_le,sizeof(zend_rsrc_list_entry),

    but when i check the ffmpeg_movie.c i found that is already fixed with this changes.
    I can’t find the probleme

  • msrle : Use AVFrame instead of AVPicture

    14 octobre 2015, par Vittorio Giovara
    msrle : Use AVFrame instead of AVPicture
    

    Callers always use a frame and cast it to AVPicture, change
    ff_msrle_decode() to accept an AVFrame directly instead.

    Signed-off-by : Vittorio Giovara <vittorio.giovara@gmail.com>

    • [DBH] libavcodec/aasc.c
    • [DBH] libavcodec/bmp.c
    • [DBH] libavcodec/msrle.c
    • [DBH] libavcodec/msrledec.c
    • [DBH] libavcodec/msrledec.h
    • [DBH] libavcodec/tscc.c