
Recherche avancée
Autres articles (66)
-
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Ecrire une actualité
21 juin 2013, parPré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 ) (...)
Sur d’autres sites (13756)
-
Got black screen when recording screen by x11grab device
5 août 2019, par shawmzhuI’m trying to record video from a firefox run by
xvfb-run
but it always output nothing in the video file except black screen.Here’s what I did :
start a firefox, open google.com :
$ xvfb-run firefox https://google.com
Then it will use the default display server number 99. I can see the display information by command
xdpyinfo -display :99
.A screenshot works very well by command :
$ xwd -root -silent -display :99.0 | xwdtopnm |pnmtojpeg > screen.jpg
Start using ffmpeg to record a video :
$ ffmpeg -f x11grab -i :99.0 out.mpg
When I play the video file
out.mpg
, there’s black screen all the time.Is there any parameter I missed ?
-
Got black screen when recording screen by x11grab device
30 janvier 2014, par shawnzhuI'm trying to record video from a firefox run by
xvfb-run
but it always output nothing in the video file except black screen.Here's what I did :
start a firefox, open google.com :
$ xvfb-run firefox https://google.com
Then it will use the default display server number 99. I can see the display information by command
xdpyinfo -display :99
.A screenshot works very well by command :
$ xwd -root -silent -display :99.0 | xwdtopnm |pnmtojpeg > screen.jpg
Start using ffmpeg to record a video :
$ ffmpeg -f x11grab -i :99.0 out.mpg
When I play the video file
out.mpg
, there's black screen all the time.Is there any parameter I missed ?
-
Rotation Video Overlay Over Image producing some weird output with the FFMPEG KIT for android by arthenica / ffmpeg-kit
25 octobre 2023, par Yash KalariyaI want to overlay some video on the image frame and rotate it and output it as the resultant video. However the command is running successfully but it is producing some weird output video with both the top and bottom portion with black layer, but however the rotation of the video over the image is successful but the top and bottom portion are getting black.


Here is my command that i have used with the ffmpeg kit for android by arthenica/ffmpeg-kit.


"-i " +inputImage+" -i "+inputVideo+" -filter_complex [1:v]format=rgba,rotate="+(float) Math.toDegrees(Double.parseDouble("-1.1073"))+"*(PI/180)[a] ;[0:v][a]overlay=252:103 "+ "-threads 5 -preset veryslow -q:v 3 "+resultVideo


"-i /data/user/0/com.codemenschen.lmsapp/files/images/1698225617748.jpeg -i /data/user/0/com.codemenschen.lmsapp/files/videos/Lmwy1698225601507.mp4 -filter_complex [1:v]format=rgba,rotate=-63.443615*(PI/180)[a] ;[0:v][a]overlay=252:103 -threads 5 -preset veryslow -q:v 3 /data/user/0/com.codemenschen.lmsapp/files/videos/Lmwy1698225618149.mp4"


Here is the link to the Image frame :
https://drive.google.com/file/d/1G6R7_E5prAE6QBRipKIgA7G6Imjy_KM3/view?usp=sharing


Here is the link to the Overlay Video : https://drive.google.com/file/d/1sYWt1Whu5TqaxSMHc6zpgGedEBaWuRqP/view?usp=sharing


Here is the link to the Output Video : https://drive.google.com/file/d/1cQ2G77bVqFc6e1vZJBXo0MHw7TyBiiVN/view?usp=sharing


Can someone help me with this ?


Here is the command that i have tried and its working but producing weird outputs with black portion :


"-i /data/user/0/com.codemenschen.lmsapp/files/images/1698225617748.jpeg -i /data/user/0/com.codemenschen.lmsapp/files/videos/Lmwy1698225601507.mp4 -filter_complex [1:v]format=rgba,rotate=-63.443615*(PI/180)[a] ;[0:v][a]overlay=252:103 -threads 5 -preset veryslow -q:v 3 /data/user/0/com.codemenschen.lmsapp/files/videos/Lmwy1698225618149.mp4"