
Recherche avancée
Autres articles (53)
-
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 (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (12409)
-
avformat/mov : check that pcmC box is of the expected type
4 février 2023, par Jan Ekström -
How can I add chapters to .mp4 files using a python script ? [duplicate]
7 mars 2023, par RandomIs there an easy way to add chapters (i.e. : sections with titles) to .mp4 files using a python script ?


For example, the script could process a 3-minutes video and label the first minute as "Beginning", the second minute as "Middle", and the last minute as "End".


The only solution (link) I stumbled upon so far involves using a ffmpeg command on the command line to extract the original ffmetadata from the video file before appending the chapters to it and updating the video with it.


However, I would like the process to be automated using a python script (instead of having to use the command line each time I have to process a video).


-
how to give random name to the file in ffmpeg
18 mars 2020, par amit9867How can i give random name to a output file in ffmpeg.
I want to give the filename as current date_time (ex.2020-3-18-10-13-4.mkv).
I don’t want to give a fix name such as output.mkv.
import os
import subprocess
import tkinter as tk
import datetime
root = tk.Tk()
os.chdir(f'C://Users/{os.getlogin()}/desktop/')
def recording_voice():
global p
p =subprocess.Popen('ffmpeg -i video.avi -i audio.wav -c:v copy -c:a aac -strict experimental -strftime 1 "%Y-%m-%d_%H-%M-%S.mkv"' ,stdin=subprocess.PIPE)
rec_btn = tk.Button(text='Start merging', width=20, command=recording_voice)
rec_btn.pack()
root.mainloop()