
Recherche avancée
Médias (1)
-
SWFUpload Process
6 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
Autres articles (51)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
Contribute to documentation
13 avril 2011Documentation is vital to the development of improved technical capabilities.
MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
To contribute, register to the project users’ mailing (...) -
Selection of projects using MediaSPIP
2 mai 2011, parThe examples below are representative elements of MediaSPIP specific uses for specific projects.
MediaSPIP farm @ Infini
The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)
Sur d’autres sites (6646)
-
lavc/libx265 : allow users to set closed GOP via generic lavc flag
1er juin 2018, par Gyan Doshi -
hwcontext_vaapi : Add option to set driver name
14 novembre 2018, par Mark Thompson -
List Directory of files to text file sorted by creation date but don't show creation creation date in file
25 mars 2019, par Oli ShingfieldI’ve been doing some research on this problem but I can’t get my head around it to suit my particular issue.
I would like to create a text file of a list of files in a directory, sorted by date but I don’t want the date to be shown in the file.
The code I have so far is :#create list of clips to merge
save_path = 'downloads/'
ignored = 'test.bat','mergeclips.bat','draw.bat'
onlyfiles = [f for f in listdir('downloads/') if isfile(join('downloads/', f)) if f not in ignored]
with open('downloads/clipstomerge.txt', 'w') as f:
for item in onlyfiles:
f.write("file '%s'\n" % item )This code ignores the bat files but lists everything else out to a text file in a format ready for ffmpeg to merge the clips. The format of the text file looks like this :
file 'ARandomClipName.mov'
file 'Butterflies.mov'
file 'Chickens.mov'At the moment the files are sorted alphabetically but I would like it to be sorted by creation date.
Does anyone have any ideas how I could modify my code to fix my problem ?