
Recherche avancée
Autres articles (103)
-
Librairies et binaires spécifiques au traitement vidéo et sonore
31 janvier 2010, parLes logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
Binaires complémentaires et facultatifs flvtool2 : (...) -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...) -
De l’upload à la vidéo finale [version standalone]
31 janvier 2010, parLe chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
Upload et récupération d’informations de la vidéo source
Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)
Sur d’autres sites (8763)
-
Evolution #4349 (Nouveau) : Faire l’ajout du necessite "openssl" dans paquet.xml
16 juin 2019, par Franck DHello :)
Pour que svp puisse faire la récupération des plugins ou du dépôt (je ne sais plus trop) il faut que la lib "openssl" soit activer sur le serveur https://www.openssl.org
C’est pour cela que je propose que l’on fasse l’ajout dans le paquet.xml en spip 3.2 et 3.3 du necessite "openssl" (je ne suis pas certain qu’il soit utile de mettre une version mini)
Cela serait intéressant, car actuellement, il n’y a aucun message qui l’indique !
De plus, php fournit également nativement la lib "sodium" depuis la version 7.2, cela évitera que des gens n’ayant que sodium d’activer ne comprennent pas pourquoi cela ne fonctionne pas ! -
Finding File Matches & Variable Assignment using a .BAT Script
6 octobre 2019, par A Person — batch-file, ffmpegI am trying to assign a file to a variable in a batch-file and then also assign another 2 files into anoter variable.
However, I am having an issue.
From research, I found how I can do the assigning but does anyone know how I can do the below.
From a folder or text file, (either is fine), find the
.m2v
video file and assign that toVar1
then find matching audio in.wav
and put that inVar2
and the third is also an audio.wav
with mathcing name and assign that toVar3
.The problem I am having is trying to find the matching
2
audio files to the video.The video file is named as :
PAV_PRG_13683Highc450277201906251802090353.m2v
Audio 1 is :
PAV_PRG_13683High01c450211201906251802090376.wav
Audio 2 is :
PAV_PRG_13683High00c450211201906251802090368.wav
The file name matches until it sees the word
High
. Everything afterHigh
is not needed, (it is just a random string), so trying to match is an issue.Is there a way to find the match by comparing everything before
High
.Also as I will be using the variable and putting them through ffmpeg to merge, is there way to do it so that when the
ffmpeg
command has completed, it moves to the next matching files and assigns them to the variable.The files are store in
2
folders, one folder has all the video files*.m2v
and another folder has all the*.wav
audio files in pairs of2
. Each video has exactly2
audios, (left right).is there any help on this subject, I have already come up empty in my research and have been checking for this over the last week spent almost 30 hours.
-
Google Lato Font Display discrepancies between platforms/software [closed]
5 juin 2024, par CRAIGUsing Google's Lato font with 400 weight, is giving me some inconsistent results between Photoshop/Web on MacOS and Linux Imagemagick & Linux ffmpeg.


I have printed out some text on my linux server using the font using both imagemagick (v6.9.10-68) and ffmpeg's (v6.0) drawtext feature and in both cases, I get some extra space between the T and the e. (Image below)


At first I was only testing ffmpeg and thought it was related to drawtext, but now that imagemagick is doing the same, I am thinking it may be somehow related to how the server is managing the font ?


I did download the exact same font to test on my Mac and installed it, but I still get the original photoshop results I was getting before. So I don't think it is inherently the font unless I missed a step. I did completely uninstall the font and then install the downloaded one to be sure.


However, the same word, font, font-size combo used in Photoshop and on the web does not produce the same space between the T and the e.


Here is an image I put together showing the results :




For reference, here is the imagemagick command :


convert -size 900x900 xc:black -font /fonts/Lato:400.ttf -pointsize 261.6 -fill white -gravity center -annotate +0+0 'Text' testoutput.png


And the ffmpeg command :


/usr/local/bin/ffmpeg -f lavfi -i color=c=black@0.0:s=953x953:r=30:d=5,format=rgba -filter_complex "drawtext=expansion=none:enable='between(t,0,5)':fontfile='/fonts/Lato\:400.ttf':fontcolor=0xffffffff:fontsize=294:text='Text':x=(w-text_w)/2+0:y=476.5-(max_glyph_a)+(294/2.8)" -copyts -threads 1 -c:v png -pix_fmt rgba -movflags faststart -r 30 -t 8 -y testoutput.mov