Recherche avancée

Médias (0)

Mot : - Tags -/configuration

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (86)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

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

Sur d’autres sites (5608)

  • Building Ffmpeg library for iOS6.0 ARMv7 Processor success but compile error

    5 avril 2013, par user1800270

    I'm trying to use the FFMPEG library in an XCode 4.5.1 project.
    And I'm trying to build it for ARMv7.

    I had already build library by use the method below (provide by Alex) :


    Here is my working Configure for cross-compiling FFmpeg on iOS 6 the arch is ARMv7

    NOTE : You must have to have gas-preprocessor.pl inside /usr/local/bin/ please do not continue until you have gas-preprocessor.pl on your bin directory

    Download FFmpeg 1.0 "Angel" from here

    Unzip it and place it somewhere i.e. your Desktop folder

    Open terminal and browse to unzipped FFmpeg folder

    Copy and paste the following command, (be patient will take a while)

    ./configure --disable-doc --disable-ffmpeg --disable-ffplay --disable-ffserver --enable-cross-compile --arch=arm --target-os=darwin --cc=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc --as='gas-preprocessor/gas-preprocessor.pl /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc' --sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk --cpu=cortex-a8 --extra-cflags='-arch armv7' --extra-ldflags='-arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk' --enable-pic --enable-decoder=rawvideo --disable-asm

    Now type the following command on terminal make (wait a little more)

    Once it has finished now type on terminal sudo make install (wait again)

    Go to /usr/local/lib to find your freshly baked armv7 libs

    Enjoy !

    Alex


    But when i put the library into iFrameExtractor then compile it, then i get an error

    /ffmpeg/libavcodec/4xm.d:1 : syntax error near "xm"

    my Compilation environment is

    xcode 4.5.1 and ffmpeg 1.0

    platform : Mac OS X 10.7.5

    can anyone help me ??

  • Building FFMPEG library for iOS5.1 ARMv7

    25 octobre 2012, par Jimmy

    I'm trying to use the FFMPEG library in an XCode 4.5.1 project. And I'm trying to build it for ARMv7

    But I'm running into some major issues, I'm hoping that someone can walk me through how to do it ? I feel a little sketched out reading material thats a couple months old. I'm not aware of the changes.

    New Update (after a lot of time)

    I want to help everyone out that is having this problem because its so frustrating. heres how you do it. I've pasted the configuration stage. This is my ./configure

    ./configure --disable-doc --disable-ffmpeg --disable-ffplay --disable-ffserver --enable-cross-compile --arch=arm --target-os=darwin
      --cc=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/llvm-gcc-4.2/bin/arm-apple-darwin10-llvm-gcc-4.2
      --as='gas-preprocessor/gas-preprocessor.pl /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/llvm-gcc-4.2/bin/arm-apple-darwin10-llvm-gcc-4.2'
      --sysroot=/applications/xcode.app/contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk
      --cpu=cortex-a8
      --extra-ldflags='-isysroot /applications/xcode.app/contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk'
      --enable-pic
      --disable-bzlib --disable-gpl --disable-shared --enable-static --disable-mmx --disable-debug --disable-neon
      --extra-cflags='-pipe -Os -gdwarf-2 -isysroot /applications/xcode.app/contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk -m${thumb_opt:-no-thumb} -mthumb-interwork'

    This ended up working for me. I had the following problems.

    • I had to download ( https://github.com/yuvi/gas-preprocessor ) copy the file gas-preprocessor.pl at /usr/local/bin. Set permissions to read write (777)
    • Make sure I'm using the right GCC compiler : /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/llvm-gcc-4.2/bin/arm-apple-darwin10-llvm-gcc-4.2
    • Make sure I'm using the right SDK : /applications/xcode.app/contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk
    • —extra-cflags="-arch armv7" causes bugs in the configure. take it out. This was causing my gcc compile errors. (specifically this one : error : unrecognized command line option “-arch”.)

    I'll let you guys know how much further I get.

  • There is no sound with iFrameExtractor player

    22 octobre 2012, par why

    I has built ffmpeg and iFrameExtractor with ios5.1 successful, But when I play the video, There is no sound

    // Register all formats and codecs
    avcodec_register_all();
    av_register_all();
    avformat_network_init();


    if(avformat_open_input(&pFormatCtx, [@"http://somesite.com/test.mp4" cStringUsingEncoding:NSASCIIStringEncoding], NULL, NULL) != 0) {
       av_log(NULL, AV_LOG_ERROR, "Couldn't open file\n");
       goto initError;
    }

    The log is

    [swscaler @ 0xdd3000] No accelerated colorspace conversion found from
    yuv420p to rgb24. 2012-10-22 20:42:47.344 iFrameExtractor[356:707]
    video duration: 5102.840000 2012-10-22 20:42:47.412
    iFrameExtractor[356:707] video size: 720 x 576 2012-10-22 20:42:47.454
    iFrameExtractor[356:707] Application windows are expected to have a
    root view

    This is my configure file for ffmpeg 0.11.1 :

    #!/bin/tcsh -f

    rm -rf compiled/*

    ./configure \
    --cc=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc \
    --as='/usr/local/bin/gas-preprocessor.pl /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc' \
    --sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk \
    --target-os=darwin \
    --arch=arm \
    --cpu=cortex-a8 \
    --extra-cflags='-arch armv7' \
    --extra-ldflags='-arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk' \
    --prefix=compiled/armv7 \
    --enable-cross-compile \
    --enable-nonfree \
    --disable-armv5te \
    --disable-swscale-alpha \
    --disable-doc \
    --disable-ffmpeg \
    --disable-ffplay \
    --disable-ffprobe \
    --disable-ffserver \
    --enable-decoder=h264 \
    --enable-decoder=svq3 \
    --disable-asm \
    --disable-bzlib \
    --disable-gpl \
    --disable-shared \
    --enable-static \
    --disable-mmx \
    --disable-neon \
    --disable-decoders \
    --disable-muxers \
    --disable-demuxers \
    --disable-devices \
    --disable-parsers \
    --disable-encoders \
    --enable-protocols \
    --disable-filters \
    --disable-bsfs \
    --disable-postproc \
    --disable-debug