
Recherche avancée
Autres articles (53)
-
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 (...) -
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
Sur d’autres sites (8187)
-
FFmpeg - How to scale a video then apply a watermark ?
28 août 2016, par OlibanumIm trying to scale a video so that it is always 512 wide where the height changes in proportion to the original video.
Once scaled, I then want to apply a watermark/overlay to the video, therefore the video will scale but the watermark wont.I am able to achieve each of these separately using the following filters :
Scale
-vf "scale=512:-1"
Watermark
-vf "movie=watermark.png [watermark]; [in][watermark] overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2 [out]"
They work successfully on their own.
However when trying to combine the two, Im having a bit of trouble.
Having both as parameters of course does not work as one will override the other.
Ive tried :
-vf "scale=512:-1,movie=watermark.png [watermark]; [in][watermark] overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2 [out]"
my thinking was that the scale would be applied first then the watermark but all I get is an error
Too many inputs specified for the "movie" filter.
Error opening filters !
Then changing the , to a ; resulted in :
Simple filtergraph ’scale=512 :-1 ;
movie=watermark.png
[watermark] ; [in][watermark]
overlay=(main_w-overlay_w)/2 :(main_h-overlay_h)/2 [out]’ does not have
exactly one input and output.Error opening filters !
I presume I need to do something more with filterchains but Im struggling to figure it out.
Any ideas anyone ?
Many thanks in advance.
-
vp9 : initial attempt at a idct_idct_4x4 12bpp x86 simd (sse2) impl.
12 octobre 2015, par Ronald S. Bultjevp9 : initial attempt at a idct_idct_4x4 12bpp x86 simd (sse2) impl.
The trouble with this function is that intermediates overflow 31+sign
bits, so I’ve added some helpers (that will also be used in 10/12bpp
8x8, 16x16 and 32x32) to make that easier, basically emulating a half-
assed pmaddqd using 2xpmaddwd. It’s currently sse2-only, if anyone sees
potential in adding ssse3, I’d love to hear it. -
ffmpeg : Duplicate output and stream raw/no compression video/webcam to localhost without latency
23 juin 2014, par Ralf AndersonI want to stream a video locally, webcam which I want to duplicate to be precise, but I’m having trouble doing this without any latency.
I can directly access the camera with ffplay...
ffplay.exe -f dshow -i video="ManyCam Virtual Webcam"
This gives me no (noticeable) latency. When I stream it to the localhost like
ffmpeg.exe -f dshow -i video="ManyCam Virtual Webcam" -r 25 -vcodec mpeg2video -preset ultrafast -threads 0 -q 5 -f mpegts udp://127.0.0.1:33333
though, I get a notable latency on ffplay and it’s definitely buffering too. I don’t know if the delay purely comes from buffering or if it’s the encoding. Obviously I want an instant display with no caching/buffering/latency like I get when directly accessing the webcam.
Is it the parameters (I’ve tried quite a few settings and codecs besides this, but no luck) ? Is it the player ?
No encoding at all would be fine too. ffmpeg says, that the webcam delivers
Stream #0:0: Video: rawvideo, bgr24, 640x480, 29.97 tbr, 10000k tbn, 29.97 tbc
which I can display with ffplay. What would be the best way to duplicate the webcam feed ? Or can I stream the raw video to the localhost (with the tee muxer) and if, how do I correctly set this up and acces it again with e.g. ffplay ? I had no luck yet streaming raw video.
Just any solution that allows me to locally have two processes access the data from the webcam would work.