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 (5692)

  • Ffmpeg not compiling

    25 mai 2018, par Robin Betka

    I’m trying to compile ffmpeg 4.0 for Android (using Ubuntu 64 bit) but I can not get it to work.
    I was able to compile it for Linux itself fairly fast, but now struggling using the NDK. I’m unexperienced with this so I might have some major flaw somewhere. All paths and files exist. Github tutorials are extremely outdated and don’t work as well for me with different errors.

    Getting following error :

    In file included from ./libavformat/internal.h:24:0,
                from libavdevice/alldevices.c:23:
    /home/lit/Android/Sdk/ndk-bundle/toolchains/arm-linux-androideabi-
    4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-
    androideabi/4.9.x/include/stdint.h:9:26: fatal error: stdint.h: No such file
    or directory
    # include_next
                         ^
    compilation terminated.
    ffbuild/common.mak:60: recipe for target 'libavdevice/alldevices.o' failed
    make: *** [libavdevice/alldevices.o] Error 1

    My build script :

    SYSROOT=/home/lit/Android/Sdk/ndk-bundle/platforms/android-14/arch-arm/
    TOOLCHAIN=/home/lit/Android/Sdk/ndk-bundle/toolchains/arm-linux-androideabi-
    4.9/prebuilt/linux-x86_64

    cd ffmpeg/ffmpeg && \
    PATH="$HOME/bin:$PATH" PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig"
    ./configure \
    --prefix="$HOME/ffmpeg_build" \
    --pkg-config-flags="--static" \
    --extra-cflags="-O3 -Wall -pipe -ffast-math -fstrict-aliasing -Werror=strict- aliasing -Wno-psabi -Wa,--noexecstack -DANDROID -DNDEBUG-march=armv5te -mtune=arm9tdmi -msoft-float"\
    --extra-ldflags="-L$HOME/ffmpeg_build/lib" \
    --bindir="$HOME/bin" \
    --arch=arm \
    --target-os=linux \
    --enable-cross-compile \
    --cross-prefix=$TOOLCHAIN/bin/arm-linux-androideabi- \
    --cpu=armv5te \
    --sysroot=$SYSROOT \
    --enable-gpl \
    --enable-small \
    --enable-nonfree && \

    PATH="$HOME/bin:$PATH" make && \
    make -j2 && \
    make install && \
    hash -r

    Thank you for your help.

  • Error while opening encoder for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height

    20 janvier 2017, par Pradeep Singh

    I am using this command to convert an avi,mov,m4v video files to flv format via FFMPEG

    /usr/local/bin/ffmpeg -i '/home/public_html/files/video_1355440448.m4v' -s '640x360' -sameq -ab '64k' -ar '44100' -f 'flv' -y /home/public_html/files/video_1355440448.flv

    [flv @ 0x68b1a80] requested bitrate is too low
    Output #0, flv, to '/home/files/1355472099-50cadce349290.flv':
       Stream #0.0: Video: flv, yuv420p, 640x360, q=2-31, pass 2, 200 kb/s, 90k tbn, 25 tbc
       Stream #0.1: Audio: adpcm_swf, 44100 Hz, 2 channels, s16, 64 kb/s
    Stream mapping:
     Stream #0.0 -> #0.0
     Stream #0.1 -> #0.1
    Error while opening encoder for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height
    -------------------------------
    RESULT
    -------------------------------
    Execute error. Output for file "/home/public_html/files/video_1355472099.avi" was found, but the file contained no data. Please check the available codecs compiled with FFmpeg can support this type of conversion. You can check the encode decode availability by inspecting the output array from PHPVideoToolkit::getFFmpegInfo().

    But if I manually used this command then its working

    /usr/local/bin/ffmpeg -i '/home/public_html/files/video_1355440448.m4v' -s '640x360' -sameq -ab '64k' -ar '44100' -f 'flv' -y /home/public_html/files/video_1355440448.flv
  • Error while opening encoder for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height

    10 avril 2019, par Pradeep Singh

    I am using this command to convert an avi,mov,m4v video files to flv format via FFMPEG

    /usr/local/bin/ffmpeg -i '/home/public_html/files/video_1355440448.m4v' -s '640x360' -sameq -ab '64k' -ar '44100' -f 'flv' -y /home/public_html/files/video_1355440448.flv

    [flv @ 0x68b1a80] requested bitrate is too low
    Output #0, flv, to '/home/files/1355472099-50cadce349290.flv':
       Stream #0.0: Video: flv, yuv420p, 640x360, q=2-31, pass 2, 200 kb/s, 90k tbn, 25 tbc
       Stream #0.1: Audio: adpcm_swf, 44100 Hz, 2 channels, s16, 64 kb/s
    Stream mapping:
     Stream #0.0 -> #0.0
     Stream #0.1 -> #0.1
    Error while opening encoder for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height
    -------------------------------
    RESULT
    -------------------------------
    Execute error. Output for file "/home/public_html/files/video_1355472099.avi" was found, but the file contained no data. Please check the available codecs compiled with FFmpeg can support this type of conversion. You can check the encode decode availability by inspecting the output array from PHPVideoToolkit::getFFmpegInfo().

    But if I manually used this command then its working

    /usr/local/bin/ffmpeg -i '/home/public_html/files/video_1355440448.m4v' -s '640x360' -sameq -ab '64k' -ar '44100' -f 'flv' -y /home/public_html/files/video_1355440448.flv