Recherche avancée

Médias (1)

Mot : - Tags -/getid3

Autres articles (62)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, 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 (...)

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

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

Sur d’autres sites (6321)

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

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

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