Recherche avancée

Médias (91)

Autres articles (74)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

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

  • 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

Sur d’autres sites (12237)

  • High quality screen capture using ffmpeg on wayland [closed]

    27 novembre 2024, par Charlie Benger-Stevenson

    Running hyprland/wayland on arch.

    


    I want a reasonable quality (for say youtube) screen capture.

    


    ffmpeg -device /dev/dri/card1 -re -f kmsgrab -i - -vf 'hwmap=derive_device=vaapi,hwdownload,format=bgr0' -s 1920x1080 -c:v mpeg2video -b:v 1M -t 5  ~/Recordings/screencap.avi


    


    This should set a bitrate of 1M but the output is super blocky with a much lower bitrate than specified by the b:v flag.

    


    What am I doing wrong ?

    


  • Please provide latest version FFmpeg library(.so) file for android

    2 mai 2014, par Carlos

    i have using the following library files :

    {"ffmpeg",
           "libavcodec.so", "libavcodec.so.52", "libavcodec.so.52.99.1",
           "libavcore.so", "libavcore.so.0", "libavcore.so.0.16.0",
           "libavdevice.so", "libavdevice.so.52", "libavdevice.so.52.2.2",
           "libavfilter.so", "libavfilter.so.1", "libavfilter.so.1.69.0",
           "libavformat.so", "libavformat.so.52", "libavformat.so.52.88.0",
           "libavutil.so", "libavutil.so.50", "libavutil.so.50.34.0",
           "libswscale.so", "libswscale.so.0", "libswscale.so.0.12.0"
    };

    when i used the following commands

    String[] ffmpegCommand ={"/data/data/com.mobvcasting.mjpegffmpeg/ffmpeg","-i",Environment.getExternalStorageDirectory().getPath() + "/com.mobvcasting.mjpegffmpeg/bg.png",
                       "-r","5","-i",Environment.getExternalStorageDirectory().getPath() + "/com.mobvcasting.mjpegffmpeg/image%d.png","-filter_complex","overlay","-shortest",Environment.getExternalStorageDirectory().getPath() + "/com.mobvcasting.mjpegffmpeg/video.mp4"};

    i got Error Like

    10-15 11:22:55.970: E/MJPEG_FFMPEG(2620): ***FFmpeg version UNKNOWN, Copyright (c) 2000-2010 the FFmpeg developers***
    10-15 11:22:55.970: E/MJPEG_FFMPEG(2620): ***  built on Jul 28 2011 16:47:07 with gcc 4.4.3***
    10-15 11:22:55.970: E/MJPEG_FFMPEG(2620): ***  configuration: --target-os=linux --cross-prefix=arm-linux-androideabi- --arch=arm --sysroot=/Developer/android-ndk-r5b//platforms/android-3/arch-arm --soname-prefix=/data/data/com.mobvcasting.mjpegffmpeg/ --enable-shared --disable-symver --enable-small --optimization-flags=-O2 --enable-encoder=mpeg2video --enable-encoder=nellymoser --enable-protocol=file --prefix=../build/ffmpeg/armeabi --extra-cflags= --extra-ldflags=***
    10-15 11:22:55.970: E/MJPEG_FFMPEG(2620): ***  libavutil     50.34. 0 / 50.34. 0***
    10-15 11:22:55.970: E/MJPEG_FFMPEG(2620): ***  libavcore      0.16. 0 /  0.16. 0***
    10-15 11:22:55.970: E/MJPEG_FFMPEG(2620): ***  libavcodec    52.99. 1 / 52.99. 1***
    10-15 11:22:55.970: E/MJPEG_FFMPEG(2620): ***  libavformat   52.88. 0 / 52.88. 0***
    10-15 11:22:55.970: E/MJPEG_FFMPEG(2620): ***  libavdevice   52. 2. 2 / 52. 2. 2***
    10-15 11:22:55.970: E/MJPEG_FFMPEG(2620): ***  libavfilter    1.69. 0 /  1.69. 0***
    10-15 11:22:55.970: E/MJPEG_FFMPEG(2620): ***  libswscale     0.12. 0 /  0.12. 0***

    Please can anyone provide latest FFmpeg library file ?

  • Compiling FFmpeg staticly using NDK error - Not position independent executable

    27 février 2017, par David Barishev

    I have been trying to compile ffmpeg into a static library in order to use it in my android application, but i couldn’t get it to work.

    Im working with FFmpeg 3.2.4, and ndk r13b, using bash on windows 10(Ubuntu 14.04).

    Here is what i did :

    • I made a stand alone toolchain for x86_64 and api 21 using :
      python make_standalone_toolchain.py --api 21 --arch x86_64 --install-dir {}

    • Made a configuration script :

      ./configure \
      --target-os=android                                     \
      --arch=x86_64                                              \
      --prefix=/home/david/ffmpeg_x86_64_build                          \
      --cross-prefix=/home/david/x86_64_toolchain/bin/x86_64-linux-android-\
      --sysroot=/home/david/x86_64_toolchain/sysroot                    \
      --enable-cross-compile                                  \
      --pkg-config-flags="--static"                           \
      --enable-ffmpeg                                         \
      --disable-ffplay                                        \
      --disable-ffprobe                                       \
      --disable-ffserver                                      \
      --disable-doc                                           \
      --disable-htmlpages                                     \
      --disable-manpages                                      \
      --disable-podpages                                      \
      --disable-txtpages                                      \
      --extra-cflags="-fPIC"                                  \
      --extra-cxxflags="-fPIC"
      --disable-shared --enable-static \
      --enable-yasm

      make
      make install

    It produced an FFmpeg executable, however when i ran it on my API 23 emulator, i got an error message :error: only position independent executables (PIE) are supported.
    Even that i used -fPic

    How can i fix it ? Also i’m not sure about my configuration, there wasn’t up to date sources on how to compile it correctly for every ABI (arm,arm64,x86,x86_64,mips,mips64) that i need for my application.
    I have seen many script, and im not too familiar with compiling native code, so i wasn’t sure what settings i need, for example like C flags and etc.

    To be precise on how i tried to configure FFmpeg :

    • I need a static library
    • I Only need the ffmpeg command line utility
    • I want to compile the library for every ABI i listed above.This configuration tried to compile for x86_64.
    • Running on android of course

    I would greatly appreciate some help on how to configure and compile this correctly.