
Recherche avancée
Autres articles (80)
-
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 (...) -
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 (...) -
XMP PHP
13 mai 2011, parDixit Wikipedia, XMP signifie :
Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)
Sur d’autres sites (9809)
-
record screen with high quality and minimum size in ElectronJS (Windows)
4 avril 2022, par Seyed Ali Roshanas I said in the title, I need to record my screen from an electron app.


my needs are :


- 

- high quality (720p or 1080p)
- minimum size
- record audio + screen + mic
- low impact on PC hardware while recording
- no need for any wait after the recorder stopped














by minimum size I mean about 400MB on 720p and 700MB on 1080p for a 3 to 4 hours recording. we already could achieve this by bandicam and obs and it's possible




I already tried :


- 

- the simple MediaStreamRecorder API using RecordRTC.Js ; produces huge file sizes, like 1GB per hour for 720p video.
- compressing the output video using FFmpeg ; it can take up to 1 hour for 3 hours recording
- save every chunk with 'ondataavailable' event and right after, run FFmpeg and convert and reduce the size and append all the compressed files (also by FFmpeg) ; there are two problems. 1, because of different PTS but it can be fixed by tunning compress command args. 2, the main problem is the audio data headers are only available in the first chunk and this approach causes a video that only has audio for the first few seconds
- recording the video with FFmpeg itself ; the end-users need to change some things manually (Stereo Mix), the configs are too complex, it causes the whole PC to work slower while recording (like fps drop ; even if I set -threads to 1), in some cases after recording is finished it needs many times to wrap it all up
- searched through the internet to find applications that can be used from the command line ; I couldn't find much, the famous applications like bandicam and obs have command line args but there are not many args to play with and I can't set many options which leads to other problems












I don't know what else I can do, please tell me if u know a way or simple tool that can be used through CLI to achieve this and guide me through this


-
Using ffmpeg to record screen returns corrupted file
8 août 2020, par odddollarI'm using ffmpeg and python to record my desktop screen. I've got it working so that when I input a shortcut, it starts recording. Then I use .terminate() on the subprocess to stop recording. When outputting to an mp4, this corrupts the file and makes it unreadable. I can output the file as an flv or avi and it doesn't get corrupted, but then the video doesn't contain time/duration data, something I need.


Is there a way I can gracefully stop the recording when outputting an mp4 ?
Or is there a way I can include the time/duration data in the flv/avi ?


import keyboard
import os
from subprocess import Popen

class Main:
 def __init__(self):
 self.on = False

 def main(self):
 if not self.on:
 if os.path.isfile("output.mp4"):
 os.remove("output.mp4")

 self.process = Popen('ffmpeg -f gdigrab -framerate 30 -video_size 1920x1080 -i desktop -b:v 5M output.mp4')
 self.on = True
 else:
 self.process.terminate()

 self.on = False

run = Main()
keyboard.add_hotkey("ctrl+shift+g", lambda:run.main())

keyboard.wait()



-
FFMPEG screen capture : adjust switches to synchronize video and audio
22 septembre 2017, par machine_1I don’t know much about ffmpeg library and I want to use it for screen capture. What I got basically is several commands from a
youtube
video and I have an issue, but first, let me list the commands :-
List devices :
ffmpeg -list_devices true -f dshow -i dummy
-
video and audio(microphone) :
ffmpeg -y -rtbufsize 200M -f gdigrab -thread_queue_size 1024 -probesize 10M -r 30 -i desktop -f dshow -channel_layout stereo -thread_queue_size 1024 -i audio="Microphone (Realtek Audio)" -c:v libx264 -r 30 -preset ultrafast -tune zerolatency -crf 25 -pix_fmt yuv420p -c:a aac -strict -2 -ac 2 -b:a 128k "vid_mic.mp4"
I am using the last one, and I noticed that the video in the output file is faster than the audio, that is to say, they are out of sync. How can I adjust the switches to resolve this issue ? I am using windows 10.
-