Recherche avancée

Médias (91)

Autres articles (100)

  • Soumettre améliorations et plugins supplémentaires

    10 avril 2011

    Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
    Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...)

  • MediaSPIP Init et Diogène : types de publications de MediaSPIP

    11 novembre 2010, par

    À l’installation d’un site MediaSPIP, le plugin MediaSPIP Init réalise certaines opérations dont la principale consiste à créer quatre rubriques principales dans le site et de créer cinq templates de formulaire pour Diogène.
    Ces quatre rubriques principales (aussi appelées secteurs) sont : Medias ; Sites ; Editos ; Actualités ;
    Pour chacune de ces rubriques est créé un template de formulaire spécifique éponyme. Pour la rubrique "Medias" un second template "catégorie" est créé permettant d’ajouter (...)

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

Sur d’autres sites (8100)

  • ImportError : FFmpeg libraries are not found. Please install FFmpeg in ubuntu 22.04 LTS

    8 juin 2023, par Schrödinger's Cat

    Here i am using diart library for audio transcription using whisper open ai model model for one dependency is throwing error that i mention in the question here is my

    


    Traceback (most recent call last):&#xA;File "/home/vkyc/Desktop/projectRasa/audio/lib/python3.10/site- &#xA;packages/torchaudio/_extension.py", line 71, in _init_ffmpeg&#xA;_load_lib("libtorchaudio_ffmpeg")&#xA;File "/home/vkyc/Desktop/projectRasa/audio/lib/python3.10/site- &#xA;packages/torchaudio/_extension.py", line 52, in _load_lib&#xA;torch.ops.load_library(path)&#xA;File "/home/vkyc/Desktop/projectRasa/audio/lib/python3.10/site- &#xA;packages/torch/_ops.py", &#xA;line 573, in load_library&#xA;ctypes.CDLL(path)&#xA;File "/usr/lib/python3.10/ctypes/__init__.py", line 374, in __init__&#xA;self._handle = _dlopen(self._name, mode)&#xA;OSError: libavdevice.so.58: cannot open shared object file: No such file or directory&#xA;&#xA;The above exception was the direct cause of the following exception:&#xA;&#xA;Traceback (most recent call last):&#xA;File "/home/vkyc/Desktop/audio_streaming/LiveStream.py", line 13, in <module>&#xA;from diart.sources import MicrophoneAudioSource&#xA;File "/home/vkyc/Desktop/projectRasa/audio/lib/python3.10/site- &#xA;packages/diart/sources.py", line 11, in <module>&#xA;from torchaudio.io import StreamReader&#xA;File "/home/vkyc/Desktop/projectRasa/audio/lib/python3.10/site- &#xA;packages/torchaudio/io/__init__.py", line 21, in __getattr__&#xA;torchaudio._extension._init_ffmpeg()&#xA;File "/home/vkyc/Desktop/projectRasa/audio/lib/python3.10/site- &#xA;packages/torchaudio/_extension.py", line 73, in _init_ffmpeg&#xA;raise ImportError("FFmpeg libraries are not found. Please install FFmpeg.") from err&#xA;ImportError: FFmpeg libraries are not found. Please install FFmpeg.&#xA;</module></module>

    &#xA;

    i tried pip install python-ffmpeg&#xA;also install from system using the command sudo apt install ffmpeg&#xA;although all ffmpeg install on system using pip and also from terminal using sudo apt command but still throwing same error

    &#xA;

    ImportError: FFmpeg libraries are not found. Please install &#xA;FFmpeg&#xA;

    &#xA;

    if any one know about please resove this error

    &#xA;

  • ffmpeg h264_nvenc error [Cannot init Cuda] on NVidia Quadro p620

    13 septembre 2018, par Vitor Silva de Deus

    I’ve installed the nv-codec-headers from https://git.videolan.org/git/ffmpeg/nv-codec-headers.git. whit :

    cd nv-codec-headers &amp;&amp; make &amp;&amp; sudo make install

    Then I got ffmpeg from https://git.ffmpeg.org/ffmpeg.git and compiled with :

    cd ffmpeg &amp;&amp; PATH="$HOME/bin:$PATH" PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig" ./configure   --prefix="$HOME/ffmpeg_build"   --pkg-config-flags="--static"   --extra-cflags="-I$HOME/ffmpeg_build/include"   --extra-ldflags="-L$HOME/ffmpeg_build/lib"   --extra-libs="-lpthread -lm"   --bindir="$HOME/bin"   --enable-gpl   --enable-libaom   --enable-libass   --enable-libfdk-aac   --enable-libfreetype   --enable-libmp3lame   --enable-libopus   --enable-libvorbis   --enable-libvpx   --enable-libx264   --enable-libx265   --enable-nonfree --enable-cuda --enable-cuvid --enable-nvenc --enable-nonfree --enable-libnpp --extra-cflags=-I/usr/local/cuda/include --extra-ldflags=-L/usr/local/cuda/lib64  &amp;&amp; PATH="$HOME/bin:$PATH" make &amp;&amp; make install &amp;&amp; hash -r

    When I run :

    ffmpeg -hex -rtsp_transport tcp -t 1800 -r 30 -i rtsp://stream_url -c:v h264_nvenc -s:v 360x180 -vsync 0 -preset slow outfile.mp4

    ffmpeg breaks and logs :

    [aac @ 0x5636a2d9f540] Too many bits 8832.000000 > 6144 per frame
    requested, clamping to max

    [swscaler @ 0x5636a33e7840] deprecated pixel format used, make sure
    you did set range correctly

    [h264_nvenc @ 0x5636a2da2880] Cannot init CUDA

    Error initializing output stream 0:0 — Error while opening encoder
    for output stream #0:0 - maybe incorrect parameters such as bit_rate,
    rate, width or height

    [aac @ 0x5636a2d9f540] Qavg : -nan

    [aac @ 0x5636a2d9f540] 1 frames left in the queue on closing
    Conversion failed !

    OS : Ubuntu Server 18.04

    ffmpeg version : N-91936-g776cdd1dc8 Copyright (c) 2000-2018 the FFmpeg developers
    built with gcc 7 (Ubuntu 7.3.0-16ubuntu3)

    CUDA version : 9.2

    GPU Device : Dual NVIDIA Quadro P620, 2 GB, 4 mDP

    Any suggestion on how can i debug or what I’m doing wrong ?! Many thanks !

  • Missing audio stream which is required by this ffm at Raspberry PI using ffmpeg

    17 mai 2014, par batuman

    I am trying to stream video from my Raspberry PI using ffserver, raspivid and ffmpeg. My command is as follow

    ffserver -f /etc/ffserver.conf &amp; raspivid -vf -t 0 -w 450 -h 200 -fps 25 -b 2000000 -o - | ffmpeg -f h264 -r 25 -c:v h264 -i - -c:v libx264 -c:a libmp3lame http://localhost:8090/feed1.ffm

    It looks working, I see the video displayed on the monitor and got the error as

    Missing audio stream which is required by this ffm

    The whole output at console is as follow.

    ffmpeg version 2.2.git Copyright (c) 2000-2014 the FFmpeg developers
     built on May 10 2014 17:04:06 with gcc 4.6 (Debian 4.6.3-14+rpi1)
     configuration: --prefix=/home/pi/ffmpeg_build --extra-cflags=-I/home/pi/ffmpeg_build/include --extra-ldflags=-L/home/pi/ffmpeg_build/lib --bindir=/home/pi/bin --extra-libs=-ldl --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-x11grab
     libavutil      52. 82.100 / 52. 82.100
     libavcodec     55. 60.103 / 55. 60.103
     libavformat    55. 37.102 / 55. 37.102
     libavdevice    55. 13.101 / 55. 13.101
     libavfilter     4.  5.100 /  4.  5.100
     libswscale      2.  6.100 /  2.  6.100
     libswresample   0. 18.100 /  0. 18.100
     libpostproc    52.  3.100 / 52.  3.100
    Input #0, h264, from 'pipe:':
     Duration: N/A, bitrate: N/A
       Stream #0:0: Video: h264 (High), yuv420p, 450x200, 25 fps, 25 tbr, 1200k tbn, 50 tbc
    Sat May 17 07:10:56 2014 127.0.0.1 - - [GET] "/feed1.ffm HTTP/1.1" 200 4175
    Missing audio stream which is required by this ffm

    I searched and found that I have to use blank audio using libmp3lame. Is it the only way to do ?And can’t find installer for linux for libmp3lame.