
Recherche avancée
Autres articles (111)
-
Récupération d’informations sur le site maître à l’installation d’une instance
26 novembre 2010, parUtilité
Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...) -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
-
Ajouter notes et légendes aux images
7 février 2011, parPour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
Modification lors de l’ajout d’un média
Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)
Sur d’autres sites (11244)
-
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 ?