Recherche avancée

Médias (0)

Mot : - Tags -/optimisation

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (111)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • Les notifications de la ferme

    1er décembre 2010, par

    Afin d’assurer une gestion correcte de la ferme, il est nécessaire de notifier plusieurs choses lors d’actions spécifiques à la fois à l’utilisateur mais également à l’ensemble des administrateurs de la ferme.
    Les notifications de changement de statut
    Lors d’un changement de statut d’une instance, l’ensemble des administrateurs de la ferme doivent être notifiés de cette modification ainsi que l’utilisateur administrateur de l’instance.
    À la demande d’un canal
    Passage au statut "publie"
    Passage au (...)

  • Initialisation de MediaSPIP (préconfiguration)

    20 février 2010, par

    Lors de l’installation de MediaSPIP, celui-ci est préconfiguré pour les usages les plus fréquents.
    Cette préconfiguration est réalisée par un plugin activé par défaut et non désactivable appelé MediaSPIP Init.
    Ce plugin sert à préconfigurer de manière correcte chaque instance de MediaSPIP. Il doit donc être placé dans le dossier plugins-dist/ du site ou de la ferme pour être installé par défaut avant de pouvoir utiliser le site.
    Dans un premier temps il active ou désactive des options de SPIP qui ne le (...)

Sur d’autres sites (6215)

  • ffmpeg - Use filter in android

    12 décembre 2013, par kikuchi

    I'm trying to use the movie filter in my android project with ffmpeg. I use a fork of the guardian project : Cheers-dev

    It use a recent version of ffmpeg ( 15 days old atm). I added the option --enable-filter=movie to activate the filter.

    I use this command line in my android project :

    ffmpeg -i input.mp4 -vf "movie=watermark.png [watermark]; [in][watermark] overlay=main_w-overlay_w-10:main_h-overlay_h-10 [out]" -strict -2 outputvideo.mp4

    It perfectly works with my desktop version on Debian Wheezy. But it's impossible to make it work on my Android. All other commands works.

    Here the error when it fails : No such filter: 'movie'.

    I also tested with the option -filter_complex with a somewhat different error :

    $ ffmpeg -y -loglevel debug -i /storage/sdcard0/test/hsgjr_export.mp4 -i /storage/sdcard0/test/watermark.png -filter_complex "[0:v][1:v]overlay=main_w-overlay_w-10:main_h-overlay_h-10[out]" -map [out] -map 0:a -codec:a copy /storage/sdcard0/test/hsgjr_watermark.mp4

    ffmpeg version N-58429-gccdfa3e Copyright (c) 2000-2013 the FFmpeg developers
    built on Dec 10 2013 01:12:39 with gcc 4.4.3 (GCC)
    configuration: --arch=arm --cpu=cortex-a8 --target-os=linux --enable-runtime-cpudetect --prefix=/data/data/info.guardianproject.ffmpeg/app_opt --enable-pic --disable-shared --enable-static --cross-prefix=/opt/android/ndk-r8/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi- --sysroot=/opt/android/ndk-r8/platforms/android-14/arch-arm --extra-cflags='-I../x264 -I/Android/cheers/android-ffmpeg/data/data/info.guardianproject.ffmpeg/app_opt/include -mfloat-abi=softfp -mfpu=neon' --extra-ldflags='-L../x264 -L/Android/cheers/android-ffmpeg/data/data/info.guardianproject.ffmpeg/app_opt/lib' --enable-version3 --enable-gpl --enable-yasm --enable-decoders --enable-encoders --enable-muxers --enable-demuxers --enable-parsers --enable-protocols --enable-filter=movie --enable-avresample --enable-libvorbis --disable-indevs --enable-indev=lavfi
    libavutil      52. 54.100 / 52. 54.100
    libavcodec     55. 44.100 / 55. 44.100
    libavformat    55. 21.101 / 55. 21.101
    libavdevice    55.  5.100 / 55.  5.100
    libavfilter     3. 91.100 /  3. 91.100
    libavresample   1.  1.  0 /  1.  1.  0
    libswscale      2.  5.101 /  2.  5.101
    libswresample   0. 17.104 /  0. 17.104
    libpostproc    52.  3.100 / 52.  3.100
    Splitting the commandline.
    Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
    Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.
    Reading option '-i' ... matched as input file with argument '/storage/sdcard0/test/hsgjr_export.mp4'.
    Reading option '-i' ... matched as input file with argument '/storage/sdcard0/test/watermark.png'.
    Reading option '-filter_complex' ... matched as option 'filter_complex' (create a complex filtergraph) with argument '"[0:v][1:v]overlay=main_w-overlay_w-10:main_h-overlay_h-10[out]"'.
    Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '[out]'.
    Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '0:a'.
    Reading option '-codec:a' ... matched as option 'codec' (codec name) with argument 'copy'.
    Reading option '/storage/sdcard0/test/hsgjr_watermark.mp4' ... matched as output file.
    Finished splitting the commandline.
    Parsing a group of options: global .
    Applying option y (overwrite output files) with argument 1.
    Applying option loglevel (set logging level) with argument debug.
    Applying option filter_complex (create a complex filtergraph) with argument "[0:v][1:v]overlay=main_w-overlay_w-10:main_h-overlay_h-10[out]".
    Successfully parsed a group of options.
    Parsing a group of options: input file /storage/sdcard0/test/hsgjr_export.mp4.
    Successfully parsed a group of options.
    Opening an input file: /storage/sdcard0/test/hsgjr_export.mp4.
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x1274cd0] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x1274cd0] ISO: File Type Major Brand: isom
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x1274cd0] File position before avformat_find_stream_info() is 1196725
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x1274cd0] All info found
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x1274cd0] File position after avformat_find_stream_info() is 30451
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/sdcard0/test/hsgjr_export.mp4':
    Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf55.21.101
    Duration: 00:00:00.96, start: 0.000000, bitrate: 9972 kb/s
    Stream #0:0(und), 1, 1/1200000: Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080, 1/2400000, 9830 kb/s, 25 fps, 25 tbr, 1200k tbn, 2400k tbc (default)
    Metadata:
    handler_name    : VideoHandler
    Stream #0:1(und), 1, 1/48000: Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 127 kb/s (default)
    Metadata:
    handler_name    : SoundHandler
    Successfully opened the file.
    Parsing a group of options: input file /storage/sdcard0/test/watermark.png.
    Successfully parsed a group of options.
    Opening an input file: /storage/sdcard0/test/watermark.png.
    [AVIOContext @ 0x12870f0] Statistics: 26515 bytes read, 0 seeks
    Input #1, image2, from '/storage/sdcard0/test/watermark.png':
    Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
    Stream #1:0, 1, 1/25: Video: png, rgba, 400x170, 1/25, 25 tbr, 25 tbn, 25 tbc
    Successfully opened the file.
    Parsing a group of options: output file /storage/sdcard0/test/hsgjr_watermark.mp4.
    Applying option map (set input stream mapping) with argument [out].
    Applying option map (set input stream mapping) with argument 0:a.
    Applying option codec:a (codec name) with argument copy.
    Successfully parsed a group of options.
    Opening an output file: /storage/sdcard0/test/hsgjr_watermark.mp4.
    [AVFilterGraph @ 0x127d5f0] No such filter: '"'
    Error configuring filters.
    [AVIOContext @ 0x127d2b0] Statistics: 67296 bytes read, 2 seeks

    The output is better than the previous one but I think I'm missing something.

    SOLUTION : I removed the quote from the filter_complex argument and it worked.

    Here is the working command :

    $ ffmpeg -y -i /storage/sdcard0/test/hsgjr_export.mp4 -i /storage/sdcard0/test/watermark.png -filter_complex [0:v][1:v]overlay=main_w-overlay_w-10:main_h-overlay_h-10[out] -map [out] -map 0:a -codec:a copy /storage/sdcard0/test/hsgjr_watermark.mp4
  • vc2 : fate tests

    5 mai 2016, par Christophe Gisquet
    vc2 : fate tests
    
    • [DH] tests/fate/vcodec.mak
    • [DH] tests/ref/vsynth/vsynth1-vc2-420p
    • [DH] tests/ref/vsynth/vsynth1-vc2-420p10
    • [DH] tests/ref/vsynth/vsynth1-vc2-420p12
    • [DH] tests/ref/vsynth/vsynth1-vc2-422p
    • [DH] tests/ref/vsynth/vsynth1-vc2-422p10
    • [DH] tests/ref/vsynth/vsynth1-vc2-422p12
    • [DH] tests/ref/vsynth/vsynth1-vc2-444p
    • [DH] tests/ref/vsynth/vsynth1-vc2-444p10
    • [DH] tests/ref/vsynth/vsynth1-vc2-444p12
    • [DH] tests/ref/vsynth/vsynth2-vc2-420p
    • [DH] tests/ref/vsynth/vsynth2-vc2-420p10
    • [DH] tests/ref/vsynth/vsynth2-vc2-420p12
    • [DH] tests/ref/vsynth/vsynth2-vc2-422p
    • [DH] tests/ref/vsynth/vsynth2-vc2-422p10
    • [DH] tests/ref/vsynth/vsynth2-vc2-422p12
    • [DH] tests/ref/vsynth/vsynth2-vc2-444p
    • [DH] tests/ref/vsynth/vsynth2-vc2-444p10
    • [DH] tests/ref/vsynth/vsynth2-vc2-444p12
    • [DH] tests/ref/vsynth/vsynth_lena-vc2-420p
    • [DH] tests/ref/vsynth/vsynth_lena-vc2-420p10
    • [DH] tests/ref/vsynth/vsynth_lena-vc2-420p12
    • [DH] tests/ref/vsynth/vsynth_lena-vc2-422p
    • [DH] tests/ref/vsynth/vsynth_lena-vc2-422p10
    • [DH] tests/ref/vsynth/vsynth_lena-vc2-422p12
    • [DH] tests/ref/vsynth/vsynth_lena-vc2-444p
    • [DH] tests/ref/vsynth/vsynth_lena-vc2-444p10
    • [DH] tests/ref/vsynth/vsynth_lena-vc2-444p12
  • Merge commit ’d12b5b2f135aade4099f4b26b0fe678656158c13’

    11 mai 2016, par Derek Buitenhuis
    Merge commit ’d12b5b2f135aade4099f4b26b0fe678656158c13’
    

    * commit ’d12b5b2f135aade4099f4b26b0fe678656158c13’ :
    build : Split test programs off into separate files

    Some conversions done by : James Almer <jamrial@gmail.com>
    Merged-by : Derek Buitenhuis <derek.buitenhuis@gmail.com>

    • [DH] libavcodec/Makefile
    • [DH] libavcodec/avfft-test.c
    • [DH] libavcodec/avfft.c
    • [DH] libavcodec/cabac-test.c
    • [DH] libavcodec/cabac.c
    • [DH] libavcodec/iirfilter-test.c
    • [DH] libavcodec/iirfilter.c
    • [DH] libavcodec/imgconvert-test.c
    • [DH] libavcodec/imgconvert.c
    • [DH] libavcodec/jpeg2000dwt-test.c
    • [DH] libavcodec/jpeg2000dwt.c
    • [DH] libavcodec/mathops-test.c
    • [DH] libavcodec/mathops.c
    • [DH] libavcodec/options-test.c
    • [DH] libavcodec/rangecoder-test.c
    • [DH] libavcodec/rangecoder.c
    • [DH] libavcodec/snowenc-test.c
    • [DH] libavcodec/snowenc.c
    • [DH] libavcodec/utils-test.c
    • [DH] libavcodec/utils.c
    • [DH] libavdevice/timefilter-test.c
    • [DH] libavdevice/timefilter.c
    • [DH] libavfilter/filtfmts-test.c
    • [DH] libavfilter/formats-test.c
    • [DH] libavfilter/formats.c
    • [DH] libavformat/rtmpdh-test.c
    • [DH] libavformat/rtmpdh.c
    • [DH] libavformat/srtp-test.c
    • [DH] libavformat/srtp.c
    • [DH] libavutil/adler32-test.c
    • [DH] libavutil/adler32.c
    • [DH] libavutil/aes-test.c
    • [DH] libavutil/aes.c
    • [DH] libavutil/atomic-test.c
    • [DH] libavutil/atomic.c
    • [DH] libavutil/avstring-test.c
    • [DH] libavutil/avstring.c
    • [DH] libavutil/base64-test.c
    • [DH] libavutil/base64.c
    • [DH] libavutil/blowfish-test.c
    • [DH] libavutil/blowfish.c
    • [DH] libavutil/bprint-test.c
    • [DH] libavutil/bprint.c
    • [DH] libavutil/camellia-test.c
    • [DH] libavutil/camellia.c
    • [DH] libavutil/cast5-test.c
    • [DH] libavutil/cast5.c
    • [DH] libavutil/color_utils-test.c
    • [DH] libavutil/color_utils.c
    • [DH] libavutil/cpu-test.c
    • [DH] libavutil/cpu.c
    • [DH] libavutil/crc-test.c
    • [DH] libavutil/crc.c
    • [DH] libavutil/des-test.c
    • [DH] libavutil/des.c
    • [DH] libavutil/dict-test.c
    • [DH] libavutil/dict.c
    • [DH] libavutil/display-test.c
    • [DH] libavutil/display.c
    • [DH] libavutil/error-test.c
    • [DH] libavutil/error.c
    • [DH] libavutil/eval-test.c
    • [DH] libavutil/eval.c
    • [DH] libavutil/fifo-test.c
    • [DH] libavutil/fifo.c
    • [DH] libavutil/file-test.c
    • [DH] libavutil/file.c
    • [DH] libavutil/float_dsp-test.c
    • [DH] libavutil/float_dsp.c
    • [DH] libavutil/hash-test.c
    • [DH] libavutil/hash.c
    • [DH] libavutil/hmac-test.c
    • [DH] libavutil/hmac.c
    • [DH] libavutil/lfg-test.c
    • [DH] libavutil/lfg.c
    • [DH] libavutil/lls-test.c
    • [DH] libavutil/lls.c
    • [DH] libavutil/log-test.c
    • [DH] libavutil/log.c
    • [DH] libavutil/md5-test.c
    • [DH] libavutil/md5.c
    • [DH] libavutil/murmur3-test.c
    • [DH] libavutil/murmur3.c
    • [DH] libavutil/opt-test.c
    • [DH] libavutil/opt.c
    • [DH] libavutil/parseutils-test.c
    • [DH] libavutil/parseutils.c
    • [DH] libavutil/pca-test.c
    • [DH] libavutil/pca.c
    • [DH] libavutil/pixdesc-test.c
    • [DH] libavutil/pixdesc.c
    • [DH] libavutil/pixelutils-test.c
    • [DH] libavutil/pixelutils.c
    • [DH] libavutil/random_seed-test.c
    • [DH] libavutil/random_seed.c
    • [DH] libavutil/rational-test.c
    • [DH] libavutil/rational.c
    • [DH] libavutil/ripemd-test.c
    • [DH] libavutil/ripemd.c
    • [DH] libavutil/sha-test.c
    • [DH] libavutil/sha.c
    • [DH] libavutil/sha512-test.c
    • [DH] libavutil/sha512.c
    • [DH] libavutil/softfloat-test.c
    • [DH] libavutil/tea-test.c
    • [DH] libavutil/tea.c
    • [DH] libavutil/tree-test.c
    • [DH] libavutil/tree.c
    • [DH] libavutil/twofish-test.c
    • [DH] libavutil/twofish.c
    • [DH] libavutil/utf8-test.c
    • [DH] libavutil/xtea-test.c
    • [DH] libavutil/xtea.c
    • [DH] library.mak
    • [DH] tests/ref/fate/source