PC SOFT
ONLINE REPOSITORY
FOR WINDEVWEBDEV AND WINDEV MOBILE

Home |  | Sign in | English US
FFcapture V2.00 (screen recorder)
Published by Patrice TERRIER
in the category Tools
New features
This is the FFcapture code WD26 update to version 2.00.

News:
The code has been extensively modified to detect the opening and closing of desktop applications in real time.
The "ExeRun" function of WINDEV has been replaced by "ProcessCreate" (GDImage) which allows you to modify the launch parameters of the FFmpeg console, it is now started in hidden mode which makes it undetectable.
The "PidToHandle" function allows you to find the handle of any window from its PID identifier.
You can adjust the alpha channel of any DWM thumbnail, which in the case of multiple thumbnails makes it easy to show which one is active.

About the .mp4 format used:
It is compatible with "Microsoft Media Foundation".
This allows you to use "Movies & TV" to view the videos that are saved in the "C: \ Users \ YourName \ Videos \ FFcapture" folder.


Other source codes:
The original version written in C ++ with Visual Studio 2019 is available on the private forum:
www.objreader.com
as well as the WL code which works WITH ALL THE VERSIONS of WINDEV, from 16.

Description
This project allows you to record a video capture by selecting a target window.
The target can be on the primary screen or on a secondary display.
Sound can be recorded simultaneously by selecting "microphone" or "stereo mix".

By default, the capture is saved in .mp4 format, in the "Video" user folder.
The film can be played with "FFplayer" version 1.03 (available on www.objreader.com) or any video player with the correct codecs (VLC for example).

The actual capture is performed by FFmepg.exe, a copy of which must be in the "Exe" folder of the application.
A combo box allows you to select the target, which is displayed as a DWM thumbnail.
The [Start capture] button starts recording.

For the duration of the capture, the application is minimized on the taskbar.
Recording stops as soon as the FFcapture window is restored.

The project works only in 64-bit mode.

A version compatible with all the WINDEV environments from 16 to 26 is available on www.objreader.com.
Illustrations, screen shots
none
none
User reviews
(To evaluate this resource, click 'Write a review')
Patrice TERRIER
Bonjour Michel

Pour vous inscrire sur mon forum privé vous devez envoyer votre demande à :
objreader@gmail.com
en précisant :
1 - Votre Nom et Prénom (les pseudos ne sont pas acceptés)
2 - Le Mot de Passe que vous utiliserez pour vous connecter.
Boller
Merci Patrice

Very good
DEFFRASNES Michel
Bonjour, je suis allé sur votre forum mais je suis completement nul en anglais ,je n'arrive pas a trouver le lien pour s'inscrire a votre forum , je voulais voir votre projet "FFCapture" ,mais en version 20 ,un coup de mainpourme guider serait le bienvenue.
Mercid'avance
Patrice TERRIER
Bonjour Pedrosao

Tout d'abord, merci pour le retour.

Je pensais que l'image de texte "lens.png" serait suffisamment explicite.

Quoi qu'il en soit, voici quelques explications supplémentaires :

FFcapture est un utilitaire basé sur FFmpeg pour enregistrer l'activité d'écran des applications s'exécutant sur le bureau.
Il effectue une détection d'ouverture/fermeture de processus en temps réel et met à jour la combobox en conséquence (avec le titre des applications).
Utilisez la combobox pour sélectionner l'application que vous souhaitez enregistrer (avec l'audio).
La session d'enregistrement ne démarre que lorsque vous appuyez sur le bouton "Démarrer la capture".
Dès que vous appuyez sur le bouton "capture", FFcapture se minimise dans la barre des tâches.
L'enregistrement s'arrête lorsque vous restaurez FFcapture à partir de la barre des tâches, ou vous lorsque vous fermez l'application cible.
La vidéo est enregistrée dans le dossier "C:\Users\UserName\Videos\FFcapture", sous le nom de :
NomClasseApplication.mp4
Le format vidéo utilisé est compatible avec le lecteur standard Windows 10 "Films et TV".
Il n'est pas nécessaire d'installer des codecs vidéo supplémentaires, car tout est inclus dans FFmpeg.exe.

