Recherche avancée

Médias (16)

Mot : - Tags -/mp3

Autres articles (61)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • Les statuts des instances de mutualisation

    13 mars 2010, par

    Pour des raisons de compatibilité générale du plugin de gestion de mutualisations avec les fonctions originales de SPIP, les statuts des instances sont les mêmes que pour tout autre objets (articles...), seuls leurs noms dans l’interface change quelque peu.
    Les différents statuts possibles sont : prepa (demandé) qui correspond à une instance demandée par un utilisateur. Si le site a déjà été créé par le passé, il est passé en mode désactivé. publie (validé) qui correspond à une instance validée par un (...)

  • Configuration spécifique d’Apache

    4 février 2011, par

    Modules spécifiques
    Pour la configuration d’Apache, il est conseillé d’activer certains modules non spécifiques à MediaSPIP, mais permettant d’améliorer les performances : mod_deflate et mod_headers pour compresser automatiquement via Apache les pages. Cf ce tutoriel ; mode_expires pour gérer correctement l’expiration des hits. Cf ce tutoriel ;
    Il est également conseillé d’ajouter la prise en charge par apache du mime-type pour les fichiers WebM comme indiqué dans ce tutoriel.
    Création d’un (...)

Sur d’autres sites (9680)

  • /document/video:189755 : No such file or directory [duplicate]

    1er février 2018, par lavanya lavan

    This question already has an answer here :

    I tried ffmpeg for splitting a video. I can’t see any files once it’s split. Anyone guide me pls

    onFailure : WARNING : linker : /data/data/com.dageek.instatoolbox_android/files/ffmpeg has text relocations. This is wasting memory and prevents security hardening. Please fix.

    ffmpeg version n3.0.1 Copyright (c) 2000-2016 the FFmpeg developers
     built with gcc 4.8 (GCC)
     configuration: --target-os=linux
       --cross-prefix=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/bin/i686-linux-android-
       --arch=x86 --cpu=i686 --enable-runtime-cpudetect
       --sysroot=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/sysroot
       --enable-pic --enable-libx264 --enable-libass --enable-libfreetype
       --enable-libfribidi --enable-libmp3lame --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/vagrant/SourceCode/ffmpeg-android/ffmpeg-pkg-config
       --prefix=/home/vagrant/SourceCode/ffmpeg-android/build/x86
       --extra-cflags='-I/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all -march=i686'
       --extra-ldflags='-L/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie'
       --extra-libs='-lpng -lexpat -lm' --extra-cxxflags=

    libavutil      55. 17.103 / 55. 17.103
     libavcodec     57. 24.102 / 57. 24.102
     libavformat    57. 25.100 / 57. 25.100
     libavdevice    57.  0.101 / 57.  0.101
     libavfilter     6. 31.100 /  6. 31.100
     libswscale      4.  0.100 /  4.  0.100
     libswresample   2.  0.101 /  2.  0.101
     libpostproc    54.  0.100 / 54.  0.100

    /document/video:189755: No such file or directory
  • 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.

  • Cut video command producing only audio

    12 février 2018, par Sandeep

    I am using ffmpeg in Android app and my command code looks like :

         final String[] command=new String[]{"-i",inputFileName , "-ss",
    String.valueOf(duration) , "-codec","copy", "-t",String.valueOf(start) , outputFileName};

    The logcat contains following ffmpeg output which shows video as 0kB in last line. Where should I look for fixing this because the final output file is a mp4 file but the video content is missing and only audio is present for the trimmed duration :

    02-12 17:22:43.837 25335-25335/service D/FFmpeg: Started command : ffmpeg ffmpeg version n3.4.1 Copyright (c) 2000-2017 the FFmpeg developers
    02-12 17:22:43.837 25335-25335/service D/FFmpeg: Started command : ffmpeg   built with gcc 4.9.x (GCC) 20150123 (prerelease)
    02-12 17:22:43.837 25335-25335/service D/FFmpeg: Started command : ffmpeg   configuration: --target-os=linux --cross-prefix=/root/bravobit/ffmpeg-android/toolchain-android/bin/i686-linux-android- --arch=x86 --cpu=i686 --enable-runtime-cpudetect --sysroot=/root/bravobit/ffmpeg-android/toolchain-android/sysroot --disable-asm --enable-pic --enable-libx264 --enable-libfreetype --enable-libmp3lame --enable-libvorbis --enable-libvpx --enable-libopus --enable-pthreads --disable-debug --disable-ffserver --enable-version3 --enable-hardcoded-tables --disable-ffplay --disable-linux-perf --disable-doc --disable-shared --enable-static --enable-runtime-cpudetect --enable-nonfree --enable-network --enable-avresample --enable-avformat --enable-avcodec --enable-indev=lavfi --enable-hwaccels --enable-ffmpeg --enable-zlib --enable-gpl --enable-small --disable-asm --pkg-config=/root/bravobit/ffmpeg-android/ffmpeg-pkg-config --prefix=/root/bravobit/ffmpeg-android/build/x86 --extra-cflags='-I/root/bravobit/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all -march=i686' --extra-ldflags='-L/root/bravobit/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-cxxflags= --extra-libs='-lpng -lx264 -lm -logg'
    02-12 17:22:43.837 25335-25335/service D/FFmpeg: Started command : ffmpeg   libavutil      55. 78.100 / 55. 78.100
    02-12 17:22:43.837 25335-25335/service D/FFmpeg: Started command : ffmpeg   libavcodec     57.107.100 / 57.107.100
    02-12 17:22:43.837 25335-25335/service D/FFmpeg: Started command : ffmpeg   libavformat    57. 83.100 / 57. 83.100
    02-12 17:22:43.837 25335-25335/service D/FFmpeg: Started command : ffmpeg   libavdevice    57. 10.100 / 57. 10.100
    02-12 17:22:43.837 25335-25335/service D/FFmpeg: Started command : ffmpeg   libavfilter     6.107.100 /  6.107.100
    02-12 17:22:43.838 25335-25335/service D/FFmpeg: Started command : ffmpeg   libavresample   3.  7.  0 /  3.  7.  0
    02-12 17:22:43.838 25335-25335/service D/FFmpeg: Started command : ffmpeg   libswscale      4.  8.100 /  4.  8.100
    02-12 17:22:43.838 25335-25335/service D/FFmpeg: Started command : ffmpeg   libswresample   2.  9.100 /  2.  9.100
    02-12 17:22:43.838 25335-25335/service D/FFmpeg: Started command : ffmpeg   libpostproc    54.  7.100 / 54.  7.100
    02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/DCIM/SampleVideo_1280x720_1mb.mp4':
    02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg   Metadata:
    02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg     major_brand     : isom
    02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg     minor_version   : 512
    02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg     compatible_brands: isomiso2avc1mp41
    02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg     creation_time   : 1970-01-01T00:00:00.000000Z
    02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg     encoder         : Lavf53.24.2
    02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg   Duration: 00:00:05.31, start: 0.000000, bitrate: 1589 kb/s
    02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg     Stream #0:0(und): Video: h264 (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 1205 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
    02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg     Metadata:
    02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg       creation_time   : 1970-01-01T00:00:00.000000Z
    02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg       handler_name    : VideoHandler
    02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg     Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp, 384 kb/s (default)
    02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg     Metadata:
    02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg       creation_time   : 1970-01-01T00:00:00.000000Z
    02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg       handler_name    : SoundHandler
    02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg Output #0, mp4, to '/storage/emulated/0/VideoTriming/20180212_172243SampleVideo_1280x720_1mb.mp4':
    02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg   Metadata:
    02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg     major_brand     : isom
    02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg     minor_version   : 512
    02-12 17:22:43.903 25335-25335/service D/FFmpeg: Started command : ffmpeg     compatible_brands: isomiso2avc1mp41
    02-12 17:22:43.903 25335-25335/service D/FFmpeg: Started command : ffmpeg     encoder         : Lavf57.83.100
    02-12 17:22:43.903 25335-25335/service D/FFmpeg: Started command : ffmpeg     Stream #0:0(und): Video: h264 (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 1205 kb/s, 25 fps, 25 tbr, 12800 tbn, 12800 tbc (default)
    02-12 17:22:43.903 25335-25335/service D/FFmpeg: Started command : ffmpeg     Metadata:
    02-12 17:22:43.903 25335-25335/service D/FFmpeg: Started command : ffmpeg       creation_time   : 1970-01-01T00:00:00.000000Z
    02-12 17:22:43.903 25335-25335/service D/FFmpeg: Started command : ffmpeg       handler_name    : VideoHandler
    02-12 17:22:43.903 25335-25335/service D/FFmpeg: Started command : ffmpeg     Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp, 384 kb/s (default)
    02-12 17:22:43.903 25335-25335/service D/FFmpeg: Started command : ffmpeg     Metadata:
    02-12 17:22:43.903 25335-25335/service D/FFmpeg: Started command : ffmpeg       creation_time   : 1970-01-01T00:00:00.000000Z
    02-12 17:22:43.903 25335-25335/service D/FFmpeg: Started command : ffmpeg       handler_name    : SoundHandler
    02-12 17:22:43.903 25335-25335/service D/FFmpeg: Started command : ffmpeg Stream mapping:
    02-12 17:22:43.903 25335-25335/service D/FFmpeg: Started command : ffmpeg   Stream #0:0 -> #0:0 (copy)
    02-12 17:22:43.903 25335-25335/service D/FFmpeg: Started command : ffmpeg   Stream #0:1 -> #0:1 (copy)
    02-12 17:22:43.903 25335-25335/service D/FFmpeg: Started command : ffmpeg Press [q] to stop, [?] for help
    02-12 17:22:43.910 25335-25335/service D/FFmpeg: Started command : ffmpeg frame=    0 fps=0.0 q=-1.0 Lsize=      46kB time=00:00:00.98 bitrate= 387.1kbits/s speed= 115x    
    02-12 17:22:43.910 25335-25335/service D/FFmpeg: Started command : ffmpeg video:0kB audio:46kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 2.145508%

    My input file is the first 1MB mp4 sample video downloaded from following website :

    http://www.sample-videos.com/