
Recherche avancée
Autres articles (87)
-
Organiser par catégorie
17 mai 2013, parDans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...) -
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 (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (9547)
-
how do I apply watermark on multiple videos in the current directory with ffmpeg
22 octobre 2017, par Ariane Martins Gomes Do RegoLinux + ffmpeg
I have a folder with 300 videos. I need to apply the same watermark on all these videos, so in the folder I have 300 video files + 1 png file which is my watermark, how do I do this without the system asking to overwrite the files ? how to generate a different name for each output file ? that is at least video1.mp4 video2.mp4 etc...
ffmpeg -i video.mp4 -i watermark.png -filter_complex 'overlay=10:10' output.mp4
I found something like that.
It works without errors, but asks if I want to replace the previous video with the next video to be tagged :
#!/bin/bash
for f in *.mp4; do ffmpeg -i "$f" -i watermark.png -filter_complex 'overlay=10:10' -strict -2 "$~nf-360p.mp4"; doneHow do I generate a command that has the flag that in each mp4 file processed to apply the watermark of the current directory, gets a different name so that the output files were not overwritten ?
Thanks.
-
Creating an FFMPEG command for setting all videos to the same size and adding an watermark ?
23 avril 2024, par DigiDuncanI'm writing a Java app that uses at some point an ffMPEG command in the console. This command needs to do the following :


- 

- Take the input file from
DDTV/episodes-unconverted/example.[mpg/avi]
- Make it 1280x780. (If it's 4:3, add pillar boxes, if it's 16:9... just you know do nothing I guess)
- Add the watermark
DDTV/DDTVwatermark.png
at 10px from the bottom, and 10px from the right, at 33% transparency to the video. - Output it to
DDTV/episodes-converted/example.mpg










- Take the input file from
-
Raspivid & Avconv add watermark and save .mp4 from Youtube output stream
25 octobre 2017, par walolinuxI have this ffmpeg command working with a USB webcam in my raspberry pi :
ffmpeg -thread_queue_size 512 -f v4l2 -video_size 1280x720 -i /dev/video0 -f lavfi -i anullsrc=cl=stereo:r=44100 -map 0:v -map 1:a -r 30 -aspect 16:9 -c:v h264 -preset veryfast -crf 25 -pix_fmt yuv420p -g 60 -maxrate:v 820k -bufsize:v 820k -profile:v baseline -c:a aac -b:a 128k -strict experimental -flags +global_header -vf "movie=logo.png [watermark]; [in][watermark] overlay=main_w-overlay_w-5:main_h-overlay_h-5 [out]" -f tee "[f=flv]rtmp://a.rtmp.youtube.com/live2/XXX|video.flv"
This command adds a watermark (logo), saves mp4 to disk and broadcast to youtube the stream. It is working, but my raspberry pi hangs because it gets out of memory (CPU and RAM).
This is why i have changed my USB webcam to raspicam 2.1.
Now i am trying to do the same but using raspivid and avconv. But this is the only command i have already managed to use :
raspivid -o - -t 0 -vf -hf -fps 30 -b 6000000 | avconv -re -ar 44100 -ac 2 -acodec pcm_s16le -f s16le -ac 2 -i /dev/zero -f h264 -i - -vcodec copy -acodec aac -ab 128k -g 50 -strict experimental -f flv rtmp://a.rtmp.youtube.com/live2/XXX
I am looking to replicate functionality but with raspicam 2.1.
Thanks.