Recherche avancée

Médias (3)

Mot : - Tags -/image

Autres articles (98)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

Sur d’autres sites (13242)

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

  • 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


    


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