Recherche avancée

Médias (91)

Autres articles (54)

  • 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" ;

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Diogene : création de masques spécifiques de formulaires d’édition de contenus

    26 octobre 2010, par

    Diogene est un des plugins ? SPIP activé par défaut (extension) lors de l’initialisation de MediaSPIP.
    A quoi sert ce plugin
    Création de masques de formulaires
    Le plugin Diogène permet de créer des masques de formulaires spécifiques par secteur sur les trois objets spécifiques SPIP que sont : les articles ; les rubriques ; les sites
    Il permet ainsi de définir en fonction d’un secteur particulier, un masque de formulaire par objet, ajoutant ou enlevant ainsi des champs afin de rendre le formulaire (...)

Sur d’autres sites (3004)

  • configure : remove superfluous cuvid and nvdec checks

    25 novembre 2017, par James Almer
    configure : remove superfluous cuvid and nvdec checks
    

    Both are autodetected, and their dependency on cuda is checked
    elsewhere.

    Fixes ticket #6849.

    Reviewed-by : Philip Langdale <philipl@overt.org>
    Signed-off-by : James Almer <jamrial@gmail.com>

    • [DH] configure
  • bad audio mic recording quality with ffmpeg compared to sox

    1er juillet 2021, par user2355330

    I am contacting you as after 3 days of searching I am stuck on a really simple point.

    &#xA;

    I want to record the sound of my mic on MacOS using ffmpeg.

    &#xA;

    I managed to do it using the following command :

    &#xA;

    ffmpeg -f avfoundation -audio_device_index 2 -i "none:-" -c:a pcm_s32l alexspeaking.wav -y -loglevel debug&#xA;

    &#xA;

    The issue is that each time I am speaking, there are cracks and pop in the sound...

    &#xA;

    I tried to use sox and it gave me a perfect and crystal clear sound and I have no idea why... Below is the output of the sox command :

    &#xA;

    sox -t coreaudio "G935 Gaming Headset" toto.wav -V6&#xA;sox:      SoX v&#xA;time:     Nov 15 2020 01:06:02&#xA;uname:    Darwin MacBook-Pro.local 20.5.0 Darwin Kernel Version 20.5.0: Sat May  8 05:10:33 PDT 2021; root:xnu-7195.121.3~9/RELEASE_X86_64 x86_64&#xA;compiler: gcc Apple LLVM 12.0.0 (clang-1200.0.32.27)&#xA;arch:     1288 48 88 L&#xA;sox INFO coreaudio: Found Audio Device "DELL U2721DE"&#xA;sox INFO coreaudio: Found Audio Device "G935 Gaming "&#xA;sox DBUG coreaudio: audio device did not accept 2 channels. Use 1 channels instead.&#xA;sox DBUG coreaudio: audio device did not accept 44100 sample rate. Use 48000 instead.&#xA;Input File     : &#x27;G935 Gaming Headset&#x27; (coreaudio)&#xA;Channels       : 1&#xA;Sample Rate    : 48000&#xA;Precision      : 32-bit&#xA;Sample Encoding: 32-bit Signed Integer PCM&#xA;Endian Type    : little&#xA;Reverse Nibbles: no&#xA;Reverse Bits   : no&#xA;sox INFO sox: Overwriting `toto.wav&#x27;&#xA;sox DBUG wav: Writing Wave file: Microsoft PCM format, 1 channel, 48000 samp/sec&#xA;sox DBUG wav:         192000 byte/sec, 4 block align, 32 bits/samp&#xA;Output File    : &#x27;toto.wav&#x27;&#xA;Channels       : 1&#xA;Sample Rate    : 48000&#xA;Precision      : 32-bit&#xA;Sample Encoding: 32-bit Signed Integer PCM&#xA;Endian Type    : little&#xA;Reverse Nibbles: no&#xA;Reverse Bits   : no&#xA;Comment        : &#x27;Processed by SoX&#x27;&#xA;sox DBUG effects: sox_add_effect: extending effects table, new size = 8&#xA;sox INFO sox: effects chain: input        48000Hz  1 channels (multi) 32 bits unknown length&#xA;sox INFO sox: effects chain: output       48000Hz  1 channels (multi) 32 bits unknown length&#xA;sox DBUG sox: start-up time = 0.051332&#xA;In:0.00% 00:00:07.13 [00:00:00.00] Out:340k  [      |      ]        Clip:0    ^C&#xA;sox DBUG input: output buffer still held 2048 samples; dropped.&#xA;Aborted.&#xA;sox DBUG wav: Finished writing Wave file, 1359872 data bytes 339968 samples&#xA;

    &#xA;

    I am pretty sure the issue is linked to the way the encoding is done and the params I used with ffmpeg but I don't seem to be able to grasp which one I must use.

    &#xA;

    Any ideas if there are ffmpeg experts here ?

    &#xA;

  • FFmpeg build error pkg-config can't find x265 /usr/bin/ld : cannot find -lnuma : No such file or directory

    1er janvier 2023, par slyfox1186

    I am trying to build ffmpeg with custom libraries from source code.

    &#xA;

    Every package in my script builds as it should but when it gets time to run the ffmpeg build using all of the packages it fails with a weird error code shown at the bottom of the ffmpeg build log.

    &#xA;

    BEGIN /home/jman/tmp/ffconf.JouXp6kg/test.c&#xA;    1   #include &#xA;    2   #include &#xA;    3   long check_x265_api_get(void) { return (long) x265_api_get; }&#xA;    4   int main(void) { int ret = 0;&#xA;    5    ret |= ((intptr_t)check_x265_api_get) &amp; 0xFFFF;&#xA;    6   return ret; }&#xA;END /home/jman/tmp/ffconf.JouXp6kg/test.c&#xA;gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -I/home/jman/Documents/ffmpeg-build/workspace/include -I/home/jman/Documents/ffmpeg-build/workspace/include/lilv-0 -I/usr/local/cuda/include -std=c11 -fomit-frame-pointer -fPIC -I/home/jman/Documents/ffmpeg-build/workspace/include -pthread -DLILV_STATIC -DSRATOM_STATIC -DSORD_STATIC -DSERD_STATIC -I/home/jman/Documents/ffmpeg-build/workspace/include/lilv-0 -I/home/jman/Documents/ffmpeg-build/workspace/include/sratom-0 -I/home/jman/Documents/ffmpeg-build/workspace/include -I/home/jman/Documents/ffmpeg-build/workspace/include/sord-0 -I/home/jman/Documents/ffmpeg-build/workspace/include/serd-0 -I/home/jman/Documents/ffmpeg-build/workspace/include -I/home/jman/Documents/ffmpeg-build/workspace/include/opus -I/home/jman/Documents/ffmpeg-build/workspace/include/opus -I/home/jman/Documents/ffmpeg-build/workspace/include -I/home/jman/Documents/ffmpeg-build/workspace/include/srt -I/home/jman/Documents/ffmpeg-build/workspace/include/svt-av1 -I/home/jman/Documents/ffmpeg-build/workspace/include -I/home/jman/Documents/ffmpeg-build/workspace/include -I/home/jman/Documents/ffmpeg-build/workspace/include -I/home/jman/Documents/ffmpeg-build/workspace/include -I/home/jman/Documents/ffmpeg-build/workspace/include -I/home/jman/Documents/ffmpeg-build/workspace/include -I/home/jman/Documents/ffmpeg-build/workspace/include -I/home/jman/Documents/ffmpeg-build/workspace/include -L/usr/lib/x86_64-linux-gnu -c -o /home/jman/tmp/ffconf.JouXp6kg/test.o /home/jman/tmp/ffconf.JouXp6kg/test.c&#xA;gcc -L/home/jman/Documents/ffmpeg-build/workspace/lib -L/usr/local/cuda/lib64 -Wl,--as-needed -Wl,-z,noexecstack -L/usr/lib/x86_64-linux-gnu -o /home/jman/tmp/ffconf.JouXp6kg/test /home/jman/tmp/ffconf.JouXp6kg/test.o -lx265 -lstdc&#x2B;&#x2B; -lm -lgcc_s -lgcc -lgcc_s -lgcc -lrt -ldl -lnuma -ldl -lpthread -lm -lz&#xA;/usr/bin/ld: cannot find -lnuma: No such file or directory&#xA;collect2: error: ld returned 1 exit status&#xA;ERROR: x265 not found using pkg-config&#xA;

    &#xA;

    Does anyone know what this -lnuma is referring to ?

    &#xA;

    I had no issues just a few days ago when I last ran my build script and then all of a sudden this issue appeared.

    &#xA;

    This is my build script in its entirety : FFmpeg-build.sh

    &#xA;

    Update : Per Allan Winds' instructions here is the output of :

    &#xA;

    find /usr/lib -name libnuma\* -ls

    &#xA;

      4987897     48 -rw-r--r--   1 root     root        48152 Mar 24  2022 /usr/lib/x86_64-linux-gnu/libnuma.so.1.0.0&#xA;  4992286     76 -rw-r--r--   1 root     root        77086 Mar 24  2022 /usr/lib/x86_64-linux-gnu/libnuma.a&#xA;  4987896      0 lrwxrwxrwx   1 root     root           16 Dec 29 12:03 /usr/lib/x86_64-linux-gnu/libnuma.so.1 -> libnuma.so.1.0.0&#xA;  4992287      0 lrwxrwxrwx   1 root     root           16 Mar 24  2022 /usr/lib/x86_64-linux-gnu/libnuma.so -> libnuma.so.1.0.0&#xA;

    &#xA;