
Recherche avancée
Autres articles (39)
-
(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 (...) -
La sauvegarde automatique de canaux SPIP
1er avril 2010, parDans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)
Sur d’autres sites (7995)
-
How can I capture and record only specific part of the desktop using ffmpeg ?
23 juillet 2018, par Benzi AvrumiThis is how I’m using now to record the desktop.
Using ffmpeg.exe : ffmpeg -f gdigrab -framerate 24 -i desktop -preset ultrafast -pix_fmt yuv420p out.mp4
Or using csharp :
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using System.Diagnostics;
namespace Ffmpeg_App
{
class Ffmpeg
{
Process process;
public void Start(string FileName, int Framerate)
{
process = new System.Diagnostics.Process();
process.StartInfo.FileName = @"D:\ffmpegx86\ffmpeg.exe"; // Change the directory where ffmpeg.exe is.
process.EnableRaisingEvents = false;
process.StartInfo.WorkingDirectory = @"D:\ffmpegx86"; // The output directory
process.StartInfo.Arguments = @"-f gdigrab -framerate " + Framerate + " -i desktop -preset ultrafast - pix_fmt yuv420p " + FileName;
process.Start();
process.StartInfo.UseShellExecute = false;
process.StartInfo.CreateNoWindow = false;
Close();
}
public void Close()
{
process.Close();
}
}
}And using it like this for example :
Ffmpeg fpeg = new Ffmpeg();
private void Start_Click(object sender, EventArgs e)
{
fpeg.Start("test.mp4", 24);
}
private void Stop_Click(object sender, EventArgs e)
{
fpeg.Close();
}This will record the entire desktop window to a video file.
But how can I record a specific rectangle area in the desktop ? For example to record only the right bottom corner rectangle size 10x10.So when I will play the video file I will see full screen video but only of the right bottom corner of the desktop.
-
How to use Intel QSV record screen based on ffmpeg
18 octobre 2020, par zondaI want to record my screen with ffmpeg.

I succeeded in the normal way.

ffmpeg -f gdigrab -framerate 30 -draw_mouse 1 -i desktop -c:v h264 -r 30 -preset ultrafast -tune zerolatency -pix_fmt yuv420p "record.mp4"



But I want use GPU record my screen now.

I'm trying to use Intel QSV on ffmpeg.

ffmpeg -f gdigrab -framerate 30 -draw_mouse 1 -i desktop -c:v h264_qsv -r 30 -tune zerolatency -pix_fmt yuv420p "record.mp4"



It does not work and show :

[h264_qsv @ 0000000000479080] Error initializing the encoder: invalid video parameters (-15)
Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height


I don't know what happened.


And I'm trying simple way.

ffmpeg -i test_input.mp4 -c:v h264_qsv -preset:v faster test_output.mp4

It does not work too.


My computer information :

acer notebook : TravelMate P243-MG

OS : windows 7 64bits

CPU : Intel i5-3210M

Graphics card : Nvidia GT-630M


Thanks in advance !


-
How to video-record selenium tests running headless inside a docker ?
1er juin 2021, par AlexI am running python-selenium tests inside a docker using a headless firefox.


During these tests I am able to make screenshots with the selenium method for screenshots - but can I use something to 'video' record the virtual display during the whole test (several test scripts with several test methods, with many webdrivers started and stopped).


So how can I video-record a complete test session ?


Addendum : I have found a webpage that describes exactly what I need : here. Unfortunately I get an error when I try to do the recording. Here are the commands I am doing :


xvfb-run --listen-tcp --server-num 44 --auth-file /tmp/xvfb.auth -s "-ac -screen 0 1920x1080x24" python seltest.py &
ffmpeg -f x11grab -video_size 1920x1080 -i 127.0.0.1:44 -codec:v libx264 -r 12 /tmp/behat_1.mp4



and the error is (for the second command) :


[x11grab @ 0x1d289c0] Cannot open display 127.0.0.1:44, error 1.
127.0.0.1:44: Input/output error