
Recherche avancée
Médias (1)
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 mai 2011
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (25)
-
Modifier la date de publication
21 juin 2013, parComment changer la date de publication d’un média ?
Il faut au préalable rajouter un champ "Date de publication" dans le masque de formulaire adéquat :
Administrer > Configuration des masques de formulaires > Sélectionner "Un média"
Dans la rubrique "Champs à ajouter, cocher "Date de publication "
Cliquer en bas de la page sur Enregistrer -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ; -
Formulaire personnalisable
21 juin 2013, parCette page présente les champs disponibles dans le formulaire de publication d’un média et il indique les différents champs qu’on peut ajouter. Formulaire de création d’un Media
Dans le cas d’un document de type média, les champs proposés par défaut sont : Texte Activer/Désactiver le forum ( on peut désactiver l’invite au commentaire pour chaque article ) Licence Ajout/suppression d’auteurs Tags
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire. (...)
Sur d’autres sites (4881)
-
assign date and time to output file
3 avril 2014, par Maged E Williami am working on
ffmpeg
screen capture and i wan't it to start recording on start up, so i need to give the output video file a name that is different every time i start recording i did find this question very close to what i need, so i ended up with this commands in a batch file :@echo off
For /f "tokens=2-4 delims=/ " %%a in ('date /t') do (set mydate=%%c-%%a-%%b)
For /f "tokens=1-2 delims=/" %%a in ('time /t') do (set mytime=%%a%%b)
cd /d E:\ffmpeg\bin
ffmpeg -f dshow -i video="screen-capture-recorder"
-c:v libx264 -r 10 -crf 37 -pix_fmt yuv420p E:\%mydate%_%mytime%.flvnow i get an error in ffmpeg cmd : [NULL @ 0270d2c01] Unable to find a suitable output format for 'E :-04-2014_02:35'
E :-04-2014_02:35 Invalid argument
i know it because the special characters in
mytime
:
but i don't know how to change it. -
How to create event listener for ffmpeg video file creation in Electron main process
18 mai 2021, par RadespyWindows 10 Pro
Electron v12



I've created an Electron-React App and am using
execFile()
in arenderer process
to execute anffmpeg
command which results in a cropped video file being created in a temporary folder.

I need to read this video file (from the
Main
process) and convert to a Base64 string before sending to a database.

In the renderer process, I tried adding
on.("close" or "exit")
event listeners to perform reading the file after ffmpeg completes the cropping, but this doesn't work. The file is not created by the time the event fires.

I have now added an event listener to the renderer
BrowserWindow
to wait until the window is closed before attempting to read the video file. The only way this works is by having a sufficient delay between theexecFile()
command being executed and closure of the window (i.e. in order to make sure that the file has actually been created).

This works but is obviously not ideal as processing speed will be variable.


Is there a way to wait for the video file to be created and only then attempt to read the file ?


Any help will be much appreciated !


-
avcodec/hq_hqa : Check available date before allocating frame
9 avril, par Andreas Rheinhardt