Recherche avancée

Médias (0)

Mot : - Tags -/performance

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (101)

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, 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 (...)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

Sur d’autres sites (9813)

  • fftools/ffmpeg_filter : move filtering to a separate thread

    8 juin 2023, par Anton Khirnov
    fftools/ffmpeg_filter : move filtering to a separate thread
    

    As previously for decoding, this is merely "scaffolding" for moving to a
    fully threaded architecture and does not yet make filtering truly
    parallel - the main thread will currently wait for the filtering thread
    to finish its work before continuing. That will change in future commits
    after encoders are also moved to threads and a thread-aware scheduler is
    added.

    • [DH] fftools/ffmpeg.h
    • [DH] fftools/ffmpeg_dec.c
    • [DH] fftools/ffmpeg_filter.c
  • fftools/ffmpeg_enc : move encoding to a separate thread

    2 juin 2023, par Anton Khirnov
    fftools/ffmpeg_enc : move encoding to a separate thread
    

    As for the analogous decoding change, this is only a preparatory step to
    a fully threaded architecture and does not yet make encoding truly
    parallel. The main thread will currently submit a frame and wait until
    it has been fully processed by the encoder before moving on. That will
    change in future commits after filters are moved to threads and a
    thread-aware scheduler is added.

    This code suffers from a known issue - if an encoder with a sync queue
    receives EOF it will terminate after processing everything it currently
    has, even though the sync queue might still be triggered by other
    threads. That will be fixed in following commits.

    • [DH] fftools/ffmpeg_enc.c
  • Capture xvfb stream from docker container using webRTC [closed]

    5 septembre 2023, par HIMANSHU SAHU

    I have a windows game .exe file and running the game inside a docker container (In EC2 linux VM) using xvfb version of X server. Now I want to Capture X server stream from docker container to my local system using webRTC. What should I do for the same ?

    


    Here's my Dockerfile :

    


    FROM ubuntu:22.04

    


    #Specify a workdir, to better organize your files inside the container.

    


    WORKDIR /app

    


    #Update package lists and install required packages

    


    RUN apt-get update
RUN apt-get install -y wget software-properties-common gnupg2 winbind xvfb
RUN apt-get -qq update -y && apt-get -qq install -y —no-install-recommends \
build-essential cpp cpp-9 g++-9 gcc-9 gcc-10 g++-10 gcc-multilib gcc-mingw-w64
    
git-core
    
dkms
    
ffmpeg

    


    #Add Wine repository and install

    


    RUN dpkg —add-architecture i386
RUN mkdir -pm755 /etc/apt/keyrings
RUN wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
RUN wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/winehq-jammy.sources
RUN apt-get update

    


    RUN apt-get -qq update -y && apt-get -qq install -y —no-install-recommends
    
alsa-utils
    
libasound2-dev libdbus-1-dev libfontconfig-dev libfreetype-dev libgnutls28-dev libldap-common
    
libodbc1 libv4l-0 libjpeg-dev libldap2-dev libpng-dev libtiff-dev libgl-dev libunwind-dev libxml2-dev
    
libxslt1-dev
    
libfaudio-dev
    
libmpg123-dev
    
libosmesa6-dev
    
libsdl2-dev
    
libudev-dev
    
libvkd3d-dev \
libvulkan-dev

    


    RUN apt-get -qq update -y && apt-get -qq install -y —no-install-recommends
    
ocl-icd-opencl-dev
    
bison
    
schroot
    
debootstrap
    
flex

    


    RUN apt-get -qq update -y && apt-get -qq install -y —no-install-recommends
    
libmpg123-dev:i386
    
libosmesa6-dev:i386
    
libvulkan-dev:i386
    
ocl-icd-opencl-dev:i386
    
bison:i386
    
flex:i386

    


    RUN apt-get install -y linux-firmware

    


    #Install additional packages and configure Wine

    


    RUN apt-get install —no-install-recommends -y winehq-stable winetricks cabextract

    


    RUN winetricks msxml6

    


    #Cleanup unnecessary files

    


    RUN apt-get clean
RUN rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

    


    ENV WINEDEBUG=-d3d

    


    COPY app /root/catalyst
COPY overcooked_drm-free_20_566540 /root/overcooked_drm-free_20_566540
COPY startup.sh /root/startup.sh
RUN chmod 755 /root/startup.sh

    


    EXPOSE 9000

    


    CMD ["/root/startup.sh"]

    


    Startup.sh :

    


    # !/usr/bin/env bash

    


    sleep 1s
Xvfb :1 -screen 0 1024x768x24 &

    


    glxinfo -force-d3d9
ffmpeg -video_size 1024x768 -framerate 25 -f x11grab -i :1 -t 120 outputofscreen1.mp4 &

    


    DISPLAY=:1 wine /root/overcooked_drm-free_20_566540/Overcooked.exe -force-d3d11

    



    


    As of now I'm capturing the xserver stream using ffmpeg and storing the same in .mp4 file. Now I want to play the game on my local machine by using webRTC for connection and streaming.

    


    I have run the .exe in linux using wine and xvfb server and captured the stream using ffmpeg and stored in a .mp4 file.