
Recherche avancée
Autres articles (48)
-
XMP PHP
13 mai 2011, parDixit Wikipedia, XMP signifie :
Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...) -
Use, discuss, criticize
13 avril 2011, parTalk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
A discussion list is available for all exchanges between users. -
Installation en mode ferme
4 février 2011, parLe mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
C’est la méthode que nous utilisons sur cette même plateforme.
L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)
Sur d’autres sites (5089)
-
How to use rotate filter in FFmpeg ? [duplicate]
14 décembre 2020, par shubham rawatI have to overlay text at each second of the video and the text should be tilt. I am able to overlay text but can't rotate the text. The command I am using to overlay is.


ffmpeg -y -i gta5.mp4 -vf "[in]drawtext=text=\'"ALT"\': fontcolor=white: borderw=2: fontfile=Arial #Black:fontsize=w*0.04: x=(w-text_w)/1.5: y=120: enable=\'between(t,0,'+str(last_point)+')\',drawtext=text=\'"0"\': fontcolor=blue: borderw=2: fontfile=Arial #Black:fontsize=w*0.04: x=(w-text_w)/1.5: y=70: enable=\'between(t,0.00,10)\'[out]" -codec:a copy mos.mp4



I want to use the rotate filter in this command or any filter which can tilt the text by some degrees.
I know how to rotate one text as it is already answered in Overlaying text on video with required angle using FFMPEG but I am having issues with multiple texts at different times.


-
Dumping Subtitles From AVPicture into ppm Format File
23 janvier 2019, par Rishabh GargIn FFMPEG sofftware, AVPicture is used to store image data using data pointer and linesizes. It means all subtitles are stored in the form of picture inside ffmpeg . Now I want to dump subtitles from AVPicture in .ppm format file.
I have written this code to Dump subtitles with the help of data in AVPicture. May be my red,green,blue pixel data may be wrong in the loop.
w = ctx->sub->rects[0]->w;
h = ctx->sub->rects[0]->h;
line_size = ctx->sub->rects[0]->linesize[0];
int m,n;
FILE *fp = fopen("first.ppm", "wb");
(void) fprintf(fp, "P3\n%d %d\n255\n", w, h);
for (m = 0; m < h; ++m)
{
for (n = 0; n < line_size; ++n)
{
static int r,g,b,a,z;
uint32_t *pallet = ctx->sub->rects[0]->data[1];
z = ctx->sub->rects[0]->data[0][n];
b = pallet[z]&0xFF;
g = (pallet[z]>>8) & 0xFF;
r = (pallet[z]>>16)& 0xFF;
a = (pallet[z]>>24)& 0xFF;
fprintf(fp,"%d %d %d %d",b,g,r,a);
}
fprintf(fp,"\n");
fflush(fp);
}
(void) fclose(fp);The program is not dumping subtitles. Only 0 is coming in r,g,b,a by which subtitles are not dumping .
-
FFmpeg Drawbox Errors ?
12 mars 2021, par Alex GurrUsing ffmpeg version 4.3.2.


Command :


ffmpeg -y

 -i /usr/src/app/backgrounds/pink-blue.jpg
 -i files/fuzzy-octopus-5/path/file.webm
 -i files/fuzzy-octopus-5/path/file.webm
 -i /usr/src/app/logo.png
 -filter_complex "
 [0]drawbox=x=-140:y=(((H-th)/2) - 205):w=840:h=490:color=white@0.2:t=fill,
 drawbox=x=770:y=(((H-th)/2) - 205):w=840:h=490:color=white@0.2:t=fill[bg]; 
 ...



However I am getting the following errors ?


Error while processing the decoded data for stream #3:0
Failed to inject frame into filter network: Invalid argument
Error reinitializing filters!
[Parsed_drawbox_0 @ 0x564a87058e80] Failed to configure input pad on Parsed_drawbox_0
[Parsed_drawbox_0 @ 0x564a87058e80] Error when evaluating the expression '(((H-th)/2) - 205)'.
Last message repeated 5 times
[Parsed_drawbox_0 @ 0x564a87058e80] [Eval @ 0x7ffcf25dc650] Undefined constant or missing '(' in 'H-th)/2)-205)'



I have the right amount of brackets and this definitely works on my local machine (macOS). It's only throwing this error in our deployed AWS EC2 linux instance.


Any ideas ? Thanks !


Update : Tried replacing
th
withh
but get the same error