Recherche avancée

Médias (1)

Mot : - Tags -/Christian Nold

Autres articles (46)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (9067)

  • Linking to static libs cross compiled for android complains "no archive symbol table (run ranlib)"

    5 octobre 2017, par Programist

    I am trying to build FFmpeg for android as static libraries. Following is my buildscript.sh

    #!/bin/bash

    cd ffmpeg-3.3

    NDK=/Users/sambitpujari/codeenv/ndk/android-ndk-r15c
    SYSROOT=$NDK/platforms/android-26/arch-arm/
    TOOLCHAIN=$NDK/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64
    CPREFIX=$TOOLCHAIN/bin/arm-linux-androideabi-ar

    function build_ffmpeg_android {

    ./configure \
     --prefix=$PREFIX \
     --disable-programs \
     --enable-static \
     --disable-shared \
     --disable-doc \
     --enable-postproc \
     --enable-swscale \
     --enable-avfilter \
     --enable-avresample \
     --enable-pic \
     --disable-opencl \
     --disable-securetransport \
     --enable-videotoolbox \
     --enable-audiotoolbox \
     #--enable-libx264 \
     --cross-prefix=$CPREFIX \
     --target-os=linux \
     --arch=arm \
     --enable-cross-compile \
     --enable-gpl \
     --sysroot=$SYSROOT \
     --extra-cflags="-Os -fpic $ADDI_CFLAGS" \
     --extra-ldflags="$ADDI_LDFLAGS" \
     $ADDITIONAL_CONFIGURE_FLAG
     make clean
     make -j9
     make install
    }

    CPU=arm
    PREFIX=$(pwd)/android/$CPU
    ADDI_CFLAGS="-marm"

    build_ffmpeg_android

    The output of above script is placed inside ffmpeg-3.3/android/arm.

    Problem :
    When trying to link to these .a libraries from my app (-lavformat -lavcodec -lswscale -lavutil -lavfilter -lswresample -lavdevice),
    I get the following linker error for each of them

    :-1: error: error: avformat: no archive symbol table (run ranlib)
    :-1: error: error: avcodec: no archive symbol table (run ranlib)
    :-1: error: error: swscale: no archive symbol table (run ranlib)
    :-1: error: error: avutil: no archive symbol table (run ranlib)
    :-1: error: error: avfilter: no archive symbol table (run ranlib)
    :-1: error: error: swresample: no archive symbol table (run ranlib)
    :-1: error: error: avdevice: no archive symbol table (run ranlib)

    Looking at this discussion, I am doing it correct by selecting arm-linux-androideabi-ar in CPREFIX.

    Question :
    What else am I missing here ? What is needed in my buildscript.sh to satisfy correct linking ?

  • avcodec/pixlet : fixes integer overflow in read_highpass()

    17 août 2017, par Michael Niedermayer
    avcodec/pixlet : fixes integer overflow in read_highpass()
    

    Fixes : runtime error : negation of -2147483648 cannot be represented in type 'int32_t' (aka 'int') ; cast to an unsigned type to negate this value to itself
    Fixes : 2879/clusterfuzz-testcase-minimized-6317542639403008

    Found-by : continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavcodec/pixlet.c
  • Converting DAV to MP4 and OGG

    25 avril, par mackowiakp

    I want to prepare WEB page containing films from security camera recorders. Each recorder transmit video files in DAV format so each film is converted to MP4 format by script, using such syntax :

    &#xA;&#xA;

    ffmpeg -y -i movie.dav -vcodec libx264 -crf 24 movie.mp4&#xA;

    &#xA;&#xA;

    So I included in HTMLv5 code such entry :

    &#xA;&#xA;

     <video width="320" height="240">&#xA;  <source src="movie.mp4" type="video/mp4">&#xA;</source></video> &#xA;

    &#xA;&#xA;

    It works correctly with Chrome but not with Firefox. For proper work in FF it is necessary add link to OGG file. So correct HTMLv5 syntax for both browsers should look like this :

    &#xA;&#xA;

     <video width="320" height="240">&#xA;  <source src="movie.mp4" type="video/mp4">&#xA;  <source src="movie.ogg" type="video/ogg">&#xA;</source></source></video>&#xA;

    &#xA;&#xA;

    Can anybody help me to pass correct ffmpeg syntax to create OGG file ?

    &#xA;&#xA;

    Output from console after using -movflags +faststart options

    &#xA;&#xA;

    [maciek@piotr MMM]$ ../ffmpeg-2.4.2-64bit-static/ffmpeg -movflags &#x2B;faststart -y -i   04.24.23-04.24.38\[M\]\[@0\]\[0\].dav -vcodec libx264 -crf 24 10.mp4&#xA;ffmpeg version 2.4.2-   http://johnvansickle.com/ffmpeg/    Copyright (c) 2000-2014 the FFmpeg developers&#xA;  built on Oct  9 2014 07:24:56 with gcc 4.8 (Debian 4.8.3-11)&#xA;  configuration: --enable-gpl --enable-version3 --disable-shared --disable-debug --enable-runtime-cpudetect --enable-libmp3lame --enable-libx264 --enable-libx265 --enable- libwebp --enable-libspeex --enable-libvorbis --enable-libvpx --enable-libfreetype --enable-fontconfig --enable-libxvid --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-gray --enable-libopenjpeg --enable-libopus --disable-ffserver --enable-libass --enable-gnutls --cc=gcc-4.8&#xA;  libavutil      54.  7.100 / 54.  7.100&#xA;  libavcodec     56.  1.100 / 56.  1.100&#xA;  libavformat    56.  4.101 / 56.  4.101&#xA;  libavdevice    56.  0.100 / 56.  0.100&#xA;  libavfilter     5.  1.100 /  5.  1.100&#xA;  libswscale      3.  0.100 /  3.  0.100&#xA;  libswresample   1.  1.100 /  1.  1.100&#xA;  libpostproc    53.  0.100 / 53.  0.100&#xA;Option movflags not found.&#xA;

    &#xA;