Recherche avancée

Médias (91)

Autres articles (66)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Soumettre améliorations et plugins supplémentaires

    10 avril 2011

    Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
    Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...)

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

Sur d’autres sites (9284)

  • ffserver : cast PID to int64_t before printing

    21 août 2015, par Ganesh Ajjanagadde
    ffserver : cast PID to int64_t before printing
    

    Unfortunately, there is no portable format specifier for PID’s.
    Furthermore, it is not safe to assume pid_t <= 32 bit in size,
    see e.g http://unix.derkeiler.com/Mailing-Lists/AIX-L/2010-08/msg00008.html.
    Right now, it is ok to assume pid_t <= 32 bit in size, but this may change in the future.
    Also, this patch fixes warning due to lack of an appropriate cast from
    http://fate.ffmpeg.org/report.cgi?time=20150820233505&slot=x86-opensolaris-gcc4.3.
    Note that this method of handling pid_t is in line with what nginx does.

    Signed-off-by : Ganesh Ajjanagadde <gajjanagadde@gmail.com>
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] ffserver.c
  • Unable to link against FFmpeg libaries

    28 octobre 2015, par Cody

    I tried to build this, but always got link-time error.

    #include <libavutil></libavutil>log.h>    
    int main(int argc, char *argv[])
    {
       ::av_log_set_flags(AV_LOG_SKIP_REPEATED);
       return 0;
    }

    My distro is Debian GNU/Linux 8 (jessie). The FFmpeg was built by myself, and the configure command was...

    $ ./configure --prefix=/usr/local --disable-static --enable-shared \
    > --extra-ldflags='-Wl,-rpath=/usr/local/lib'

    The link-error is as follows.

    $ g++ foo.cpp -D__STDC_CONSTANT_MACROS -Wall \
    > -Wl,-rpath=/usr/local/lib \
    > $(pkg-config --cflags --libs libavutil)
    /tmp/ccKzgEFb.o: In function `main':
    foo.cpp:(.text+0x17): undefined reference to `av_log_set_flags(int)'
    collect2: error: ld returned 1 exit status

    where the output of pkg-config is...

    $ pkg-config --cflags --libs libavutil
    -I/usr/local/include -L/usr/local/lib -lavutil

    The objdump shows that the shared object libavutil.so does have av_log_set_flogs inside.

    $ objdump --dynamic-syms /usr/local/lib/libavutil.so | grep 'av_log_set_flags'
    000260f0 g    DF .text  0000000a  LIBAVUTIL_54 av_log_set_flags

    Please note that the g++ command used to build the above application had a linker option -Wl,-rpath=/usr/local/lib, though it still doesn’t work. Also, I’ve tried to monitor with inotifywait if the other version provided by the distro were called. They were not, and the one being opened during execution of g++ was /usr/local/lib/libavutil.so.

    Summary :

    1. /usr/local/lib/libavutil.so does have the symbol.

    2. -rpath was used to force to link against the shared library.

    3. Why link-time error ? T_T

    Any suggestion or information would be highly appreciated ! Thanks !

    REEDIT : ffplay works fine and ldd shows it use /usr/local/lib/libavutil.so. So, the libraries seems not broken, and the problem becomes how to build my own codes to use the libraries.

  • ffmpeg - Input link in1:v0 parameters (size 640x640, SAR 16:9) do not match the corresponding output link in0:v0 parameters (640x640, SAR 427:240)

    19 mai 2016, par fobus

    I’m trying to concat 4 mp4 files. I’m using the command below but not able to concat

    ffmpeg -i new1.mp4 -i new2.mp4 -i new3.mp4 -i new4.mp4 -filter_complex concat=n=4:v=1:a=1 output.mp4

    Getting this error :

    Input link in1:v0 parameters (size 640x640, SAR 16:9) do not match the corresponding output link in0:v0 parameters (640x640, SAR 427:240)

    All four vides has the same codec and same size (640x640) and the same bitrate (30)

    What I am doing wrong ?