
Recherche avancée
Médias (91)
-
Chuck D with Fine Arts Militia - No Meaning No
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Paul Westerberg - Looking Up in Heaven
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Le Tigre - Fake French
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Thievery Corporation - DC 3000
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Dan the Automator - Relaxation Spa Treatment
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Gilberto Gil - Oslodum
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (53)
-
(Dés)Activation de fonctionnalités (plugins)
18 février 2011, parPour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...) -
Activation de l’inscription des visiteurs
12 avril 2011, parIl est également possible d’activer l’inscription des visiteurs ce qui permettra à tout un chacun d’ouvrir soit même un compte sur le canal en question dans le cadre de projets ouverts par exemple.
Pour ce faire, il suffit d’aller dans l’espace de configuration du site en choisissant le sous menus "Gestion des utilisateurs". Le premier formulaire visible correspond à cette fonctionnalité.
Par défaut, MediaSPIP a créé lors de son initialisation un élément de menu dans le menu du haut de la page menant (...) -
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.
Sur d’autres sites (9668)
-
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()); -
vdpau/h264 : request MAIN rather than BASELINE VDPAU profile for CBP
26 octobre 2014, par Rémi Denis-Courmontvdpau/h264 : request MAIN rather than BASELINE VDPAU profile for CBP
The H.264 Constrained Baseline Profile (CBP) is a subset of both the
Main Profile and the Baseline Profile. In principles, a hardware
decoder that supports either of those can decode CBP content. As it
happens, Main is supported by all VDPAU drivers, and Baseline is not.So favor map CBP to MP for now. Hopefully in the future libvdpau will
offer an explicit choice for CBP.This fixes bug 757.
Signed-off-by : Anton Khirnov <anton@khirnov.net>
-
C++/CLI FFmpeg av_read_frame returns a size but no data ?
26 novembre 2013, par tommedI have written some C code to access ffmpeg and wrapped it in a C++/CLI (.NET managed) class. The program fetches a live video stream and extracts frames and converts them to PNG files.
Unfortunately the images that are saved to disk are always black (opening them in Notepad++ shows that they are full of nulls).
I am using the assemblies aformat/codec-55.dll and the development headers and libs for compilation from ffmpeg-20131120-git-e502783-win64-dev. The whole project is compiled using Managed C++ (Cpp/cli) .NET 4.0 for 64-bit.
After some investigation the problem appears to be that av_read_frame fills the AVPacket->size value correctly, but the AVPAcket->data is always null. When the frame is finished (got==1) then the data for the AVFrame is just a matrix of nulls. :(
Here is the code :
Example code (sorry, but it didnt paste well into SO)I think the problem is at line 34 when the packet is returned like so :
Please, how can I get this to work ? What have I done wrong ?