
Recherche avancée
Autres articles (111)
-
La sauvegarde automatique de canaux SPIP
1er avril 2010, parDans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...) -
Script d’installation automatique de MediaSPIP
25 avril 2011, parAfin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
La documentation de l’utilisation du script d’installation (...) -
Contribute to a better visual interface
13 avril 2011MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.
Sur d’autres sites (7059)
-
streaming from generated images using ffmpeg / vlc / live555
10 octobre 2019, par PavelFor the life of me I cannot get this to work correctly.
The idea is : simple python script that loads an image from a url (different every time) and passes it to ffmpeg, eg :
python fetch.py | ffmpeg -f image2pipe -framerate 1 -i pipe:.jpg -c:a copy -c:v libx264 -r 5 -b 500000 -s 600x480 ../live555/out.264
What I really need is to make this work with some sort of rtsp server.
So far a sort of working approach was to use live555MediaServer that is running on the same server and pretty much streams thatout.264
file.Why I don’t like this approach :
a. connecting to rtsp stream using vlc works but it’s very unstable (video stops) and there are not errors or anything, if I click play it resumes.
debug :
live555 debug: RTSP track Close, 0 track remaining
It seems like it just streams whatever the file has at that moment of time and does not do it continuously.b. I don’t like the "file" approach. Eg. ffmpeg is creating an
out.264
file which grows. Ideally it would simply send the stream to the RTSP server via some protocol.c. live555MediaServer just sucks
It looks like there is a way to run vlc server on my server as well, but I cannot figure out how to make ffmpeg feed the vlc server ?
Any suggestions ?
-
Output image twice in ffplay
2 mai 2024, par Sun TzunI need to show two similar images from a webcam side-by-side.
I can achieve this with this piped command, but it runs with a few seconds latency :


ffmpeg -f dshow -i video="Logi C310 HD WebCam" -filter_complex "[0:v][0:v]hstack=inputs=2[v]" -map "[v]" -f matroska - | ffplay -



I'd prefer to do the same in just ffplay.


I'd also like to have the resulting image cropped to a square size or to the size of the original image (like if the picture from webcam gets divided by half and the halfs took each other places).


What I need in this end is a tool that helps to align the camera parallelly to the captured object, so any wrong angle would be perfectly visible on video if two opposite sides of the picture are placed alongside.


PS. My platform is Windows 11.


-
ffmpeg : concat two clips vertically, but upper one should be bigger
19 juillet 2022, par Rittari771I have two 1920x1080 clips. I know how to concat two clips vertically (the clips share equally the space half, 50% upper clip - 50% bottom) => what would i need to do to get a ratio like 65% 35% ?
So the upper clip would take 65% of the screen space vertically, then the lower bottom clip would fill the rest 35% ?


this is my current code to concat the clips vertically.


ffmpeg -i clip_top.mp4 -i clip_bottom.mp4 -filter_complex "vstack=inputs=2" -vsync 2 final_clip.mp4



here is the same explanation, but with a picture : enter image description here