
Recherche avancée
Autres articles (41)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Installation en mode ferme
4 février 2011, parLe mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
C’est la méthode que nous utilisons sur cette même plateforme.
L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...) -
La sauvegarde automatique de canaux SPIP
1er avril 2010, parDans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)
Sur d’autres sites (6745)
-
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() -
I am a newbie in FFmpeg and I am trying to use FFMPEG to play RTSP stream on Android, but it will play slower and slower
8 mai 2020, par AjaxI am a newbie in FFmpeg and I am trying to use FFMPEG to play RTSP stream on Android, but it will play slower and slower. The picture of my player and video source will increase with the time difference. The video are not synchronized. I'm pulling on the local area network。
The longer it is played, the more the picture of the video source will be. The more it cannot automatically return to the real-time picture like MediaCode's hardware decoding.The decoded picture is in slow motion, and it will freeze after a while.。What causes this ? How can i optimize it。
this is my code



2020-5-8/Problem has been solved