Recherche avancée

Médias (91)

Autres articles (65)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

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

  • FFmpeg command to loop an audio starting from a sample twice and add a fade out

    27 juin 2022, par Victor Lopes

    I have some audio files and I want to use FFmpeg to loop them twice, but starting from a given sample (I have the sample numbers), and add a 5 seconds fade-out at the end. The output has to be a video : a static .png on the same folder with the audio playing on top of it (copying the same audio codec to preserve the quality).

    


    For example, for this input audio I am supposed to get this output video. Here I used Audacity to loop and fade the audio starting from the sample 43190, and the following FFmpeg command to add the image to it :

    


    ffmpeg -r 1 -loop 1 -i "Sonic 3 Tile.png" -i "Angel Island Zone Act 1 - LOOP.ogg" -acodec copy -r 1 -shortest -vf scale=1280:1280 "Angel Island Zone Act 1.mkv"


    


    The thing is, I want to be able to do it all at once, using FFmpeg to loop and fade instead of Audacity. Is it possible ? If so, what command should I use ? Just a reminder, the audio has to be looped twice.

    


  • Aubio (aubioonset.exe) on Windows - can't find ffmpeg libraries

    7 octobre 2024, par Peter Wirdemo

    I have installed Aubio on Windows but when trying to use the tools, like aubioonset.exe, I am faced with the following error message :

    


    C:/Peter/aubio/aubio/aubio-0.4.6-win64-ffmpeg/bin/aubioonset.exe: error while loading shared libraries: ?: cannot open shared object file: No such file or directory


    


    I assume it looks after ffmpeg libraries. I have FFmpeg installed and bin-dir added to PATH environment variable. FFMPEG is working flawless globally.

    


    After searching internet for answers to my issue I find "answers" like :
"install chosen libraries (for instance ffmpeg, with header files)"

    


    That vague answer doesn't help me at all. Exactly how do I install ffmpeg libraries, with header files, so that the Aubio-tools can find them ? I need specifics about what environmental-variables must be set - or - should the ffmpeg lib-files be placed in the Aubio Build folder somewhere, or what should I do ?

    


    And after doing that I am supposed to recompile and reinstall Aubio. I can do that.

    


    This is btw. the result from ./waf configure when building my own Aubio-binaries (instead of downloading pre-builds) :

    


    peter@DESKTOP-I0KNADQ MINGW64 /c/Peter/aubio/aubio (master)
