Recherche avancée

Médias (1)

Mot : - Tags -/artwork

Autres articles (70)

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

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

Sur d’autres sites (4709)

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


    


  • python3.6 ffmpeg call MacOSX

    8 avril 2017, par Awazleon

    I’m using Python 3.6 on MacOSX. I would like to use FFmpeg as Python sub-process. Everything works fine when using the OSX embedded Python 2.7 but using 3.6, this doesn’t work.
    I’ve got an error message because it doesn’t find FFmepg.

    raise FFExecutableNotFoundError("Executable ’0’ not found".format(self.executable))
    ffmpy.FFExecutableNotFoundError : Executable ’ffmpeg’ not found

    As you can se I tried with ffmpy but I also got the same result by invoking FFmpeg directly

    from subprocess import call
    call(["ffmpeg"])
    Traceback (most recent call last) :
    File "", line 1, in
    call(["ffmpeg"])
    File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py", line 267, in call
    with Popen(*popenargs, **kwargs) as p :
    File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py", line 707, in init
    restore_signals, start_new_session)
    File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py", line 1326, in _execute_child
    raise child_exception_type(errno_num, err_msg)
    FileNotFoundError : [Errno 2] No such file or directory : ’ffmpeg’

    I installed the FFmpeg lib. by using Brew through Terminal. It was well installed but only visible by Python 2.7, not 3.6.

    Calling it from terminal is working :

    iMac-de-xxxxx : utilisateur$ ffmpeg

    ffmpeg version 3.2.4 Copyright (c) 2000-2017 the FFmpeg developers
    built with Apple LLVM version 8.0.0 (clang-800.0.42.1)
    configuration : —prefix=/usr/local/Cellar/ffmpeg/3.2.4 —enable-shared —enable-pthreads —enable-gpl —enable-version3 —enable-hardcoded-tables —enable-avresample —cc=clang —host-cflags= —host-ldflags= —enable-libmp3lame —enable-libx264 —enable-libxvid —enable-opencl —disable-lzma —enable-vda

    I’m not (yet) a Linux specialist but I think that a path is missing for 3.6 to find FFmpeg.
    Any clue to solve this annoying issue ?