
Recherche avancée
Autres articles (60)
-
Qu’est ce qu’un éditorial
21 juin 2013, parEcrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
Vous pouvez personnaliser le formulaire de création d’un éditorial.
Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...) -
Les images
15 mai 2013 -
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 (...)
Sur d’autres sites (7320)
-
Windows Pipes STDIN and STDOUT Parent Child proc communication IPC FFMPEG
15 octobre 2018, par Evren BingølI am writing a simple WINDOWS app which demonstrates piping,
I pass byte size data down to child proc, increment the value and send the char size data back to parent and loop until it reaches MAX_CHAR
Pretty much demonstration of "i++" with IPC.Parent Process
while(i<256){
bSuccess = WriteFile(g_hChildStd_IN_Wr, chBuf, sizeof(char), &dwWritten, NULL);
bSuccess = ReadFile(g_hChildStd_OUT_Rd, chBuf, sizeof(char), &dwRead, NULL); // IF THERE IS NO FFLUSH IT BLOCKS
}And in Child
while (i<256){
byte data=0;
fread(&data, sizeof(char), 1, stdout);
data++;
fwrite(&data, sizeof(char), 1, stdout);
//fflush(stdout); IF I DO NOT HAVE THIS PARENT BLOCKS ON READ
}First of all if I do not FFLUSH child proc stdout, the parent blocks on reading child’s stdout.
How can one run this code without having to fflush child’s stdout.
Closing the pipe after child’s first write is not an option as it is in a loop and needs to execute 256 times.
more generically I want the child to write N bytes to parent, parent read that N bytes do something and write back to child another N bytes and child does something with that N bytes and write to parent N bytes. This happens M times.
thing is I can not use fflush because my final goal is to use a child process that is not implemented by me.
My final goal is to pipe data to FFMPEG encode the data and read back from the stdin and do this over and over again with out having to fork a new FFMPEG process for each image frame but rather fork one instance of FFMPEG and pipe data in and read data out from it. And since I did not implement ffmpeg and I can not change the source code.
thanks
Thanks
-
how to put a raw char * to AVPacket
29 août 2014, par GodsppedI have a compressed image stored in a char * and I want to put it back to an AVPacket so that I can put it into a ffmpeg decoder. Can someone show how to do this ? Any sample or tutorial would be greatly appreciated.
Thanks in advance
-
How to output raw frequency (fft) data using ffmpeg / libavfilter
12 janvier 2020, par JeroenI’m trying to write libavfilter bindings to convert an arbitrary audio file into a raw frequency (spectrum) data to do subsequent audio analysis. Is there anything built-in ffmpeg or libavfilter to output binary frequency data, rather than a proper audio/video file ?
FFmpeg has a few built-in filters that perform an FFT such as afftfilt and showfreqs, however these filters always convert output back to video or audio. What I need is something like the
afftfilt
filter, but which dumps the raw FFT data, rather than recode it back to PCM.