Recherche avancée

Médias (91)

Autres articles (105)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • Taille des images et des logos définissables

    9 février 2011, par

    Dans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
    Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

Sur d’autres sites (5349)

  • FFMPEG not able to trim some videos

    2 août 2015, par Bhuvnesh Varma

    I am using hiteshsondhi88/ffmpeg-android library to time or cut videos.It works fine for most videos but for some of the videos it fails and give below error especially for videos shared from whatsapp.I am using Environment.getExternalStoragePublicDirectory(
    Environment.DIRECTORY_MOVIES
    ) for storage of videos.Whats does this error means and why i am not able to crop/trim some videos ?

    FAILED with output : WARNING: linker: /data/data/com.peoplecloudlabs.apps.guggu/files/ffmpeg has text relocations. This is wasting memory and prevents security hardening. Please fix.
       ffmpeg version n2.4.2 Copyright (c) 2000-2014 the FFmpeg developers
       built on Oct  7 2014 15:11:41 with gcc 4.8 (GCC)
       configuration: --target-os=linux --cross-prefix=/home/sb/Source-Code/ffmpeg-android/toolchain-android/bin/i686-linux-android- --arch=x86 --cpu=i686 --enable-runtime-cpudetect --sysroot=/home/sb/Source-Code/ffmpeg-android/toolchain-android/sysroot --enable-pic --enable-libx264 --enable-libass --enable-libfreetype --enable-libfribidi --enable-fontconfig --enable-pthreads --disable-debug --disable-ffserver --enable-version3 --enable-hardcoded-tables --disable-ffplay --disable-ffprobe --enable-gpl --enable-yasm --disable-doc --disable-shared --enable-static --pkg-config=/home/sb/Source-Code/ffmpeg-android/ffmpeg-pkg-config --prefix=/home/sb/Source-Code/ffmpeg-android/build/x86 --extra-cflags='-I/home/sb/Source-Code/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all -march=i686' --extra-ldflags='-L/home/sb/Source-Code/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-lpng -lexpat -lm' --extra-cxxflags=
       libavutil      54.  7.100 / 54.  7.100
       libavcodec     56.  1.100 / 56.  1.100
       libavformat    56.  4.101 / 56.  4.101
       libavdevice    56.  0.100 / 56.  0.100
       libavfilter     5.  1.100 /  5.  1.100
       libswscale      3.  0.100 /  3.  0.100
       libswresample   1.  1.100 /  1.  1.100
       libpostproc    53.  0.100 / 53.  0.100
       /storage/emulated/0/1: No such file or directory
  • Failed to build Android FFmpeg using the NDK

    6 octobre 2013, par Blaze Tama

    First, I'm a newbie in Ubuntu and Android's Ff-mpeg so please bear with me.

    I'm using this library : https://github.com/appunite/AndroidFFmpeg and I'm trying to build it with Ubuntu 13.04 and Android NDK r9.

    First, I'm getting a C compiler cannot create exec error. After some research (and a little struggling), I noticed that my version is 4.8, while the version in android_build.sh is 4.4.3, so i changed all of those values and the error is gone.

    After that, I tried to build it again, but the libffmpeg.so was not built, which means I failed.

    I tried to see the config.log (vo-amwrbenc's log) and i found those errors :

    configure:4179: /home/tama/Documents/android-ndk-r9/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc --sysroot=/home/tama/Documents/android-ndk-r9/platforms/android-5/arch-arm/  -c -marm -march=armv5 -marm -march=armv5 conftest.c >&5
    conftest.c:61:29: error: expected ';', ',' or ')' before 'text'

    /home/tama/Documents/android-ndk-r9/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/arm-linux-androideabi-ar: conftest.o: No such file or directory

    configure:7482: /home/tama/Documents/android-ndk-r9/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc --sysroot=/home/tama/Documents/android-ndk-r9/platforms/android-5/arch-arm/ -std=gnu99 -E -marm -march=armv5 conftest.c
    conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory

    configure:7527: $? = 0
    configure:7541: /home/tama/Documents/android-ndk-r9/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc --sysroot=/home/tama/Documents/android-ndk-r9/platforms/android-5/arch-arm/ -std=gnu99 -E -marm -march=armv5 conftest.c
    conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory

    And more errors which are contained in the C code.

    Please kindly download my config.log (less than 50KB) if you need more information : https://www.dropbox.com/s/ptn1gvnik3v341y/config.log

    I'm racing with time now, any help is appreciated.

  • How to correctly setup Linker in Eclipse IDE 4.8.0M4 for ffmpeg development (Ubuntu)

    28 janvier 2018, par boergi

    I am using Eclipse IDE 4.8.0M4 on Ubunto 16.04. I try to compile the code from a FFmpeg tutorial on GitHUB : (https://github.com/leandromoreira/ffmpeg-libav-tutorial/blob/master/0_hello_world.c). For setting up FFmpeg in Eclipse i used this guide :(https://trac.ffmpeg.org/wiki/Setup_Eclipse_IDE_for_FFmpeg_(Linux)).

    The header files and libaries are all in the folder /home/git/ffmpeg. (e.g. avcodec.h and libavcodec.a is in the folder /home/git/ffmpeg/libavcodec). Included libs : -lavcodec -lpostproc -lz -llzma -lrt -lavfilter -lswresample -lavdevice -lswscale -lavutil -lavformat

    Console output :

    12:34:30 **** Incremental Build of configuration Debug for project ffmpeg_test ****
    make all
    Building target: ffmpeg_test
    Invoking: GCC C Linker
    gcc -L/home/git/ffmpeg/libavcodec -L/home/git/ffmpeg/libavformat -o "ffmpeg_test"  ./src/simpletest.o   -lavcodec -lpostproc -lz -llzma -lrt -lavfilter -lswresample -lavdevice -lswscale -lavutil -lavformat
    ./src/simpletest.o: In function `main':
    /home/boergi/eclipse-workspace/ffmpeg_test/Debug/../src/simpletest.c:141: undefined reference to `avcodec_parameters_to_context'
    /home/boergi/eclipse-workspace/ffmpeg_test/Debug/../src/simpletest.c:163: undefined reference to `av_packet_alloc'
    /home/boergi/eclipse-workspace/ffmpeg_test/Debug/../src/simpletest.c:194: undefined reference to `av_packet_free'
    ./src/simpletest.o: In function `decode_packet':
    /home/boergi/eclipse-workspace/ffmpeg_test/Debug/../src/simpletest.c:214: undefined reference to `avcodec_send_packet'
    /home/boergi/eclipse-workspace/ffmpeg_test/Debug/../src/simpletest.c:225: undefined reference to `avcodec_receive_frame'
    collect2: error: ld returned 1 exit status
    makefile:30: recipe for target 'ffmpeg_test' failed
    make: *** [ffmpeg_test] Error 1

    12:34:31 Build Finished (took 519ms)

    I found out that "int avcodec_parameters_to_context(AVCodecContext *codec, const AVCodecParameters *par)" is defined in utils.c (also in the /libavcodec folder), but i don’t know what can i do to get this running.

    boergi@Ubuntu-b:~/git/ffmpeg$ ffmpeg -version
    ffmpeg version N-89895-g7723750 Copyright (c) 2000-2018 the FFmpeg developers
    built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.5) 20160609
    configuration:
    libavutil      56.  7.100 / 56.  7.100
    libavcodec     58.  9.100 / 58.  9.100
    libavformat    58.  5.101 / 58.  5.101
    libavdevice    58.  0.101 / 58.  0.101
    libavfilter     7. 11.101 /  7. 11.101
    libswscale      5.  0.101 /  5.  0.101
    libswresample   3.  0.101 /  3.  0.101