Recherche avancée

Médias (91)

Autres articles (99)

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

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

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

Sur d’autres sites (12941)

  • Errors compiling ffmpeg for iPhone

    20 juillet 2013, par simon.d

    I'm on OS X Lion and I'm trying to compile the armv7 libraries of ffmpeg for the iPhone. I'm using ffmpeg 0.10.

    Here's my configure line :

    ./configure --disable-doc --disable-ffmpeg --disable-ffplay --disable-ffserver --disable-ffprobe --enable-cross-compile --arch=arm --target-os=darwin --cc=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc --as='gas-preprocessor/gas-preprocessor.pl /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc' --sysroot=/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk --cpu=cortex-a8 --extra-cflags='-arch armv7' --extra-ldflags='-arch armv7 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk' --enable-pic --disable-avdevice --disable-avfilter --disable-zlib --disable-bzlib

    Configure runs fine although it ends with : WARNING : Compiler does not indicate floating-point ABI, guessing soft.

    Here are my make results :

    Users-MacBook-Pro:ffmpeg-0.10 user$ make
    CC    libavformat/4xm.o
    CC    libavformat/a64.o
    CC    libavformat/aacdec.o
    CC    libavformat/ac3dec.o
    CC    libavformat/act.o
    CC    libavformat/adtsenc.o
    CC    libavformat/adxdec.o
    CC    libavformat/aea.o
    CC    libavformat/aiffdec.o
    CC    libavformat/aiffenc.o
    CC    libavformat/allformats.o
    CC    libavformat/amr.o
    CC    libavformat/anm.o
    CC    libavformat/apc.o
    CC    libavformat/ape.o
    CC    libavformat/apetag.o
    CC    libavformat/applehttp.o
    CC    libavformat/applehttpproto.o
    CC    libavformat/asf.o
    CC    libavformat/asfcrypt.o
    error: invalid operand in inline asm: 'ldr   ${0:Q}, $1
       ldr   ${0:R}, $2
       '
    make: *** [libavformat/asfcrypt.o] Error 1
    Users-MacBook-Pro:ffmpeg-0.10 user$

    Any ideas ? Thanks !

  • FFMPEG iPhone using gas-preprocessor

    5 mars 2012, par user308990

    I got the latest version of FFMPEG and gas-preprocessor, and i am trying to build them libraries for iPhone. I put the gas-preprocessor.pl file in my usr/bin folder, and try to configure my ffmpeg with this command.

    ./configure —cc=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin9-gcc-4.2.1 —as='gas-preprocessor.pl /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin9-gcc-4.2.1' —sysroot=/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.1.sdk —enable-cross-compile —target-os=darwin —arch=arm —cpu=cortex-a8 —enable-pic

    But what i get is this error

    Unknown option "—as=gas-preprocessor.pl".
    See ./configure —help for available options.

    Any ideas ??? Thank u.

  • iPhone - A problem with decoding H264 using ffmpeg

    25 mars 2012, par HAPPY_TIGER

    I am working with ffmpeg to decode H264 stream from server.

    I referenced DecoderWrapper from http://github.com/dropcam/dropcam_for_iphone.

    I compiled it successfully, but I don't know how use it.

    Here are the function that has problem.

    - (id)initWithCodec:(enum VideoCodecType)codecType
            colorSpace:(enum VideoColorSpace)colorSpace
                 width:(int)width
                height:(int)height
           privateData:(NSData*)privateData {
       if(self = [super init]) {

           codec = avcodec_find_decoder(CODEC_ID_H264);
           codecCtx = avcodec_alloc_context();

           // Note: for H.264 RTSP streams, the width and height are usually not specified (width and height are 0).  
           // These fields will become filled in once the first frame is decoded and the SPS is processed.
           codecCtx->width = width;
           codecCtx->height = height;

           codecCtx->extradata = av_malloc([privateData length]);
           codecCtx->extradata_size = [privateData length];
           [privateData getBytes:codecCtx->extradata length:codecCtx->extradata_size];
           codecCtx->pix_fmt = PIX_FMT_YUV420P;
    #ifdef SHOW_DEBUG_MV
           codecCtx->debug_mv = 0xFF;
    #endif

           srcFrame = avcodec_alloc_frame();
           dstFrame = avcodec_alloc_frame();

           int res = avcodec_open(codecCtx, codec);
           if (res < 0)
           {
               NSLog(@"Failed to initialize decoder");
           }
       }

       return self;    
    }

    What is the privateData parameter of this function ? I don't know how to set the parameter...

    Now avcodec_decode_video2 returns -1 ;

    The framedata is coming successfully.

    How solve this problem.

    Thanks a lot.