Recherche avancée

Médias (91)

Autres articles (67)

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

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

  • Gestion de la ferme

    2 mars 2010, par

    La ferme est gérée dans son ensemble par des "super admins".
    Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
    Dans un premier temps il utilise le plugin "Gestion de mutualisation"

Sur d’autres sites (8276)

  • FFMPEG Fontconfig error : Cannot load default config file : No such file : (null) Abort trap

    28 juillet 2023, par FastNumbers

    /usr/local/bin/ffmpeg -loop 1 -t 11.14 -i 3339861349.jpg -filter_complex "drawtext=text=aaaaa" -r 25 -vcodec libx264 -preset veryfast -threads 8 -x264opts no-scenecut -b 850k -bt 850k -ac 2 -ab 32k -async 1 -y -f mp4 test.mp4
Give me result
Fontconfig error : Cannot load default config file : No such file : (null)
Abort trap

    


    With path to font file :
/usr/local/bin/ffmpeg -loop 1 -t 11.14 -i 3339861349.jpg -filter_complex "drawtext=text=aaaaa:fontfile=/usr/local/share/fonts/Roboto-Regular.ttf" -r 25 -vcodec libx264 -preset veryfast -threads 8 -x264opts no-scenecut -b 850k -bt 850k -ac 2 -ab 32k -async 1 -y -f mp4 test.mp4
Give me result
Abort trap

    


    Rebild ffmpeg with —enable-libfontconfig

    


    ffmpeg version 6.0-6.0 Copyright (c) 2000-2023 the FFmpeg developers
built with FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303)
configuration : —enable-gpl —enable-gmp —enable-gnutls —enable-libdav1d —enable-libsvtav1 —enable-librav1e —enable-libvmaf —enable-libx264 —enable-chromaprint —enable-libx265 —enable-libvpx —enable-libxvid —enable-libvidstab —enable-libaom —enable-libzimg —enable-libmodplug —enable-libsoxr —enable-libmysofa —enable-lv2 —enable-libopencore_amrnb —enable-libopencore_amrwb —enable-libmp3lame —enable-libopus —enable-libvorbis —enable-libtwolame —enable-libspeex —enable-lv2 —enable-libtheora —enable-librubberband —enable-libgme —enable-libwebp —enable-libzmq —enable-libfribidi —enable-libfontconfig —enable-libfreetype —enable-libass —enable-runtime-cpudetect —cc=cc —cxx=cpp —disable-ffplay —disable-debug —disable-doc —disable-shared —enable-pthreads —enable-static —enable-small —enable-version3 —extra-cflags='-static -I/usr/home/azureagent/vsts/_work/1/s/FFmpeg/workspace/include -I/usr/home/azureagent/vsts/_work/1/s/FFmpeg/workspace/include/lilv-0 -I/usr/home/azureagent/vsts/_work/1/s/FFmpeg/workspace/include/lilv-0' —extra-cxxflags='-static -static-libstdc++' —extra-ldexeflags= —extra-ldflags=-L/usr/home/azureagent/vsts/_work/1/s/FFmpeg/workspace/lib —extra-libs='-static -lc++ -ldl -lpthread -lm -lmd -lz -lfftw3' —pkgconfigdir=/usr/home/azureagent/vsts/_work/1/s/FFmpeg/workspace/lib/pkgconfig —pkg-config-flags=—static —prefix=/usr/home/azureagent/vsts/_work/1/s/FFmpeg/workspace/done/ —extra-version=6.0

    


  • Error installing ffmpeg on Ubuntu 8.04 JeOS with Speex

    15 novembre 2011, par tubbo

    I'm having an issue installing ffmpeg with Speex support on Ubuntu 8.04 JeOS. After some wandering around in dependency hell I managed to secure the proper libspeex and ffmpeg versions, and it ./configured properly, but when I try to run make && make install, it fails with the following error :

    ffmpeg.c: In function ‘opt_recording_timestamp’:
    ffmpeg.c:3080: warning: dereferencing type-punned pointer will break strict-aliasing rules
    ffmpeg.c: In function ‘opt_input_file’:
    ffmpeg.c:3312: warning: ‘loop_input’ is deprecated (declared at libavformat/avformat.h:919)
    ffmpeg.c: In function ‘opt_output_file’:
    ffmpeg.c:4086: warning: ‘loop_output’ is deprecated (declared at libavformat/avformat.h:895)
    ffmpeg.c: In function ‘opt_map’:
    ffmpeg.c:2873: warning: ‘sync_stream_idx’ may be used uninitialized in this function
    CC  cmdutils.o
    LD  ffmpeg_g
    libavcodec/libavcodec.a(libspeexdec.o): In function `libspeex_decode_close':
    /home/tom/src/ffmpeg/libavcodec/libspeexdec.c:144: undefined reference to `speex_header_free'
    libavcodec/libavcodec.a(libspeexenc.o): In function `encode_init':
    /home/tom/src/ffmpeg/libavcodec/libspeexenc.c:224: undefined reference to `speex_header_free'
    /home/tom/src/ffmpeg/libavcodec/libspeexenc.c:215: undefined reference to `speex_header_free'
    collect2: ld returned 1 exit status
    make: *** [ffmpeg_g] Error 1

    I'm a complete noob to ffmpeg and speex, except for using the codec on Ventrilo back in the day. Can someone shed some light as to why this is happening ?

  • FFMPEG : ‘PIX_FMT_BGR24’ was not declared in this scope

    9 août 2016, par msz

    I am building a simple decoding application using FFMPEG API. I know there are solutions available in OpenCV but for specific reason I am refraining myself from using that. Since I am very new to FFMPEG (and to this community as well), I would like to know if there is any mistake that I might have done while building FFMPEG.

    Compiler : I am using gcc 5.3.0 for compilation and building.

    Following are the steps that I followed :

    1. I have build FFMPEG library using following configuration :

      ./configure —prefix=/home/dep/ffmpeg/install/ —pkg-config-flags=—static —enable-gpl —disable-yasm

    2. My compiling command is for the application :

      g++ -std=c++11 -I/home/dep/ffmpeg/install/include/ Queue.cpp Image.cpp CaptureFFMPEGFrame.cpp Object.cpp main.cpp -o main -L/home/dep/ffmpeg/install/lib -lavutil -lavcodec -lavformat -lavdevice -lavfilter -lswscale -lswresample -lpostproc -lpthread -lz -lrt -llzma -lbz2

    The error I am facing is :

    CaptureFFMPEGFrame.cpp:203:169: error: ‘PIX_FMT_BGR24’ was not declared in this scope
        mpFrameSwsContext = sws_getContext(mpAVCodecContext->width, mpAVCodecContext->height, mpAVCodecContext->pix_fmt, mpAVCodecContext->width, mpAVCodecContext->height, PIX_FMT_BGR24, SWS_BICUBIC, NULL, NULL, NULL)

    My effort and understanding :

    1. From my understanding, libavutil/pixfmt.h contains pixel formats which I included along with other includes and the error persists. You can also see libraries I have included along with my application.

    2. Since my program is cpp code, therefore my headers are already included using extern "C", i.e. #include "libavcodec/avcodec.h"

    Anything I might have missed ?

    Many thanks.