Recherche avancée

Médias (1)

Mot : - Tags -/Christian Nold

Autres articles (90)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

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

Sur d’autres sites (15648)

  • m3u8 segmenter not building in centos 6

    29 août 2013, par raheel khadri

    when i try to make it show me error oplease find below error which i am getting

    cc1: warnings being treated as errors
    m3u8-segmenter.c: In function ‘add_output_stream’:
    m3u8-segmenter.c:58: error: implicit declaration of function ‘avformat_new_stream’
    m3u8-segmenter.c:58: error: nested extern declaration of ‘avformat_new_stream’
    m3u8-segmenter.c:58: error: assignment makes pointer from integer without a cast
    m3u8-segmenter.c: In function ‘main’:
    m3u8-segmenter.c:343: error: implicit declaration of   function‘avformat_find_stream_info’
    m3u8-segmenter.c:343: error: nested extern declaration of ‘avformat_find_stream_info’
    m3u8-segmenter.c:390: error: implicit declaration of function ‘avcodec_open2’
    m3u8-segmenter.c:390: error: nested extern declaration of ‘avcodec_open2’
    m3u8-segmenter.c:397: error: ‘AVIO_FLAG_WRITE’ undeclared (first use in this function)
    m3u8-segmenter.c:397: error: (Each undeclared identifier is reported only once
    m3u8-segmenter.c:397: error: for each function it appears in.)
    make[1]: *** [m3u8_segmenter-m3u8-segmenter.o] Error 1
    make[1]: Leaving directory `/usr/local/src/m3u8-segmenter'
    make: *** [all-recursive] Error 1

    Note : i have ffmpeg and all required libraries installed already

    My ffmpeg vesrion below :

    [root@localhost m3u8-segmenter]# ffmpeg -version
    FFmpeg version 0.6.5, Copyright (c) 2000-2010 the FFmpeg developers
     built on Jan 29 2012 17:53:48 with gcc 4.4.5 20110214 (Red Hat 4.4.5-6)
     configuration: --prefix=/usr --libdir=/usr/lib --shlibdir=/usr/lib --mandir=/usr/share/man --incdir=/usr/include --disable-avisynth --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables' --enable-avfilter --enable-avfilter-lavf --enable-libdc1394 --enable-libdirac --enable-libfaac --enable-libfaad --enable-libfaadbin --enable-libgsm --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libx264 --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-shared --enable-swscale --enable-vdpau --enable-version3 --enable-x11grab
     libavutil     50.15. 1 / 50.15. 1
     libavcodec    52.72. 2 / 52.72. 2
     libavformat   52.64. 2 / 52.64. 2
     libavdevice   52. 2. 0 / 52. 2. 0
     libavfilter    1.19. 0 /  1.19. 0
     libswscale     0.11. 0 /  0.11. 0
     libpostproc   51. 2. 0 / 51. 2. 0
    FFmpeg 0.6.5
    libavutil     50.15. 1 / 50.15. 1
    libavcodec    52.72. 2 / 52.72. 2
    libavformat   52.64. 2 / 52.64. 2
    libavdevice   52. 2. 0 / 52. 2. 0
    libavfilter    1.19. 0 /  1.19. 0
    libswscale     0.11. 0 /  0.11. 0
    libpostproc   51. 2. 0 / 51. 2. 0
  • 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