
Recherche avancée
Médias (1)
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
Autres articles (56)
-
Encodage et transformation en formats lisibles sur Internet
10 avril 2011MediaSPIP transforme et ré-encode les documents mis en ligne afin de les rendre lisibles sur Internet et automatiquement utilisables sans intervention du créateur de contenu.
Les vidéos sont automatiquement encodées dans les formats supportés par HTML5 : MP4, Ogv et WebM. La version "MP4" est également utilisée pour le lecteur flash de secours nécessaire aux anciens navigateurs.
Les documents audios sont également ré-encodés dans les deux formats utilisables par HTML5 :MP3 et Ogg. La version "MP3" (...) -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
MediaSPIP : Modification des droits de création d’objets et de publication définitive
11 novembre 2010, parPar défaut, MediaSPIP permet de créer 5 types d’objets.
Toujours par défaut les droits de création et de publication définitive de ces objets sont réservés aux administrateurs, mais ils sont bien entendu configurables par les webmestres.
Ces droits sont ainsi bloqués pour plusieurs raisons : parce que le fait d’autoriser à publier doit être la volonté du webmestre pas de l’ensemble de la plateforme et donc ne pas être un choix par défaut ; parce qu’avoir un compte peut servir à autre choses également, (...)
Sur d’autres sites (8998)
-
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


-
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.
-
DirectShow IVideoWindow can't be wider than 4096px
25 mars 2019, par ulveskedI have a C# application which uses DirectShow to show play video clips. We recently tried to play a video that is 9600x1080 px and it would not show. DirectShow emits events that everything.
We use K-Lite codec pack (1295) and utilise ffdshow libx264 as codec and video renderer. Media Player Classic using the same renderer can play the clip just fine. The latest version of our application use DirectShow.NET while the older versions call DirectShow interfaces directly. Both old and new versions of our application have the same issues.
After some experimentation we have found out the following :
-
If the video window width is 4096px or narrower it will render video. If it is 4097 or wider it will not render any video. We tried playing a HD-clip and a 720-clip with the same results. They will play when the video window is 4096x1080 but not when the window is 4097x1080 or wider.
-
When changing resolution or graphic settings there are some flashes (a few frames) of the video when the settings is applied, so that would suggest that it is in fact playing the video but it displays only black.
Tested on Windows 10, 64 bit.
Any ideas of what the we can do to fix this ?
-