Recherche avancée

Médias (91)

Autres articles (92)

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

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

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

Sur d’autres sites (11444)

  • Point CMake project to specific include file

    16 novembre 2011, par Unapiedra

    I am trying to build OpenCV 2.3.0 with FFMPEG enabled. Since Ubuntu 11.10 only supplies libavcodec/format with version 0.7 and the ticket #1020(link below) indicates that it should work with 0.8.

    If I try to compile I get the following error :

    [ 18%] Building CXX object modules/highgui/CMakeFiles/opencv_highgui.dir/src/cap_ffmpeg.o
    In file included from /home/chris/src/OpenCV-2.3.0/modules/highgui/src/cap_ffmpeg.cpp:45:0:
    /home/foo/src/OpenCV-2.3.0/modules/highgui/src/cap_ffmpeg_impl.hpp:103:36: fatal error: libavformat/avformat.h: No such file or directory
    compilation terminated.

    This file lives in /opt/linux64-debug/include/ffmpeg/libavformat/avformat.h. I tried pointing make at that with CMAKE_INCLUDE_DIRECTORY,PATH, CMAKE_PREFIX_PATH and CMAKE_LIBRARY_PATH. None of that worked. ( I always used the path /opt/linux64-debug/include/ffmpeg.)

    https://code.ros.org/trac/opencv/ticket/1020

  • What codec should I specify for an MP4 in my HTML5 video source tag ?

    28 avril 2016, par callum

    Based on Dive Into HTML5 I’ve written HTML something like this :

    <video controls="controls">
     <source src="my-video.mp4" type="video/mp4; codecs=avc1.42E01E,mp4a.40.2">
     <source src="my-video.webm" type="video/webm; codecs=vp8,vorbis">
     <source src="my-video.ogv" type="video/ogg; codecs=theora,vorbis">
    </source></source></source></video>

    I know the codecs specified for WebM and OGG are correct... But what about the avc1.42E01E,mp4a.40.2 ? How do I know if that’s correct ?

    I encoded my video like this :

    ffmpeg -i my-video.mov \
     -acodec libfaac -ab 96k \
     -vcodec libx264 \
     -level 21 -refs 2 -b:v 345k -bt 345k \
     -threads 0 -s 1920x780 my-video.mp4

    Can you tell from this command, or is there some way I can tell from the video ? Media Information in VLC didn’t help.

  • ffmpeg hwaccel no decoder surfaces left

    11 février 2023, par desperateLord

    Recently I compiled natively the latest version of ffmpeg 4.3 on Windows 10 amd64.&#xA;Evironment:CUDA11.0, NASM, VS2019, MYSY2 with mingw64.

    &#xA;

    I also used the patch https://trac.ffmpeg.org/attachment/ticket/9019/0001-Patch-for-ticket-9019-CUDA-Compile-Broken-Using-MSVC.patch

    &#xA;

    Compile featrues were :

    &#xA;

    --enable-nonfree --enable-cuda-nvcc --enable-libnpp --enable-gpl --enable-libx264 --enable-cuda-llvm --enable-nvenc&#xA;--toolchain=msvc --extra-cflags=-I../nv_sdk --extra-ldflags=-libpath:../nv_sdk&#xA;

    &#xA;

    I tested ffmpeg for cuda acceleration. the CPU is an AMD 3500x. the GPU is an RTX 2060Ultra.

    &#xA;

    Issuing this command :

    &#xA;

    .\ffmpeg -hwaccel cuvid -i .\a.wmv -c:v hevc_nvenc -bf 4 -preset slow -c:a aac -b:a 256k myvideo.mp4&#xA;

    &#xA;

    But recieved this error :

    &#xA;

    [wmv3 @ 000002632DFC5180] No decoder surfaces left&#xA;Error while decoding stream #0:0: Cannot allocate memory&#xA;[hevc_nvenc @ 00000263300B1740] Failed locking bitstream buffer: out of memory (10):&#xA;video encoding failed: Cannot allocate memory&#xA;

    &#xA;

    I'm not sure where I've gone wrong here.

    &#xA;