Recherche avancée

Médias (1)

Mot : - Tags -/book

Autres articles (80)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

Sur d’autres sites (3929)

  • how to configure ffmpeg to transplant to iphone sdk 5.1 simulator and play h264 ?

    19 décembre 2012, par user1204703

    I use lastest "ffmpeg-1.0.1" and "ffmpeg-iphone-build",to transplant fffmpeg to iphone sdk 5.1 simulator.

    and use the build-i386 script in the "ffmpeg-iphone-build" project . also I add "—enable-decoder=h264" to the "CONFIGURE_OPTIONS".

    just this :

    CONFIGURE_OPTIONS="--enable-gpl --enable-postproc --enable-swscale --enable-avfilter --disable-asm --enable-cross-compile --enable-decoder=h264"

    then execute "./build-i386".
    and I also execute below batch :

    #!/bin/tcsh -f

    mkdir universal

    mkdir lib


    mkdir i386


    mv ffmpeg-i386/libavcodec/libavcodec.a i386/

    mv ffmpeg-i386/libavdevice/libavdevice.a i386/

    mv ffmpeg-i386/libavformat/libavformat.a i386/

    mv ffmpeg-i386/libavutil/libavutil.a i386/

    mv ffmpeg-i386/libswscale/libswscale.a i386/



    rm universal/*.a

    lipo -create -arch i386 i386/libavcodec.a -output universal/libavcodec.a

    lipo -create -arch i386 i386/libavdevice.a -output universal/libavdevice.a

    lipo -create -arch i386 i386/libavformat.a -output universal/libavformat.a

    lipo -create -arch i386 i386/libavutil.a -output universal/libavutil.a

    lipo -create -arch i386 i386/libswscale.a -output universal/libswscale.a

    rm lib/*.a

    cp universal/*.a lib/

    then I use the "iFreameExtractor" demo, modify the video file to "test.h264".
    code like :

    - (void)applicationDidFinishLaunching:(UIApplication *)application {    
       self.video = [[VideoFrameExtractor alloc] initWithVideo:[Utilities bundlePath:@"test.h264"]];
    }

    then run with IPhone 5.1 Simulator.
    but, fail with error :

    [h264 @ 0x91f1800] max_analyze_duration 5000000 reached at 5019130
    [h264 @ 0x91f1800] Estimating duration from bitrate, this may be inaccurate
    [swscaler @ 0x9203600] No accelerated colorspace conversion found from yuv420p to rgb24.
    2012-12-19 20:19:54.419 iFrameExtractor[52708:f803] video duration: -9223372036854.775391

    I think that the reason why it can not play h264 file that when I transplant the fffmpeg to the iphone simulator, and maybe do something wrong with the configure options.
    but I do not know how to fix it.

    Can you show the correct configure or other advices ?

    Thanks for your reply ??
    I am going to crash.

  • ffmpeg for iOS simulator - Undefined symbols for architecture i386

    24 octobre 2013, par chopchop

    I'm having an issue building my app that uses ffmpeg. I'm running Xcode 5 and targeting iOS 6.1. When building, I'm getting link errors for the ffmpeg functions :

    Undefined symbols for architecture i386:
      av_init_packet(AVPacket*), referenced from:
     "avcodec_find_decoder(AVCodecID)", referenced from:
      etc...
      ld: symbol(s) not found for architecture i386

    I think I built the libraries correctly because when I run for instance

    nm libavcodec.a -arch i386 | grep av_init_packet

    I get

    nm: no name list
    00000030 T _av_init_packet
            U _av_init_packet

    I looked everywhere on SO and wasn't able to solve my problem.

  • streaming iOS simulator screen using idb and ffmpeg [closed]

    26 janvier 2024, par user12857692

    I'm trying to use idb to streaming iOS simulator screen with this command

    


    idb video-stream --fps 30 --format h264 --udid XXXXXX | ffmpeg  -f h264 -i pipe: -listen 1 -f mjpeg http://0.0.0.0:9000

    


    And I use this mjpeg player to view : https://gist.github.com/codebrainz/eeeeead894e8bdff059b

    


    However, its all black.

    


    I've tried my other mjpeg sources, and they all display properly.

    


    What's wrong with idb/ffmpeg ?

    


    ffmpeg version : 6.1.1