Recherche avancée

Médias (3)

Mot : - Tags -/image

Autres articles (38)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (3721)

  • 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