Fonctionnalités supplémentaires:
S'il y a une demande pour cela, je pourrais ajouter
- Format vidéo Internet léger, utilisant .webm
- Capture de caméra vidéo en direct.
- Ajoutez une image ou un sprite animé GDImage par dessus le flux vidéo.
Remarque : Cette liste n'est pas limitative et peut être étendue sur demande.
Patrice TERRIER
Olá pedrosão

Em primeiro lugar, obrigado pelo feedback.

Achei que a imagem de texto "lens.png" seria autoexplicativa.

De qualquer forma, aqui estão mais algumas explicações:

FFcapture é um utilitário baseado no FFmpeg para registrar a atividade da tela de aplicativos em execução na área de trabalho.
Ele realiza a detecção de abertura / fechamento do processo em tempo real e atualiza o combo de acordo (com o texto da legenda dos aplicativos).
Use o combo para selecionar o que deseja gravar (junto com o áudio).
A sessão de gravação começa apenas quando você pressiona o botão "Iniciar captura".
Assim que você pressiona o botão "capturar", FFcapture minimiza-se na barra de tarefas.
A gravação para quando você restaura FFcapture da barra de tarefas ou quando fecha o aplicativo de destino.
O vídeo é salvo na pasta "C: \ Users \ UserName \ Videos \ FFcapture", com o nome de:
ApplicationClassName.mp4
O formato de vídeo usado é compatível com o reprodutor "TV e Filmes" padrão do Windows 10.
Não há necessidade de instalar codecs de vídeo extras, porque tudo está incluído no FFmpeg.exe.

Recursos extras:
Se houver uma demanda para isso, eu poderia adicionar
- Formato de vídeo leve da Internet, usando .webm
- Captura de câmera de vídeo ao vivo.
- Adicionar imagem GDImage ou sobreposição de animação sprite ao fluxo de vídeo.
Observação: esta lista não é limitativa e pode ser estendida sob demanda
Patrice TERRIER
Hello Pedrosao

First, thank you for the feedback.

I thought that the "lens.png" text image would be self explanatory.

Anyway here are some more explainations:

FFcapture is an utility build upon FFmpeg to record screen activity of applications running on the desktop.
It performs process open/close detection in real time, and update the combo accordingly (with the caption text of the applications).
Use the combo to select the one you want to record (altogether with audio).
The recording session starts only when you press the "Start capture" button.
As soon as you press the "capture" button, FFcapture minimize itself on the task bar.
The recording stops when you restore FFcapture from the task bar, or you when you close the target application.
The video is saved into the "C:\Users\UserName\Videos\FFcapture" folder, under the name of:
ApplicationClassName.mp4
The video format being used is compatible with the standard Windows 10 "TV & Movies" player.
There is no need to install extra video codecs, because everything is included into FFmpeg.exe.

Extra features:
If there is a demand for it, i could add
- Internet lightweight video format, using .webm
- Live video camera capture.
- Add GDImage image or sprite animation overlay to the video stream.
Note: This list i not limitative, and could be extended on demand.
pedrosao
Nice. Very usefull. If possible, please add a readme file with some help. Tanks
Patrice TERRIER
sCmdLine is string = StringBuild(" -f dshow -i audio=%1 -f gdigrab -itsoffset %2 -framerate %3 -offset_x %4 -offset_y %5 -video_size %6x%7 -i desktop -c:v libx264 -pix_fmt yuv420p -crf %8 -preset ultrafast %9", sAudioDevice, "00:00:0.6", "30", NumToString(x), NumToString(y), NumToString(w), NumToString(h), "20", sCaptureFile)
Patrice TERRIER
Pour relire une vidéo, capturée avec FFcapture, directement dans "Films et TV" de Windows,

veuillez utiliser dans la fonction "CreateCaptureProcess"
la ligne de commande suivante :

sCmdLine is string = StringBuild(" -f dshow -i audio=%1 -f gdigrab -itsoffset %2 -framerate %3 -offset_x %4 -offset_y %5 -video_size %6x%7 -i desktop -c:v libx264 -pix_fmt yuv420p -crf %8 -preset ultrafast %9", sAudioDevice, "00:00:0.6", "30", NumToString(x), NumToString(y)
ABOUT
RATING:
52(2)
DOWNLOADS:
117
UPDATED:
September 06, 2021
VERSION:
2.00
CONCERNS:
Minimum version: WD26
SIZE:
22.4 MB
OF SAME DEVELOPER