Recherche avancée

Médias (1)

Mot : - Tags -/artwork

Autres articles (49)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (3250)

  • How to build ffmpeg v6.0 with filter overlay_cuda ? [closed]

    6 février 2024, par yang

    My system version is ubuntu 22.04 LTS.

    


    I build ffmpeg v6.0 for tesla T4, but when I run

    


    ffmpeg -h filter=overlay_cuda


    


    the terminal output

    


    Unknown filter 'overlay_cuda'.


    


    then I tried to run

    


    ffmpeg \
    -hide_banner -y \
    -hwaccel cuda -hwaccel_output_format cuda \
    -i input \
    -filter_complex "[0:v:0]hwupload_cuda[main];[0:v:0]scale_npp=100:100,hwupload_cuda[logo];[main][logo]overlay_cuda[output]" \
    -map "[output]" -c:v h264_nvenc \
    output


    


    the terminal output

    


    [AVFilterGraph @ 0x561092fca380] No such filter: 'overlay_cuda'
Error initializing complex filters.
Filter not found


    


    Here is my build steps.

    


    1. install nvidia driver and cuda tool kit

    


    wget https://developer.download.nvidia.com/compute/cuda/12.0.0/local_installers/cuda_12.0.0_525.60.13_linux.run
sudo sh cuda_12.0.0_525.60.13_linux.run 


    


    2. download ffmpeg v6.0 source code and nv-codec-headers

    


    git clone -b release/6.0 https://git.ffmpeg.org/ffmpeg.git ffmpeg_cuda_6.0/
git clone -b sdk/12.0 https://git.videolan.org/git/ffmpeg/nv-codec-headers.git nv-codec-headers-12.0/
cd nv-codec-headers
make install


    


    3. ffmpeg configure and build

    


    PKG_CONFIG_PATH="/usr/local/lib/pkgconfig" \
./configure \
--enable-cuda \
--enable-cuvid \
--enable-nvdec \
--enable-nvenc \
--enable-nonfree \
--enable-libnpp \
--nvcc='/usr/local/cuda/bin/nvcc' \
--extra-cflags='-I/usr/local/cuda/include' \
--extra-ldflags='-L/usr/local/cuda/lib64' \
--enable-opencl \
--enable-shared \
--enable-gpl \
--enable-nonfree

make -j 8
make install


    


    4. export library

    


    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda/lib64


    


  • Mingw-w64 builded FFmpeg doesn't show any usage information

    26 octobre 2013, par user1240328

    First I wanted to modificate ffplay according to my requirments. Then I noticed that original ffplay from my build can't play some video files, but it didn't write any message to console. Then I noticed that ffmpeg also don't write any usage message when I run it without params. But it works. If I run it from terminal it's like running asynchronously ! The terminal just shows next row. I mean it asks for a next command. But the ffmpeg process is visible in task manager and it writes the output video file what I had requested !

    I created following souce file. I have modified the Makefile. So it have built the exe-file works just the same way. I have no idea how it can be.

    #include
    #include "cmdutils.h"

    const char program_name[] = "hello";
    const int program_birth_year = 2013;

    void show_help_default(const char *opt, const char *arg)
    {
       printf("zxcvbnm\n");
    }

    int main(int argc, char **argv)
    {
       printf("1234567890\n");
       return 0;
    }

    I want to prevent this behavior.

    I want to make printf working in traditional manner.

    How I build FFmpeg :

    PKG_CONFIG_PATH=/home/developer/workspace/MinGW32fs/lib/pkgconfig/ \
    SDL_CONFIG=/home/developer/workspace/MinGW32fs/bin/sdl-config \
    ./configure \
     --prefix=/home/developer/workspace/MinGW32fs \
     --extra-ldflags="-L/home/developer/workspace/MinGW32fs/lib" \
     --extra-cflags="-I/home/developer/workspace/MinGW32fs/include" \
     --arch=x86 --target-os=mingw32 --cross-prefix=i686-w64-mingw32-  \
     --pkg-config=pkg-config   --enable-libtheora --enable-libvorbis --enable-libvpx \
     --enable-outdev=sdl --enable-shared --disable-static \
     --disable-doc --disable-manpages --disable-podpages

    make
  • avconv/ffmpg generating frames in php

    6 mars 2014, par fsulser

    I'm trying to generate some frames (at the moment) on my localhost server with this code :

    $cmd = 'avconv -i "../videos/medium.mp4" -vsync 1 -r 10 -f image2 -an -y -qscale 20 -s 120*90 -ss 00:00:05 -t 00:00:10 "out_%05d.jpg" 2>&1';

    passthru($cmd, $out);

    I get the following message :

    avconv version 0.8.10-4:0.8.10-0ubuntu0.12.04.1, ............
    Press ctrl-c to stop encoding [image2 @ 0x646120] Could not open file : out_00001.jpg av_interleaved_write_frame() : Input/output error failed1

    The problem is if I run this command in my terminal it works. Does anyone know whats the problem ? Is it due to permisson or something else ?