Recherche avancée

Médias (33)

Mot : - Tags -/creative commons

Autres articles (42)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

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

  • Les thèmes de MediaSpip

    4 juin 2013

    3 thèmes sont proposés à l’origine par MédiaSPIP. L’utilisateur MédiaSPIP peut rajouter des thèmes selon ses besoins.
    Thèmes MediaSPIP
    3 thèmes ont été développés au départ pour MediaSPIP : * SPIPeo : thème par défaut de MédiaSPIP. Il met en avant la présentation du site et les documents média les plus récents ( le type de tri peut être modifié - titre, popularité, date) . * Arscenic : il s’agit du thème utilisé sur le site officiel du projet, constitué notamment d’un bandeau rouge en début de page. La structure (...)

Sur d’autres sites (5245)

  • error while compiling x264 in linux

    14 avril 2011, par kartul

    Hey all
    I'm trying to compile x264 under linux (x64). But it keeps throwing me an error. I've googled around but found nothing. Here's the commandline history :

    spin@around : /x264$ git clone git ://git.videolan.org/x264.git
    Cloning into x264...
    remote : Counting objects : 13539, done.
    remote : Compressing objects : 100% (4416/4416), done.
    remote : Total 13539 (delta 11005), reused 11225 (delta 9082)
    Receiving objects : 100% (13539/13539), 3.29 MiB | 2.79 MiB/s, done.
    Resolving deltas : 100% (11005/11005), done.
    spin@around : /x264/x264$ ./configure
    Found no assembler
    Minimum version is yasm-0.7.0
    If you really want to compile without asm, configure with —disable-asm.
    spin@around : /x264/x264$ ./configure —disable-asm
    Platform :   X86_64
    System :     LINUX
    asm :        no
    avs :        no
    lavf :       no
    ffms :       no
    gpac :       no
    gpl :        yes
    thread :     posix
    filters :    crop select_every
    debug :      no
    gprof :      no
    PIC :        no
    shared :     no
    visualize :  no
    bit depth :  8
    

    You can run 'make' or 'make fprofiled' now.
    spin@around : /x264/x264$ make
    gcc -Wshadow -O3 -ffast-math -Wall -I. -std=gnu99 -s -fomit-frame-pointer -fno-tree-vectorize -c -o x264.o x264.c
    In file included from common/common.h:864,
    from x264.c:33 :
    common/rectangle.h : In function āx264_macroblock_cache_rectā :
    common/rectangle.h:84 : error : āv4siā undeclared (first use in this function)
    common/rectangle.h:84 : error : (Each undeclared identifier is reported only once
    common/rectangle.h:84 : error : for each function it appears in.)
    common/rectangle.h:84 : error : expected ā ;ā before āv16ā
    common/rectangle.h:86 : error : ā__m128ā undeclared (first use in this function)
    common/rectangle.h:86 : error : expected ā ;ā before āv16ā
    common/rectangle.h:87 : error : expected ā ;ā before āv16ā
    common/rectangle.h:89 : error : expected ā ;ā before āv16ā
    common/rectangle.h:90 : error : expected ā ;ā before āv16ā
    make : *** [x264.o] Error 1
    spin@around : /x264/x264$

    and here is the file, from line 83 to 91 :

    #if HAVE_VECTOREXT && defined(__SSE__)
            v4si v16 = v,v,v,v ;
    

    M128( d+s*0+0 ) = (__m128)v16 ;
    M128( d+s*1+0 ) = (__m128)v16 ;
    if( h == 2 ) return ;
    M128( d+s*2+0 ) = (__m128)v16 ;
    M128( d+s*3+0 ) = (__m128)v16 ;
    #else

  • How convert webm to mp4 ?

    4 février 2016, par Ravi Shankar

    I am unable to convert a webm file created through webcam recording to mp4.

    I am using below command.

    ffmpeg -fflags +genpts -i  uploads/2586913190845018.webm -r 24 uploads/abc.mp4 2>&1

    The output of above command is

    Array
    (
       [0] => FFmpeg version 0.6.5, Copyright (c) 2000-2010 the FFmpeg developers
       [1] =>   built on Jan 29 2012 17:52:15 with gcc 4.4.5 20110214 (Red Hat 4.4.5-6)
       [2] =>   configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --incdir=/usr/include --disable-avisynth --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --enable-avfilter --enable-avfilter-lavf --enable-libdc1394 --enable-libdirac --enable-libfaac --enable-libfaad --enable-libfaadbin --enable-libgsm --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libx264 --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-shared --enable-swscale --enable-vdpau --enable-version3 --enable-x11grab
       [3] =>   libavutil     50.15. 1 / 50.15. 1
       [4] =>   libavcodec    52.72. 2 / 52.72. 2
       [5] =>   libavformat   52.64. 2 / 52.64. 2
       [6] =>   libavdevice   52. 2. 0 / 52. 2. 0
       [7] =>   libavfilter    1.19. 0 /  1.19. 0
       [8] =>   libswscale     0.11. 0 /  0.11. 0
       [9] =>   libpostproc   51. 2. 0 / 51. 2. 0
       [10] => [matroska @ 0x14ce690]max_analyze_duration reached
       [11] => [matroska @ 0x14ce690]Estimating duration from bitrate, this may be inaccurate
       [12] => Input #0, matroska, from 'uploads/2586913190845018.webm':
       [13] =>   Metadata:
       [14] =>     doctype         : webm
       [15] =>   Duration: 00:00:00.00, start: 0.000000, bitrate: N/A
       [16] =>     Stream #0.0(eng): Video: 0x0000, 640x480, PAR 1:1 DAR 4:3, 30 fps, 30 tbr, 1k tbn, 30 tbc
       [17] =>     Stream #0.1(eng): Audio: vorbis, 48000 Hz, mono, s16
       [18] => swScaler: Unknown format is not supported as input pixel format
       [19] => Cannot get resampling context
    )

    Above command works if I upload webm file download from youtube or any other online source, it works.

  • cygwin make errors : ffmpeg compile with ndk

    1er mars 2013, par Bryce

    Recently I'm compiling ffmpeg for android with ndk and I do this as this article(http://vec.io/posts/how-to-build-ffmpeg-with-android-ndk ). configure is right,
    but when I begin to make, it makes errors.
    configure shell :

    export TMPDIR=D:/temp/android
    export NDK=/cygdrive/D/DevelopKit/android-ndk-r8d
    export PATH=/cygdrive/C/cygwin/tmp/ffmpeg/bin:$PATH
    export CC=arm-linux-androideabi-gcc
    export LD=arm-linux-androideabi-ld
    export AR=arm-linux-androideabi-ar
    export C_INCLUDE_PATH=/cygdrive/C/cygwin/tmp/ffmpeg/sysroot/usr/include
    export LIBRARY_PATH=/cygdrive/C/cygwin/tmp/ffmpeg/sysroot/usr/lib
    CFLAGS="-O3 -Wall -mthumb -pipe -fpic -fasm \
     -finline-limit=300 -ffast-math \
     -fstrict-aliasing -Werror=strict-aliasing \
     -fmodulo-sched -fmodulo-sched-allow-regmoves \
     -Wno-psabi -Wa,--noexecstack \
     -D__ARM_ARCH_5__ -D__ARM_ARCH_5E__ \
     -D__ARM_ARCH_5T__ -D__ARM_ARCH_5TE__ \
     -DANDROID -DNDEBUG"

    EXTRA_CFLAGS="-march=armv7-a -mfpu=neon -mfloat-abi=softfp -mvectorize-with-neon-quad"
    EXTRA_LDFLAGS="-Wl,--fix-cortex-a8"

    FFMPEG_FLAGS="--prefix=/tmp/ffmpeg/build \
     --target-os=linux \
     --arch=arm \
     --enable-cross-compile \
     --cross-prefix=arm-linux-androideabi- \
     --enable-shared \
     --disable-symver \
     --disable-doc \
     --disable-ffplay \
     --disable-ffmpeg \
     --disable-ffprobe \
     --disable-ffserver \
     --disable-avdevice \
     --disable-avfilter \
     --disable-encoders  \
     --disable-muxers \
     --disable-filters \
     --disable-devices \
     --disable-everything \
     --enable-protocols  \
     --enable-parsers \
     --enable-demuxers \
     --disable-demuxer=sbg \
     --enable-decoders \
     --enable-bsfs \
     --enable-network \
     --enable-swscale  \
     --enable-asm \
     --enable-version3"

    ./configure $FFMPEG_FLAGS --extra-cflags="$CFLAGS $EXTRA_CFLAGS" --extra-ldflags="$EXTRA_LDFLAGS"

    Configure Result(Part of config.mak) :

    ifndef FFMPEG_CONFIG_MAK
    FFMPEG_CONFIG_MAK=1
    FFMPEG_CONFIGURATION=--prefix=/tmp/ffmpeg/build --target-os=linux --arch=arm --enable-cross-compile --cross-prefix=arm-linux-androideabi- --enable-shared --disable-symver --disable-doc --disable-ffplay --disable-ffmpeg --disable-ffprobe --disable-ffserver --disable-avdevice --disable-avfilter --disable-encoders --disable-muxers --disable-filters --disable-devices --disable-everything --enable-protocols --enable-parsers --enable-demuxers --disable-demuxer=sbg --enable-decoders --enable-bsfs --enable-network --enable-swscale --enable-asm --enable-version3 --extra-cflags='-O3 -Wall -mthumb -pipe -fpic -fasm   -finline-limit=300 -ffast-math   -fstrict-aliasing -Werror=strict-aliasing   -fmodulo-sched -fmodulo-sched-allow-regmoves   -Wno-psabi -Wa,--noexecstack   -D__ARM_ARCH_5__ -D__ARM_ARCH_5E__   -D__ARM_ARCH_5T__ -D__ARM_ARCH_5TE__   -DANDROID -DNDEBUG -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mvectorize-with-neon-quad' --extra-ldflags='-Wl,--fix-cortex-a8'
    prefix=/tmp/ffmpeg/build
    LIBDIR=$(DESTDIR)${prefix}/lib
    SHLIBDIR=$(DESTDIR)${prefix}/lib
    INCDIR=$(DESTDIR)${prefix}/include
    BINDIR=$(DESTDIR)${prefix}/bin
    DATADIR=$(DESTDIR)${prefix}/share/ffmpeg
    MANDIR=$(DESTDIR)${prefix}/share/man
    SRC_PATH=.
    ifndef MAIN_MAKEFILE
    SRC_PATH:=$(SRC_PATH:.%=..%)
    endif
    CC_IDENT=gcc 4.6
    (GCC)
    ARCH=arm
    CC=arm-linux-androideabi-gcc
    CXX=arm-linux-androideabi-g++
    AS=arm-linux-androideabi-gcc
    LD=arm-linux-androideabi-gcc
    DEPCC=arm-linux-androideabi-gcc
    DEPCCFLAGS= $(CPPFLAGS)
    DEPAS=arm-linux-androideabi-gcc
    DEPASFLAGS= $(CPPFLAGS)
    YASM=yasm
    DEPYASM=yasm
    AR=arm-linux-androideabi-ar
    ARFLAGS=rc
    AR_O=$@

    But when I make it

    CC  libavformat/4xm.o
    In file included from ./libavutil/bswap.h:35:0,
                    from ./libavutil/intreadwrite.h:25,
                    from libavformat/4xm.c:30:
    ./config.h:8:18: warning: missing terminating " character [enabled by default]
    In file included from ./libavutil/bswap.h:35:0,
                    from ./libavutil/intreadwrite.h:25,
                    from libavformat/4xm.c:30:
    ./config.h:9:7: warning: missing terminating " character [enabled by default]
    ./config.h:9:2: error: missing terminating " character
    In file included from ./libavutil/intreadwrite.h:25:0,
                    from libavformat/4xm.c:30:
    ./libavutil/bswap.h:58:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'static'
    common.mak:48: recipe for target `libavformat/4xm.o' failed
    make: *** [libavformat/4xm.o] Error 1

    It is the character error and I guess it is the windows character(I'm using cygwin), I tried dos2unix but it didn't work. Please help me and thanks for advising.