$ ./waf configure
Setting top to                           : C:\Peter\aubio\aubio
Setting out to                           : C:\Peter\aubio\aubio\build
Checking for 'msvc' (C compiler)         : C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\bin\HostX64\x64\CL.exe
Checking for header stdlib.h             : yes
Checking for header stdio.h              : yes
Checking for header math.h               : yes
Checking for header string.h             : yes
Checking for header errno.h              : yes
Checking for header limits.h             : yes
Checking for header stdarg.h             : yes
Checking for header getopt.h             : not found
Checking for header unistd.h             : not found
Checking for library m                   : not found
Checking for C99 __VA_ARGS__ macro       : yes
Checking for size of smpl_t              : float
Checking for size of lsmp_t              : double
Checking if complex.h is enabled         : no
Checking for FFT implementation          : ooura
Checking for program 'pkg-config'        : not found
Checking for program 'pkg-config'        : not found
Checking for program 'pkg-config'        : not found
Checking for program 'pkg-config'        : not found
Checking for program 'pkg-config'        : not found
Checking for program 'pkg-config'        : not found
Checking for program 'pkg-config'        : not found
Checking for program 'pkg-config'        : not found
Checking for all libav libraries         : not found (missing avcodec)
Checking for program 'pkg-config'        : not found
Checking for program 'pkg-config'        : not found
Checking if using source_wavread         : yes
Checking if using sink_wavwrite          : yes
Checking for program 'txt2man'           : not found
Checking for program 'doxygen'           : not found
Checking for program 'sphinx-build'      : not found
'configure' finished successfully (7.590s)


    


    As can be seen above I have no problem building Aubio without external libraries.

    


    So my guess is that I can go down two different paths for a solution here : either try building with all external libraries somehow prepared (I have tried but can't change the output of ./waf configure no matter what I do. I have cloned the ffmpeg source from github. I can't figure out where ./waf configure is looking for it). Or I can get the precompiled binaries to work, by somehow installing the external libraries.

    


    I have tried both solutions in multiple ways, but fail getting any one of them to work.

    


  • Cannot enable GD support for ffmpeg-php extension

    26 avril 2015, par user3529796

    This is from phpinfo()

    ffmpeg

    ffmpeg-php version  0.6.0-svn
    ffmpeg-php built on Apr 25 2015 20:01:27
    ffmpeg-php gd support   disabled
    ffmpeg libavcodec version   Lavc52.72.2
    ffmpeg libavformat version  Lavf52.64.2
    ffmpeg swscaler version SwS0.11.0

    Directive   Local Value Master Value
    ffmpeg.allow_persistent 0   0
    ffmpeg.show_warnings    0   0

    gd

    GD Support  enabled
    GD Version  bundled (2.1.0 compatible)
    FreeType Support    enabled
    FreeType Linkage    with freetype
    FreeType Version    2.3.11
    GIF Read Support    enabled
    GIF Create Support  enabled
    JPEG Support    enabled
    libJPEG Version 6b
    PNG Support enabled
    libPNG Version  1.2.49
    WBMP Support    enabled
    XPM Support enabled
    libXpm Version  30411
    XBM Support enabled

    Directive   Local Value Master Value
    gd.jpeg_ignore_warning  0   0

    I just need to enable gd support for ffmpeg. I’ve tried using ./configure --enable-skip-gd-check and nothing has worked. I’ve scoured google for the last 12 hours and tried every "solution" so any advice is appreciated. Thanks.

    Terminal output after ./configure --enable-skip-gd-check :

    root@ip-111-111-111-11 [/usr/local/src/ffmpeg-php-0.6.0]# ./configure --enable-skip-gd-check
    checking for grep that handles long lines and -e... /bin/grep
    checking for egrep... /bin/grep -E
    checking for a sed that does not truncate output... /bin/sed
    checking for cc... cc
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables...
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether cc accepts -g... yes
    checking for cc option to accept ISO C89... none needed
    checking how to run the C preprocessor... cc -E
    checking for icc... no
    checking for suncc... no
    checking whether cc understands -c and -o together... yes
    checking for system library directory... lib
    checking if compiler supports -R... no
    checking if compiler supports -Wl,-rpath,... yes
    checking build system type... x86_64-unknown-linux-gnu
    checking host system type... x86_64-unknown-linux-gnu
    checking target system type... x86_64-unknown-linux-gnu
    checking for PHP prefix... /usr/local
    checking for PHP includes... -I/usr/local/include/php
    I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib
    checking for PHP extension directory... /usr/local/lib/php/extensions/no-debug-non-zts-20121212
    checking for PHP installed headers prefix... /usr/local/include/php
    checking if debug is enabled... no
    checking if zts is enabled... no
    checking for re2c... no
    configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
    checking for gawk... gawk
    checking for ffmpeg support... yes, shared
    checking whether to force gd support in ffmpeg-php... yes
    checking for ffmpeg headers... ...found in /usr/include/libavcodec
    checking for ffmpeg libavcodec.so... ...found in /usr/lib64
    checking for ffmpeg swscale support... yes
    checking for ld used by cc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for /usr/bin/ld option to reload object files... -r
    checking for BSD-compatible nm... /usr/bin/nm -B
    checking whether ln -s works... yes
    checking how to recognize dependent libraries... pass_all
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking dlfcn.h usability... yes
    checking dlfcn.h presence... yes
    checking for dlfcn.h... yes
    checking the maximum length of command line arguments... 1966080
    checking command to parse /usr/bin/nm -B output from cc object... ok
    checking for objdir... .libs
    checking for ar... ar
    checking for ranlib... ranlib
    checking for strip... strip
    checking if cc supports -fno-rtti -fno-exceptions... no
    checking for cc option to produce PIC... -fPIC
    checking if cc PIC flag -fPIC works... yes
    checking if cc static flag -static works... yes
    checking if cc supports -c -o file.o... yes
    checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... no

    creating libtool
    appending configuration tag "CXX" to libtool
    configure: creating ./config.status
    config.status: creating config.h