
Recherche avancée
Médias (16)
-
#7 Ambience
16 octobre 2011, par
Mis à jour : Juin 2015
Langue : English
Type : Audio
-
#6 Teaser Music
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#5 End Title
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#3 The Safest Place
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#4 Emo Creates
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#2 Typewriter Dance
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
Autres articles (69)
-
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)
Sur d’autres sites (7865)
-
Starting and stopping a system command in C++ based on whether the main program is running
3 juillet 2018, par zachI’m writing a program and I want to use ffmpeg’s x11grab to record the users actions on screen while they interact with the program. I am able to set up the system call to ffmpeg, but I’m not sure how I get it to stop once the program has finished running ?
Ideally, I would like for the user to hit start (which begins the recording), interact with the main part of the program, hit end, and then have a video file of their session placed somewhere.
Here’s the code I have so far. This just finds the screen resolution, then calls ffmpeg’s x11grab.
QRect screen = QApplication::desktop()->screen(QApplication::desktop()->primaryScreen())->geometry();
int width = screen.width();
int height = screen.height();
std::string resolution = std::to_string(width) + "x" + std::to_string(height);
std::string record_command = "ffmpeg -f x11grab -s -r 30 -i :0.0 -qscale 0.1 -vcodec huffyuv grab.avi";
//insert screen resolution into bash command
record_command.insert(21, resolution);
std::cout << record_command;
//bash command to record
system(record_command.c_str()); -
FFMPEG : Creating video using drawtext along with word wrap and padding
11 octobre 2022, par Chaitanya SaiI'm working to create a video from text with drawtext filter. Output video i can see the text is overflowing instead of coming in new line.



Is there any way i can archive word wrapping and also set the internal padding to video ?



Below is the snippet I'm using to generate video from text



ffmpeg.exe -f lavfi -i color=c=white:s=640x480:d=5.396 -vf "[in] drawtext=fontfile=font.ttf:fontsize=20:fontcolor=black:x=0+0*print(tw):y=0+0*print(th):text='this is new whiteboard te':enable='between(t,6.634,6.818)',drawtext=fontfile=font.ttf:fontsize=20:fontcolor=black:x=0+0*print(tw):y=0+0*print(th):text='this is new whiteboard testing':enable='between(t,0.0,2.032)',drawtext=fontfile=font.ttf:fontsize=20:fontcolor=black:x=0+0*print(tw):y=0+0*print(th):text='this is new whiteboard testing no padding and the text is overflowing from the video frame check this need to acheve word wrapping':enable='between(t,2.032,5.396)'"[out] -c:v libx264 -t 30 -crf 30 ../output.mp4






-
Add unit tests for word-wise CRC16 functions
20 mai 2018, par Robert Kausch