Recherche avancée

Médias (1)

Mot : - Tags -/musée

Autres articles (106)

  • 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

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

Sur d’autres sites (11428)

  • Android FFmpeg : Undefined references to atof, log2 & log2f

    30 novembre 2020, par Quantum_Programmer

    I am trying to link to FFmpeg built for android using android-ndk-r15c. I built this by downloading FFmpeg source that is latest ffmpeg-3.3.4.

    



    Following are my linker list :

    



    -lavformat -lavcodec -lswscale -lavutil -lavfilter -lswresample -lavdevice -lpostproc


    



    I get the following errors complaining

    



    libavformat/hls.c:783: error: undefined reference to 'atof'
libavcodec/ffv1enc.c:146: error: undefined reference to 'log2'
libavcodec/imc.c:428: error: undefined reference to 'log2f'


    



    Following are my FFmpeg related includes :

    



    #include &#xA;#include <cstdlib>&#xA;&#xA;#define __STDC_CONSTANT_MACROS&#xA;&#xA;extern "C" {&#xA;&#xA;#include "libavcodec/avcodec.h"&#xA;#include "libavformat/avformat.h"&#xA;#include "libavutil/mathematics.h"&#xA;#include "libavcodec/version.h"&#xA;#include "libavutil/rational.h"&#xA;#include "libavutil/avstring.h"&#xA;#include "libswscale/swscale.h"&#xA;&#xA;}&#xA;</cstdlib>

    &#xA;&#xA;

    Following is my buildscript to cross-compile FFmpeg for android :

    &#xA;&#xA;

    #!/bin/bash&#xA;&#xA;cd ffmpeg-3.3.4&#xA;&#xA;NDK=/path/to/ndk/android-ndk-r15c&#xA;SYSROOT=$NDK/platforms/android-21/arch-arm/&#xA;TOOLCHAIN=$NDK/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64&#xA;AR=$TOOLCHAIN/bin/arm-linux-androideabi-ar&#xA;CPREFIX=$TOOLCHAIN/bin/arm-linux-androideabi-ar&#xA;CC=$TOOLCHAIN/bin/arm-linux-androideabi-gcc&#xA;CXX=$TOOLCHAIN/bin/arm-linux-androideabi-g&#x2B;&#x2B;&#xA;LD=$TOOLCHAIN/bin/arm-linux-androideabi-ld&#xA;RANLIB=$TOOLCHAIN/bin/arm-linux-androideabi-ranlib&#xA;STRIP=$TOOLCHAIN/bin/arm-linux-androideabi-strip&#xA;&#xA;function build_ffmpeg_android {&#xA;&#xA;./configure \&#xA;    --prefix=$PREFIX \&#xA;    --disable-stripping \&#xA;    --arch=arm \&#xA;    --cpu=cortex-a8 \&#xA;    --target-os=linux \&#xA;    --enable-cross-compile \&#xA;    --enable-debug \&#xA;    --enable-pic \&#xA;    --disable-programs \&#xA;    --enable-static \&#xA;    --disable-shared \&#xA;    --cross-prefix=$TOOLCHAIN/bin/arm-linux-androideabi- \&#xA;    --disable-doc \&#xA;    --enable-postproc \&#xA;    --enable-swscale \&#xA;    --enable-avfilter \&#xA;    --enable-avresample \&#xA;    --disable-opencl \&#xA;    --disable-securetransport \&#xA;    --sysroot=$SYSROOT \&#xA;    --enable-videotoolbox \&#xA;    --enable-avresample \&#xA;    --disable-symver \&#xA;    #--enable-gpl \&#xA;    #--enable-libx264&#xA;    $ADDITIONAL_CONFIGURE_FLAG&#xA;    make clean&#xA;    make -j9&#xA;    make install&#xA;}&#xA;&#xA;CPU=arm&#xA;PREFIX=$(pwd)/android/$CPU&#xA;ADDI_CFLAGS="-marm"&#xA;&#xA;build_ffmpeg_android&#xA;

    &#xA;&#xA;

    Question :
    &#xA;Which library am I missing to link to ?

    &#xA;

  • FFmpeg command for crossfading between 5 videos .How to manage setpts=PTS-STARTPTS ?

    15 novembre 2023, par Harsh Bhavsar

    Here, New in FFmpeg . I am using and testing in console in FFmpeg .

    &#xA;&#xA;

    &#xA;

    I already done with 2 video join with cross fading with this question :&#xA; I am doing for 5 videos merging with cross fade I just done 90% in merging &#xA; i just need to manage setpts=PTS-STARTPTS Just look into this pls.

    &#xA;

    &#xA;&#xA;

    ffmpeg -i big_buck.mp4 -i big_buck.mp4 -i big_buck.mp4 -i big_buck.mp4 -i &#xA;big_buck.mp4 -filter_complex "[0:v]trim=0:4,setpts=PTS-&#xA;STARTPTS,fade=out:st=4:d=1:alpha=1[1]; [1:v]trim=1:4,setpts=PTS-&#xA;STARTPTS,format=yuva420p,fade=in:st=0:d=1:alpha=1,fade=out:st=4:d=1:alpha=1[2]; &#xA;[2:v]trim=1:4,setpts=PTS-&#xA;STARTPTS,format=yuva420p,fade=in:st=0:d=1:alpha=1,fade=out:st=4:d=1:alpha=1[3]; &#xA;[3:v]trim=1:4,setpts=PTS-&#xA;STARTPTS,format=yuva420p,fade=in:st=0:d=1:alpha=1,fade=out:st=4:d=1:alpha=1[4]; &#xA;[4:v]trim=1:4,setpts=PTS-STARTPTS,format=yuva420p,fade=in:st=0:d=1:alpha=1[5]; &#xA;[1][2]overlay,format=yuv420p[12]; [12][3]overlay,format=yuv420p[123]; [4]&#xA;[5]overlay,format=yuv420p[45]; [123][45]concat=n=2 [v]" -map [v]  result.mp4&#xA;

    &#xA;&#xA;

    ****Note that every input video big_buck.mp4 length is 5 sec ****. now see setpts=PTS-STARTPTS in code How to Manage that in every video Input ????

    &#xA;&#xA;

    I also see in variuos forums about that but i didnt find !!!&#xA;Thank you

    &#xA;

  • FFmpeg command for crossfading between 5 videos .How to manage setpts=PTS-STARTPTS ?

    23 juin 2016, par Harsh Bhavsar

    Here, New in FFmpeg . I am using and testing in console in FFmpeg .

    I already done with 2 video join with cross fading with this question :
    I am doing for 5 videos merging with cross fade I just done 90% in merging
    i just need to manage setpts=PTS-STARTPTS Just look into this pls.

    ffmpeg -i big_buck.mp4 -i big_buck.mp4 -i big_buck.mp4 -i big_buck.mp4 -i
    big_buck.mp4 -filter_complex "[0:v]trim=0:4,setpts=PTS-
    STARTPTS,fade=out:st=4:d=1:alpha=1[1]; [1:v]trim=1:4,setpts=PTS-
    STARTPTS,format=yuva420p,fade=in:st=0:d=1:alpha=1,fade=out:st=4:d=1:alpha=1[2];
    [2:v]trim=1:4,setpts=PTS-
    STARTPTS,format=yuva420p,fade=in:st=0:d=1:alpha=1,fade=out:st=4:d=1:alpha=1[3];
    [3:v]trim=1:4,setpts=PTS-
    STARTPTS,format=yuva420p,fade=in:st=0:d=1:alpha=1,fade=out:st=4:d=1:alpha=1[4];
    [4:v]trim=1:4,setpts=PTS-STARTPTS,format=yuva420p,fade=in:st=0:d=1:alpha=1[5];
    [1][2]overlay,format=yuv420p[12]; [12][3]overlay,format=yuv420p[123]; [4]
    [5]overlay,format=yuv420p[45]; [123][45]concat=n=2 [v]" -map [v]  result.mp4

    ****Note that every input video big_buck.mp4 length is 5 sec ****. now see setpts=PTS-STARTPTS in code How to Manage that in every video Input ????

    I also see in variuos forums about that but i didnt find !!!
    Thank you