Recherche avancée

Médias (1)

Mot : - Tags -/ticket

Autres articles (60)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • Soumettre améliorations et plugins supplémentaires

    10 avril 2011

    Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
    Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...)

Sur d’autres sites (10987)

  • ERROR : openssl not found during FFmpeg ./configure [migrated]

    21 septembre 2016, par bot1131357

    I am trying to build my FFmpeg library on Ubuntu with the following dependencies :

    • libogg ( /home/reccsi/Dev/build-x64/libogg )
    • libvorbis( /home/reccsi/Dev/build-x64/libvorbis )
    • libvpx( /home/reccsi/Dev/build-x64/libvpx )
    • libopenssl( /home/reccsi/Dev/build-x64/libopenssl )

    I have build them all successfully and added the pkg-config files into /usr/share/pkgconfig

    However, when I configure FFmpeg I get this :

    $ ./configure  --prefix=/home/reccsi/Dev/build-x64/ffmpeg/  --pkg-config-flags="--static" --enable-shared --enable-libvpx --enable-libvorbis --enable-openssl --enable-pic --enable-debug
    ERROR: openssl not found

    If you think configure made a mistake, make sure you are using the latest
    version from Git.  If the latest version fails, report the problem to the
    ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
    Include the log file "config.log" produced by configure as this will help
    solve the problem.
    $

    I thought that was odd, so I looked into config.log and found this :

    (...lots of text)
    BEGIN /tmp/ffconf.2Hr4i7dx.c
       1   #include <vpx></vpx>vpx_encoder.h>
       2   #include <vpx></vpx>vp8cx.h>
       3   long check_vpx_codec_vp8_cx(void) { return (long) vpx_codec_vp8_cx; }
       4   int main(void) { return 0; }
    END /tmp/ffconf.2Hr4i7dx.c
    gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -std=c99 -fomit-frame-pointer -fPIC -pthread -I/home/reccsi/Dev/build-x64/libvpx/include -I/home/reccsi/Dev/build-x64/libvpx/include -L/home/reccsi/Dev/build-x64/libvpx/lib -c -o /tmp/ffconf.btwr26JX.o /tmp/ffconf.2Hr4i7dx.c
    gcc -Wl,--as-needed -Wl,-z,noexecstack -I/home/reccsi/Dev/build-x64/libvpx/include -L/home/reccsi/Dev/build-x64/libvpx/lib -o /tmp/ffconf.gwkghql5 /tmp/ffconf.btwr26JX.o -lvpx -lm -lpthread -L/home/reccsi/Dev/build-x64/libvpx/lib -lvpx -lm -lpthread -lvorbisenc -lvorbis -logg -lm -llzma -lz -pthread
    check_pkg_config vpx >= 1.3.0 vpx/vpx_decoder.h vpx/vp8dx.h vpx_codec_vp9_dx
    pkg-config --exists --print-errors vpx >= 1.3.0
    check_func_headers vpx/vpx_decoder.h vpx/vp8dx.h vpx_codec_vp9_dx -I/home/reccsi/Dev/build-x64/libvpx/include -L/home/reccsi/Dev/build-x64/libvpx/lib -lvpx -lm -lpthread
    check_ld cc -I/home/reccsi/Dev/build-x64/libvpx/include -L/home/reccsi/Dev/build-x64/libvpx/lib -lvpx -lm -lpthread
    check_cc -I/home/reccsi/Dev/build-x64/libvpx/include -L/home/reccsi/Dev/build-x64/libvpx/lib
    BEGIN /tmp/ffconf.2Hr4i7dx.c
       1   #include <vpx></vpx>vpx_decoder.h>
       2   #include <vpx></vpx>vp8dx.h>
       3   long check_vpx_codec_vp9_dx(void) { return (long) vpx_codec_vp9_dx; }
       4   int main(void) { return 0; }
    END /tmp/ffconf.2Hr4i7dx.c
    gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -std=c99 -fomit-frame-pointer -fPIC -pthread -I/home/reccsi/Dev/build-x64/libvpx/include -I/home/reccsi/Dev/build-x64/libvpx/include -I/home/reccsi/Dev/build-x64/libvpx/include -L/home/reccsi/Dev/build-x64/libvpx/lib -c -o /tmp/ffconf.btwr26JX.o /tmp/ffconf.2Hr4i7dx.c
    gcc -Wl,--as-needed -Wl,-z,noexecstack -I/home/reccsi/Dev/build-x64/libvpx/include -L/home/reccsi/Dev/build-x64/libvpx/lib -o /tmp/ffconf.gwkghql5 /tmp/ffconf.btwr26JX.o -lvpx -lm -lpthread -L/home/reccsi/Dev/build-x64/libvpx/lib -lvpx -lm -lpthread -L/home/reccsi/Dev/build-x64/libvpx/lib -lvpx -lm -lpthread -lvorbisenc -lvorbis -logg -lm -llzma -lz -pthread
    check_pkg_config vpx >= 1.3.0 vpx/vpx_encoder.h vpx/vp8cx.h vpx_codec_vp9_cx
    pkg-config --exists --print-errors vpx >= 1.3.0
    check_func_headers vpx/vpx_encoder.h vpx/vp8cx.h vpx_codec_vp9_cx -I/home/reccsi/Dev/build-x64/libvpx/include -L/home/reccsi/Dev/build-x64/libvpx/lib -lvpx -lm -lpthread
    check_ld cc -I/home/reccsi/Dev/build-x64/libvpx/include -L/home/reccsi/Dev/build-x64/libvpx/lib -lvpx -lm -lpthread
    check_cc -I/home/reccsi/Dev/build-x64/libvpx/include -L/home/reccsi/Dev/build-x64/libvpx/lib
    BEGIN /tmp/ffconf.2Hr4i7dx.c
       1   #include <vpx></vpx>vpx_encoder.h>
       2   #include <vpx></vpx>vp8cx.h>
       3   long check_vpx_codec_vp9_cx(void) { return (long) vpx_codec_vp9_cx; }
       4   int main(void) { return 0; }
    END /tmp/ffconf.2Hr4i7dx.c
    gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -std=c99 -fomit-frame-pointer -fPIC -pthread -I/home/reccsi/Dev/build-x64/libvpx/include -I/home/reccsi/Dev/build-x64/libvpx/include -I/home/reccsi/Dev/build-x64/libvpx/include -I/home/reccsi/Dev/build-x64/libvpx/include -L/home/reccsi/Dev/build-x64/libvpx/lib -c -o /tmp/ffconf.btwr26JX.o /tmp/ffconf.2Hr4i7dx.c
    gcc -Wl,--as-needed -Wl,-z,noexecstack -I/home/reccsi/Dev/build-x64/libvpx/include -L/home/reccsi/Dev/build-x64/libvpx/lib -o /tmp/ffconf.gwkghql5 /tmp/ffconf.btwr26JX.o -lvpx -lm -lpthread -L/home/reccsi/Dev/build-x64/libvpx/lib -lvpx -lm -lpthread -L/home/reccsi/Dev/build-x64/libvpx/lib -lvpx -lm -lpthread -L/home/reccsi/Dev/build-x64/libvpx/lib -lvpx -lm -lpthread -lvorbisenc -lvorbis -logg -lm -llzma -lz -pthread
    check_pkg_config openssl openssl/ssl.h SSL_library_init
    pkg-config --exists --print-errors openssl
    check_func_headers openssl/ssl.h SSL_library_init -lssl -lcrypto -ldl
    check_ld cc -lssl -lcrypto -ldl
    check_cc
    BEGIN /tmp/ffconf.2Hr4i7dx.c
       1   #include <openssl></openssl>ssl.h>
       2   long check_SSL_library_init(void) { return (long) SSL_library_init; }
       3   int main(void) { return 0; }
    END /tmp/ffconf.2Hr4i7dx.c
    gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -std=c99 -fomit-frame-pointer -fPIC -pthread -I/home/reccsi/Dev/build-x64/libvpx/include -I/home/reccsi/Dev/build-x64/libvpx/include -I/home/reccsi/Dev/build-x64/libvpx/include -I/home/reccsi/Dev/build-x64/libvpx/include -c -o /tmp/ffconf.btwr26JX.o /tmp/ffconf.2Hr4i7dx.c
    In file included from /usr/include/openssl/evp.h:66:0,
                    from /usr/include/openssl/x509.h:73,
                    from /usr/include/openssl/ssl.h:156,
                    from /tmp/ffconf.2Hr4i7dx.c:1:
    /usr/local/include/openssl/opensslconf.h:18:3: error: #error OPENSSL_ALGORITHM_DEFINES no longer supported
    # error OPENSSL_ALGORITHM_DEFINES no longer supported
      ^
    In file included from /usr/include/openssl/ssl.h:165:0,
                    from /tmp/ffconf.2Hr4i7dx.c:1:
    /usr/include/openssl/kssl.h:72:18: fatal error: krb5.h: No such file or directory
    #include
                     ^
    compilation terminated.
    check_lib openssl/ssl.h SSL_library_init -lssl -lcrypto
    check_header openssl/ssl.h
    check_cpp
    BEGIN /tmp/ffconf.2Hr4i7dx.c
       1   #include <openssl></openssl>ssl.h>
       2   int x;
    END /tmp/ffconf.2Hr4i7dx.c
    gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -std=c99 -fomit-frame-pointer -fPIC -pthread -I/home/reccsi/Dev/build-x64/libvpx/include -I/home/reccsi/Dev/build-x64/libvpx/include -I/home/reccsi/Dev/build-x64/libvpx/include -I/home/reccsi/Dev/build-x64/libvpx/include -E -o /tmp/ffconf.btwr26JX.o /tmp/ffconf.2Hr4i7dx.c
    In file included from /usr/include/openssl/evp.h:66:0,
                    from /usr/include/openssl/x509.h:73,
                    from /usr/include/openssl/ssl.h:156,
                    from /tmp/ffconf.2Hr4i7dx.c:1:
    /usr/local/include/openssl/opensslconf.h:18:3: error: #error OPENSSL_ALGORITHM_DEFINES no longer supported
    # error OPENSSL_ALGORITHM_DEFINES no longer supported
      ^
    In file included from /usr/include/openssl/ssl.h:165:0,
                    from /tmp/ffconf.2Hr4i7dx.c:1:
    /usr/include/openssl/kssl.h:72:18: fatal error: krb5.h: No such file or directory
    #include
                     ^
    compilation terminated.
    check_lib openssl/ssl.h SSL_library_init -lssl32 -leay32
    check_header openssl/ssl.h
    check_cpp
    BEGIN /tmp/ffconf.2Hr4i7dx.c
       1   #include <openssl></openssl>ssl.h>
       2   int x;
    END /tmp/ffconf.2Hr4i7dx.c
    gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -std=c99 -fomit-frame-pointer -fPIC -pthread -I/home/reccsi/Dev/build-x64/libvpx/include -I/home/reccsi/Dev/build-x64/libvpx/include -I/home/reccsi/Dev/build-x64/libvpx/include -I/home/reccsi/Dev/build-x64/libvpx/include -E -o /tmp/ffconf.btwr26JX.o /tmp/ffconf.2Hr4i7dx.c
    In file included from /usr/include/openssl/evp.h:66:0,
                    from /usr/include/openssl/x509.h:73,
                    from /usr/include/openssl/ssl.h:156,
                    from /tmp/ffconf.2Hr4i7dx.c:1:
    /usr/local/include/openssl/opensslconf.h:18:3: error: #error OPENSSL_ALGORITHM_DEFINES no longer supported
    # error OPENSSL_ALGORITHM_DEFINES no longer supported
      ^
    In file included from /usr/include/openssl/ssl.h:165:0,
                    from /tmp/ffconf.2Hr4i7dx.c:1:
    /usr/include/openssl/kssl.h:72:18: fatal error: krb5.h: No such file or directory
    #include
                     ^
    compilation terminated.
    check_lib openssl/ssl.h SSL_library_init -lssl -lcrypto -lws2_32 -lgdi32
    check_header openssl/ssl.h
    check_cpp
    BEGIN /tmp/ffconf.2Hr4i7dx.c
       1   #include <openssl></openssl>ssl.h>
       2   int x;
    END /tmp/ffconf.2Hr4i7dx.c
    gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -std=c99 -fomit-frame-pointer -fPIC -pthread -I/home/reccsi/Dev/build-x64/libvpx/include -I/home/reccsi/Dev/build-x64/libvpx/include -I/home/reccsi/Dev/build-x64/libvpx/include -I/home/reccsi/Dev/build-x64/libvpx/include -E -o /tmp/ffconf.btwr26JX.o /tmp/ffconf.2Hr4i7dx.c
    In file included from /usr/include/openssl/evp.h:66:0,
                    from /usr/include/openssl/x509.h:73,
                    from /usr/include/openssl/ssl.h:156,
                    from /tmp/ffconf.2Hr4i7dx.c:1:
    /usr/local/include/openssl/opensslconf.h:18:3: error: #error OPENSSL_ALGORITHM_DEFINES no longer supported
    # error OPENSSL_ALGORITHM_DEFINES no longer supported
      ^
    In file included from /usr/include/openssl/ssl.h:165:0,
                    from /tmp/ffconf.2Hr4i7dx.c:1:
    /usr/include/openssl/kssl.h:72:18: fatal error: krb5.h: No such file or directory
    #include
                     ^
    compilation terminated.
    ERROR: openssl not found

    Has anyone else seen experienced this ?

  • ERROR : Cannot Autodetect input stream or No signal

    23 juin 2022, par Damián Devera

    I am using Decklink Mini Recorder to capture video (it has SDI and HDMI inputs, tried both).

    &#xA;

    This is my setup : Debian 10.2.1 (non GUI), ffmpeg 5.0, Blackmagic software 12.3

    &#xA;

    For that I installed custom build of ffmpeg :

    &#xA;

    sudo apt-get update -qq &amp;&amp; sudo apt-get -y install \&#xA;  autoconf \&#xA;  automake \&#xA;  build-essential \&#xA;  cmake \&#xA;  git-core \&#xA;  libass-dev \&#xA;  libmp3lame-dev \&#xA;  libfreetype6-dev \&#xA;  libtool \&#xA;  libvorbis-dev \&#xA;  pkg-config \&#xA;  texinfo \&#xA;  wget \&#xA;  zlib1g-dev&#xA;sudo apt-get -y install \&#xA;  nasm yasm&#xA;&#xA;sudo apt-get install -y libopus-dev&#xA;sudo apt-get install -y libvpx-dev&#xA;sudo apt-get install -y libx264-dev&#xA;sudo apt-get install -y libx265-dev&#xA;sudo apt-get install -y libnuma-dev&#xA;sudo apt-get install -y libfdk-aac-dev&#xA;sudo apt-get install -y libmp3lame-dev&#xA;&#xA;cd ~/ffmpeg_sources &amp;&amp; \&#xA;git -C fdk-aac pull 2> /dev/null || git clone --depth 1 https://github.com/mstorsjo/fdk-aac &amp;&amp; \&#xA;cd fdk-aac &amp;&amp; \&#xA;autoreconf -fiv &amp;&amp; \&#xA;./configure --prefix="$HOME/ffmpeg_build" --disable-shared &amp;&amp; \&#xA;make &amp;&amp; \&#xA;make install&#xA;&#xA;&#xA;&#xA;cd ~/ffmpeg_sources&#xA;wget https://ffmpeg.org/releases/ffmpeg-4.1.3.tar.bz2&#xA;tar -xvf ffmpeg-*.tar.bz2&#xA;cd ffmpeg-*/&#xA;PATH="$HOME/bin:$PATH" PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig" ./configure \&#xA;  --prefix="$HOME/ffmpeg_build" \&#xA;  --pkg-config-flags="--static" \&#xA;  --extra-cflags="-I$HOME/ffmpeg_build/include -I$HOME/ffmpeg_sources/BMD_SDK/include" \&#xA;  --extra-ldflags="-L$HOME/ffmpeg_build/lib" \&#xA;  --extra-libs="-lpthread -lm" \&#xA;  --bindir="$HOME/bin" \&#xA;  --enable-gpl \&#xA;  --enable-libass \&#xA;  --enable-libfdk-aac \&#xA;  --enable-libfreetype \&#xA;  --enable-libmp3lame \&#xA;  --enable-libopus \&#xA;  --enable-libvorbis \&#xA;  --enable-libvpx \&#xA;  --enable-libx264 \&#xA;  --enable-libx265 \&#xA;  --enable-nonfree \&#xA;  --enable-decklink&#xA;&#xA;PATH="$HOME/bin:$PATH" make -j `nproc`&#xA;sudo cp ffmpeg ffprobe /usr/local/bin/&#xA;

    &#xA;

    I can see my card using Blackmagic softwares for the card and also using ffmpeg -sources decklink.

    &#xA;

    But when I try to run this : ffmpeg -f decklink -i &#x27;DeckLink Mini Recorder&#x27; -t 10 -c:v libx264 -f mp4 test.mp4

    &#xA;

    I get error : Cannot Autodetect input stream or No signal  DeckLink Mini Recorder: Input/output error

    &#xA;

    UPDATE 1 : I used new command ffmpeg -y -format_code 23ps -f decklink -i &#x27;DeckLink Mini Recorder&#x27; test.mov -report&#xA;Now I can run command, but I capture only colour bars.

    &#xA;

    UPDATE 2 : I used new command ffmpeg -f decklink -video_input hdmi -i ‘DeckLink Mini Recorder’ -t 10 test.mp4&#xA;I am now capturing over HDMI.

    &#xA;

    Now I am trying to use SDI on the card (which is my main target) but running into same problems (using this command : ffmpeg -f decklink -video_input sdi -i ‘DeckLink Mini Recorder’ -t 10 test.mp4). I have HDMI to SDI convertor from BlackMagic (HDMI to SDI 3G). Does anybody know, what is the problem ?

    &#xA;

  • Fast Video Compression on Android

    7 avril 2017, par leap of faith

    I want to upload video files to server and compress before uploading. I’m using ffmpeg libx264. I have seen viber can upload 30 second video file of size 78MB within a minute [reduce it’s down to 2.3MB]. I want to know how do they do it so fast ?

    What I have tried so far -

    FFMPEG version :  n2.4.2
    Built with gcc 4.8

    Build Configuraiton : --target-os=linux --cross-prefix=/home/sb/Source-Code/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi- --arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/home/sb/Source-Code/ffmpeg-android/toolchain-android/sysroot --enable-pic --enable-libx264 --enable-libass --enable-libfreetype --enable-libfribidi --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/sb/Source-Code/ffmpeg-android/ffmpeg-pkg-config --prefix=/home/sb/Source-Code/ffmpeg-android/build/armeabi-v7a-neon --extra-cflags='-I/home/sb/Source-Code/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all -mfpu=neon' --extra-ldflags='-L/home/sb/Source-Code/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-lpng -lexpat -lm' --extra-cxxflags=

    Command :

    ffmpeg -y -i /storage/emulated/0/main.mp4 -s 480x320 -r 20 -c:v libx264 -preset ultrafast -c:a copy -me_method zero -tune fastdecode -tune zerolatency -strict -2 -b:v 1000k -pix_fmt yuv420p /storage/emulated/0/output.mp4

    The result so far is, a 30second 78MB file gets compressed to 4.3MB which takes around 1min 28seconds. Here is the console dump - http://pastebin.com/rn81acGx . I mainly want to reduce the time it takes to compress. How can I achieve this ?

    Thanks in advance.