
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (48)
-
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)
Sur d’autres sites (10815)
-
PortAudio pipe ffmpeg
11 juillet 2022, par DNSI would like to get the buffer from PortAudio and in real time (each seconds for example) to send it to ffmpeg to make it streamable. I'm trying to capture the microphone buffer to send it to ffmpeg.


Actually I get my PortAudio buffer :


std::vector<unsigned short="short"> captured(bufferSize * channels);
std::vector<unsigned short="short"> saveCaptured;

while (framesProcessed < sampleRate * durationSeconds)
{
 if ((paErr = Pa_ReadStream(stream, captured.data(), bufferSize)) != paNoError)
 {
 std::cout << "Pa_ReadStream failed: " << Pa_GetErrorText(paErr) << "\n";
 return 1;
 }
 for (const auto& value : captured) {
 saveCaptured.push_back(value);
 }
 framesProcessed += bufferSize;
}
</unsigned></unsigned>


How can I send the buffer to ffmpeg ? I read somewhere that pcm data are readable with ffmpeg but my portaudio buffer cannot be read.


I would like to know if I have to create a audio header to be understood by ffmpeg, can you confirm that I don't need any header ?


-
Is it possible if I don't want to mention exact name of input file when doing any ffmpeg conversion
22 septembre 2018, par MPSI have been using the following command to create a video from a still image and an audio file and it’s awesome. I love it very much.
ffmpeg -framerate 5 -loop 1 -i image.jpg -i audio.mp3 -c:v libx264 -c:a copy -shortest out.mp4
However, I still think it would be good if I don’t have to write a command to match the exact file name of either the picture or audio here.
What I do every day is I have to copy one image file and an audio file into my folder. Then I have to rename each image and audio file to something short like the ones above so it’s easy for me to write the command line like that.
But what if I have an image file name that is complicated like 8oerlujsfljsdl.jpg and I just want to start converting it right away without renaming it or have to write this full long name in command line ?
Is there such a thing as
-i *.jpg
which means any image file in this folder (I assure I will have only one image and one audio in the folder) will be used as input file and convert.Sorry for such a long question which could be unnecessary but I just don’t know how to explain my issue in short. I hope it could be understood.
-
How to join 3 movieclips with ffmpeg with an added overlay to the second one ?
16 avril 2014, par Alex KhvorovI want to add an overlay image to the clip and then add two short clips at the start and end of it