
Recherche avancée
Autres articles (51)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne 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 (...) -
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 (...) -
Changer son thème graphique
22 février 2011, parLe thème graphique ne touche pas à la disposition à proprement dite des éléments dans la page. Il ne fait que modifier l’apparence des éléments.
Le placement peut être modifié effectivement, mais cette modification n’est que visuelle et non pas au niveau de la représentation sémantique de la page.
Modifier le thème graphique utilisé
Pour modifier le thème graphique utilisé, il est nécessaire que le plugin zen-garden soit activé sur le site.
Il suffit ensuite de se rendre dans l’espace de configuration du (...)
Sur d’autres sites (5092)
-
getting black screen while trying to record dockerized lxde using ffmpeg
29 mars 2023, par Itzik.BI have created a docker image that has LXDE and TightVNCServer.


# Pull base image.
FROM ubuntu

# Install LXDE and VNC server.
RUN apt-get update
RUN apt-get install -y xvfb
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y lxde-core lxterminal tightvncserver
RUN rm -rf /var/lib/apt/lists/*
RUN touch /root/.Xresources
RUN touch /root/.Xauthority
COPY xstartup /root/.vnc/xstartup
RUN chmod +x /root/.vnc/xstartup
#Install Node.js & npm

# Define working directory.
WORKDIR /data

COPY * /data

RUN apt-get install -y ffmpeg



I am running this container using this command :


docker run -it --rm -v /data:/data -p 5901:5901 -e USER=root ubuntudsktp bash -c "vncserver :1 -geometry 1280x800 -depth 24 && tail -F /root/.vnc/*.log"



I am logging into this container using VNC and running this command to record the whole screen :


ffmpeg -f x11grab -i :1.0 output.webm



After the recording was over, I opened the video and I could see that the video is completely blank(black screen).


this is also my input when i try to run
glxinfo
:

# glxinfo | grep "OpenGL renderer"
Error: unable to open display



I have also tried to run it using :


DISPLAY=:1 ffmpeg -f x11grab -i :1.0 output.webm



And the results are the same.


What I am missing here ?


-
Scan video file to detect black page or color/bar tone
7 février 2023, par solcommandline script that will scan bar and tones using nodejs and ffmpeg


ffmpeg -i sample.mp4 -vf -loop 1 -i colorbars.jpg -filter_complex \ "[0:v][1:v]blend=difference:shortest=1,blackframe" \ -an -f null -



-
Create muted video and black screen video with FFmpeg
2 mars 2021, par user2685832I'm trying to use FFmpeg to generate the following from a local mp4 file :



- 

- A copy of the original video with no audio
- A copy of the original video with audio but without visuals (a black screen instead). This file also needs to be in mp4 format.







After reading through the documentation I am struggling to get the terminal commands right. To remove the audio I have tried this command without any success :



ffmpeg -i file.mp4 -map 0:0 -map 0:2 -acodec copy -vcodec copy




Could anyone guide me towards how to accomplish this ?