Recherche avancée

Médias (29)

Mot : - Tags -/Musique

Autres articles (62)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

Sur d’autres sites (8340)

  • Trouble with hardware-assisted encoding/decoding via FFmpeg on Azure GPU vm's (ubuntu 16.04)

    17 avril 2018, par user3776020

    I am trying to use NVIDIA hardware acceleration with FFmpeg/libav, but can’t get it to work correctly on Azure vm’s running Ubuntu 16.04. For a sample case, I am trying to do a simple decoding of an h264 video into a raw YUV file (as detailed here : https:// developer.nvidia.com/ffmpeg).

    So far, I’ve tried it on NC-6, NC-12, and NV-6 machines (in different regions). In each of these instances, it would take about 30-45 seconds to process a single video frame. As a comparison, I also tried it on a P2.xlarge vm on AWS (which has very similar specs to the NC-6), which was able to process about 3000 frames in about 5 seconds. Has anyone else run into this issue with Azure machines, or has any idea why this would be the case ?

    Here are the commands I used to install the necessary drivers/libraries/etc (I also verified that each machine as the same NVIDIA driver version installed - 375.51) :

    CUDA_REPO_PKG=cuda-repo-ubuntu1604_8.0.61-1_amd64.deb

    wget -O /tmp/$CUDA_REPO_PKG
    http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/$CUDA_REPO_PKG

    sudo dpkg -i /tmp/$CUDA_REPO_PKG

    sudo apt-get update

    sudo apt-get install -y cuda-drivers

    sudo apt-get install -y cuda

    sudo apt-get install -y nvidia-cuda-toolkit

    [reboot]

    sudo apt-get update

    sudo apt-get upgrade -y

    sudo apt-get dist-upgrade -y

    [reboot]

    git clone https://github.com/FFmpeg/FFmpeg.git

    [download the latest video codec SDK from NVIDIA at : https://
    developer.nvidia.com/designworks/video_codec_sdk/downloads/v7.1]

    [unzipped codec, and copy header files from
    /Video_Codec_SDK_7.1.9/Samples/common/inc/ into /usr/include/]

    cd /FFmpeg

    ./configure —enable-nonfree —disable-shared —enable-nvenc
    —enable-cuda —enable-cuvid —enable-libnpp —extra-cflags=-Ilocal/include —extra-cflags=-I../nv_sdk —extra-ldflags=-L../nv_sdk

    sudo make && sudo make install

    For the FFmpeg command that I used to decode a sample movie file, I used the following :

    sudo ffmpeg -vsync 0 -c:v h264_cuvid -i sample_vid.mp4 -f rawvideo outputvid.yuv
  • How to make ffmpeg available inside my Docker container ?

    26 août 2019, par vcamargo

    I’m currently trying to run a ffmpeg Docker image inside my own container with docker-compose using the depends_on clause. But when I try to reach ffmpeg inside my code, it seems like it’s not available system-wide and I get an error. I believe I’m misconfiguring Docker.

    My current Dockerfile is as follows :

    FROM node:9

    WORKDIR /usr/app

    COPY package*.json ./

    RUN npm install --quiet

    COPY . .

    And my docker-compose.yml :

    version: '3'
    services:
     app:
       build: .
       command: npm run dev
       volumes:
       - .:/usr/app/
       - /usr/app/node_modules
       ports:
         - "3000:3000"
       depends_on:
         - ffmpeg
     ffmpeg:
       image: jrottenberg/ffmpeg:3.3

    When I run docker-compose up I can see that the ffmpeg is actually working, but then my application proceeds to start and it seems that ffmpeg ceases to work.

  • Non-monotonous DTS in output stream 0:1

    4 mai 2018, par sana

    I’m using ffmpeg to get a video file on network .I get the sound live but I it get the video too late. The code I use on the receiver side is :

    ffmpeg -i rtsp://10.0.0.1:8554/test1.sdp -acodec copy -vcodec copy /home/sana/lab/mrp/test1.avi

    The code I use On the sender side is :

    cvlc -vvv /home/sana/lab/video-server1/1.avi --sout '#transcode{vcodec=h264,vb=3000,scale=Auto,acodec=mp3,ab=128,channels=2,samplerate=8000}:rtp{dst=10.0.0.2,port=1234,sdp=rtsp://10.0.0.1:8554/test1.sdp}'

    the error in the output of the ffmpeg command(on the receiver) is :

    [avi @ 0x521ba80] Non-monotonous DTS in output stream 0:1; previous: 196, current: 162; changing to 197. This may result in incorrect timestamps in the output file

    the errors in the input of the vlc command(on the sender) is :

       [0x7f6070000f58] x264 encoder warning: invalid DTS: PTS is less than DTS

       [0x7f608c0009b8] main input error: ES_OUT_SET_(GROUP_)PCR  is called too late (pts_delay increased to 532 ms)
       [0x7f608c0009b8] main input error: ES_OUT_RESET_PCR called
       .
       .
       [mpeg4 @ 0x7f60700075a0] header damaged
       [0x7f6070000b08] avcodec generic warning: cannot decode one frame (4105 bytes)
       [mpeg4 @ 0x7f60700075a0] header damaged
       [0x7f6070000b08] avcodec generic warning: cannot decode one frame (4078 bytes

    )

    What does this actually mean and what can I do to prevent it from happening ?

    the ffmpeg version is 4.0-static and vlc version is VLC media player 2.1.6 Rincewind (revision 2.1.6-0-gea01d28) and ubuntu version is 14.04.