Recherche avancée

Médias (2)

Mot : - Tags -/doc2img

Autres articles (41)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (5262)

  • ffmpeg compilation failed with cuda, libnpp not found

    28 avril 2019, par Q_SJ

    image : docker tensorflow/tensorflow:1.10.0-devel-gpu-py3
    os : ubuntu 16.04
    cuda : 9.0.176

    ffmpeg pulled from github and nv-codec-headers downloaded from videolan, both the latest version

    step 1 : cd /nv-codec-headers and make && make install

    step 2 : cd /ffmpeg (the ffmpeg source) , ./configure —extra-cflags=-I/usr/local/include —extra-ldconfig=-L/usr/local/lib —enable-gpl —enable-lbopus —enable-librtmp —enable-libx264 —enable-nonfree —enable-libnpp —enable-cuvid —enable-nvenc —enable-cuda

    output : ERROR : libnpp not found

    I also tried compiling ffmpeg with cuda 10, but it seemed the same problem. but if I deleted "—enable-libnpp" then ./configure works.

    the config.log has many errors :

    ERROR: libnpp not found
    root@336584ef0a4e:~/ffmpeg_sources/ffmpeg# cat ./ffbuild/config.log | grep error    error_resilience
       error_resilience
       strerror_r
       error_resilience
       strerror_r
    error_color=''
    error_resilience_select='me_cmp'
    h264_decoder_suggest='error_resilience'
    mpeg_er_select='error_resilience'
    wmv2_decoder_select='blockdsp error_resilience h263_decoder idctdsp intrax8 videodsp wmv2dsp'
       3   #error "unsatisfied condition: __STDC_VERSION__ >= 201112L"
       3   #error "unsatisfied condition: defined __UCLIBC__"
    /tmp/ffconf.DiL4dMbF/test.c:3:2: error: #error "unsatisfied condition: defined __UCLIBC__"
    #error "unsatisfied condition: defined __UCLIBC__"
       3   #error "unsatisfied condition: defined __GLIBC__"
       3   #error "unsatisfied condition: defined __UCLIBC__"
    /tmp/ffconf.DiL4dMbF/test.c:3:2: error: #error "unsatisfied condition: defined __UCLIBC__"
    #error "unsatisfied condition: defined __UCLIBC__"
       3   #error "unsatisfied condition: defined __GLIBC__"
    /tmp/ffconf.DiL4dMbF/test.c:2:11: error: 'localtime_r' undeclared here (not in a function)
       3   #error "unsatisfied condition: defined(__PIC__) || defined(__pic__) || defined(PIC)"
    /tmp/ffconf.DiL4dMbF/test.c:3:2: error: #error "unsatisfied condition: defined(__PIC__) || defined(__pic__) || defined(PIC)"
    #error "unsatisfied condition: defined(__PIC__) || defined(__pic__) || defined(PIC)"
    /tmp/ffconf.DiL4dMbF/test.c:1:20: fatal error: intrin.h: No such file or directory
    nasm -Werror -o /tmp/ffconf.DiL4dMbF/test.o /tmp/ffconf.DiL4dMbF/test.asm
    nasm -f elf64 -g -F dwarf -Werror -o /tmp/ffconf.DiL4dMbF/test.o /tmp/ffconf.DiL4dMbF/test.asm
    nasm -f elf64 -g -F dwarf -Werror -o /tmp/ffconf.DiL4dMbF/test.o /tmp/ffconf.DiL4dMbF/test.asm
    nasm -f elf64 -g -F dwarf -Werror -o /tmp/ffconf.DiL4dMbF/test.o /tmp/ffconf.DiL4dMbF/test.asm
    nasm -f elf64 -g -F dwarf -Werror -o /tmp/ffconf.DiL4dMbF/test.o /tmp/ffconf.DiL4dMbF/test.asm
    nasm -f elf64 -g -F dwarf -Werror -o /tmp/ffconf.DiL4dMbF/test.o /tmp/ffconf.DiL4dMbF/test.asm
    /tmp/ffconf.DiL4dMbF/test.asm:1: error: unknown 'cpu' type 'amdnop'
    /tmp/ffconf.DiL4dMbF/test.c:1:22: fatal error: arm_neon.h: No such file or directory
    /tmp/ffconf.DiL4dMbF/test.c:1:26: fatal error: netinet/sctp.h: No such file or directory
    /tmp/ffconf.DiL4dMbF/test.c:3:57: error: 'struct sockaddr' has no member named 'sa_len'
    collect2: error: ld returned 1 exit status
    /tmp/ffconf.DiL4dMbF/test.c:1:20: fatal error: atomic.h: No such file or directory
    /tmp/ffconf.DiL4dMbF/test.c:1:22: fatal error: mbarrier.h: No such file or directory
    /tmp/ffconf.DiL4dMbF/test.c:1:21: fatal error: windows.h: No such file or directory
    /tmp/ffconf.DiL4dMbF/test.c:3:50: error: '_aligned_malloc' undeclared (first use in this function)
    /tmp/ffconf.DiL4dMbF/test.c:3:45: error: 'arc4random' undeclared (first use in this function)
    collect2: error: ld returned 1 exit status
    check_func strerror_r
       1   extern int strerror_r();
       2   int main(void){ strerror_r(); }
    /tmp/ffconf.DiL4dMbF/test.c:1:19: fatal error: conio.h: No such file or directory
    /tmp/ffconf.DiL4dMbF/test.c:1:16: fatal error: io.h: No such file or directory
    /tmp/ffconf.DiL4dMbF/test.c:1:23: fatal error: lzo/lzo1x.h: No such file or directory
    /tmp/ffconf.DiL4dMbF/test.c:1:28: fatal error: mach/mach_time.h: No such file or directory
    /tmp/ffconf.DiL4dMbF/test.c:1:21: fatal error: windows.h: No such file or directory
    /tmp/ffconf.DiL4dMbF/test.c:1:21: fatal error: windows.h: No such file or directory
    /tmp/ffconf.DiL4dMbF/test.c:1:21: fatal error: windows.h: No such file or directory
    /tmp/ffconf.DiL4dMbF/test.c:1:21: fatal error: windows.h: No such file or directory
    /tmp/ffconf.DiL4dMbF/test.c:1:21: fatal error: windows.h: No such file or directory
    /tmp/ffconf.DiL4dMbF/test.c:1:21: fatal error: windows.h: No such file or directory
    /tmp/ffconf.DiL4dMbF/test.c:1:21: fatal error: windows.h: No such file or directory
    /tmp/ffconf.DiL4dMbF/test.c:1:21: fatal error: windows.h: No such file or directory
    /tmp/ffconf.DiL4dMbF/test.c:1:21: fatal error: windows.h: No such file or directory
    /tmp/ffconf.DiL4dMbF/test.c:1:21: fatal error: windows.h: No such file or directory
    /tmp/ffconf.DiL4dMbF/test.c:1:20: fatal error: direct.h: No such file or directory
    /tmp/ffconf.DiL4dMbF/test.c:1:23: fatal error: dxgidebug.h: No such file or directory
    /tmp/ffconf.DiL4dMbF/test.c:1:18: fatal error: dxva.h: No such file or directory
    /tmp/ffconf.DiL4dMbF/test.c:1:22: fatal error: dxva2api.h: No such file or directory
    /tmp/ffconf.DiL4dMbF/test.c:1:16: fatal error: io.h: No such file or directory
    /tmp/ffconf.DiL4dMbF/test.c:1:42: fatal error: libcrystalhd/libcrystalhd_if.h: No such file or directory
    /tmp/ffconf.DiL4dMbF/test.c:1:25: fatal error: net/udplite.h: No such file or directory
    /tmp/ffconf.DiL4dMbF/test.c:1:31: fatal error: valgrind/valgrind.h: No such file or directory
    gcc: error: VideoToolbox: No such file or directory
    gcc: error: unrecognized command line option '-framework'
    /tmp/ffconf.DiL4dMbF/test.c:1:21: fatal error: windows.h: No such file or directory
    /tmp/ffconf.DiL4dMbF/test.c:1:36: fatal error: X11/extensions/XvMClib.h: No such file or directory
    /tmp/ffconf.DiL4dMbF/test.c:1:21: fatal error: windows.h: No such file or directory
    /tmp/ffconf.DiL4dMbF/test.c:1:21: fatal error: windows.h: No such file or directory
    /tmp/ffconf.DiL4dMbF/test.c:1:21: fatal error: windows.h: No such file or directory
    /tmp/ffconf.DiL4dMbF/test.c:1:21: fatal error: windows.h: No such file or directory
    /tmp/ffconf.DiL4dMbF/test.c:1:21: fatal error: windows.h: No such file or directory
    /tmp/ffconf.DiL4dMbF/test.c:1:35: fatal error: android/native_window.h: No such file or directory
    /tmp/ffconf.DiL4dMbF/test.c:2:28: fatal error: media/NdkImage.h: No such file or directory
    /tmp/ffconf.DiL4dMbF/test.c:3:37: fatal error: camera/NdkCameraManager.h: No such file or directory
    gcc -Werror=missing-prototypes -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -I/root/ffmpeg_build/include -I/root/ffmpeg_build/include -I/usr/local/cuda/include -std=c11 -fomit-frame-pointer -c -o /tmp/ffconf.DiL4dMbF/test.o /tmp/ffconf.DiL4dMbF/test.m
    gcc: error trying to exec 'cc1obj': execvp: No such file or directory
    gcc -Werror=missing-prototypes -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -I/root/ffmpeg_build/include -I/root/ffmpeg_build/include -I/usr/local/cuda/include -std=c11 -fomit-frame-pointer -c -o /tmp/ffconf.DiL4dMbF/test.o /tmp/ffconf.DiL4dMbF/test.m
    gcc: error trying to exec 'cc1obj': execvp: No such file or directory
    gcc -Werror=missing-prototypes -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -I/root/ffmpeg_build/include -I/root/ffmpeg_build/include -I/usr/local/cuda/include -std=c11 -fomit-frame-pointer -c -o /tmp/ffconf.DiL4dMbF/test.o /tmp/ffconf.DiL4dMbF/test.m
    gcc: error trying to exec 'cc1obj': execvp: No such file or directory
    gcc -Werror=missing-prototypes -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -I/root/ffmpeg_build/include -I/root/ffmpeg_build/include -I/usr/local/cuda/include -std=c11 -fomit-frame-pointer -c -o /tmp/ffconf.DiL4dMbF/test.o /tmp/ffconf.DiL4dMbF/test.m
    gcc: error trying to exec 'cc1obj': execvp: No such file or directory
    gcc -Werror=missing-prototypes -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -I/root/ffmpeg_build/include -I/root/ffmpeg_build/include -I/usr/local/cuda/include -std=c11 -fomit-frame-pointer -c -o /tmp/ffconf.DiL4dMbF/test.o /tmp/ffconf.DiL4dMbF/test.m
    gcc: error trying to exec 'cc1obj': execvp: No such file or directory
    gcc -Werror=missing-prototypes -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -I/root/ffmpeg_build/include -I/root/ffmpeg_build/include -I/usr/local/cuda/include -std=c11 -fomit-frame-pointer -c -o /tmp/ffconf.DiL4dMbF/test.o /tmp/ffconf.DiL4dMbF/test.m
    gcc: error trying to exec 'cc1obj': execvp: No such file or directory
    gcc -Werror=missing-prototypes -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -I/root/ffmpeg_build/include -I/root/ffmpeg_build/include -I/usr/local/cuda/include -std=c11 -fomit-frame-pointer -c -o /tmp/ffconf.DiL4dMbF/test.o /tmp/ffconf.DiL4dMbF/test.m
    gcc: error trying to exec 'cc1obj': execvp: No such file or directory
    gcc -Werror=missing-prototypes -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -I/root/ffmpeg_build/include -I/root/ffmpeg_build/include -I/usr/local/cuda/include -std=c11 -fomit-frame-pointer -c -o /tmp/ffconf.DiL4dMbF/test.o /tmp/ffconf.DiL4dMbF/test.m
    gcc: error trying to exec 'cc1obj': execvp: No such file or directory
    /tmp/ffconf.DiL4dMbF/test.c:1:21: fatal error: windows.h: No such file or directory
    /tmp/ffconf.DiL4dMbF/test.c:1:21: fatal error: windows.h: No such file or directory
    /tmp/ffconf.DiL4dMbF/test.c:1:21: fatal error: windows.h: No such file or directory
    /tmp/ffconf.DiL4dMbF/test.c:1:21: fatal error: windows.h: No such file or directory
    /tmp/ffconf.DiL4dMbF/test.c:1:18: fatal error: d3d9.h: No such file or directory
    pkg-config --exists --print-errors ffnvcodec >= 9.0.18.0
       3   #error "unsatisfied condition: !WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)"
    /tmp/ffconf.DiL4dMbF/test.c:1:21: fatal error: windows.h: No such file or directory
    /tmp/ffconf.DiL4dMbF/test.c:1:21: fatal error: windows.h: No such file or directory
    pkg-config --exists --print-errors zlib
    /tmp/ffconf.DiL4dMbF/test.c:1:19: fatal error: bzlib.h: No such file or directory
    /tmp/ffconf.DiL4dMbF/test.c:1:18: fatal error: lzma.h: No such file or directory
    collect2: error: ld returned 1 exit status
    /tmp/ffconf.DiL4dMbF/test.c:1:17: fatal error: npp.h: No such file or directory
    /tmp/ffconf.DiL4dMbF/test.c:1:17: fatal error: npp.h: No such file or directory
  • Make Command Won't Link FFMpeg

    16 novembre 2023, par ThomasNotTom

    I am trying to install FFMpeg and I am using a Mac.

    


    I keep getting

    


    archive member '/' not a mach-o file in '[The path to the directory]/libavdevice/libavdevice.a'


    


    And there is one for each libav folder.

    


    I am running the following commands

    


    git clone https://git.ffmpeg.org/ffmpeg.git ffmpeg
cd ffmpeg
./configure  --prefix=/usr/local
make


    


    I'm not too sure what I should be expecting, but an error is definitely not it

    


    — edit —

    


    I have also tried with FFMpeg version 3.0. And I got the same error

    


  • avutil/timer : Fix missing header for mach_absolute_time

    17 juin 2024, par Zhao Zhili
    avutil/timer : Fix missing header for mach_absolute_time
    

    mach/mach_time.h was included only when CONFIG_MACOS_KPERF wasn't
    been defined.

    Signed-off-by : Zhao Zhili <zhilizhao@tencent.com>

    • [DH] libavutil/timer.h