
Advanced search
Other articles (50)
-
Les tâches Cron régulières de la ferme
1 December 2010, byLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
Installation en mode ferme
4 February 2011, byLe 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 (...) -
Multilang : améliorer l’interface pour les blocs multilingues
18 February 2011, byMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.
On other websites (7171)
-
Node Video Transcoder - File System [closed]
12 April 2021, by mike varelaI'm building a node video transcode system using fluent-ffmpeg and express. I'm investigating RabbitMQ as well but in the meantime I'm trying to find out if I'm able to transcode on the LAN without having to upload a file. Basically, this express server will sit internally in our company. Users will hit this via internal IP and a browser. Ideally they could click a button to select a video and then open a path browser to choose the location of the processed file and hit go. In this scenario, they wouldn't need to upload the video to the server for processing and then download the processed version.


I'm wondering if this is possible?


-
Revision 4305dd4778: Avoid calls to get_coef_band(). Use value already computed value to save of cal
9 May 2013, by Paul WilkinsChanged Paths:
Modify /vp9/decoder/vp9_detokenize.c
Avoid calls to get_coef_band().Use value already computed value to save of calls
Change-Id: I42836698e59c116416ccd75395bebdd11dd609fb
-
How can I save local video file to django FileField?
11 January 2021, by Nina deRossiI create a local video file (.mp4) by adding a logo to an existing video with the following code:


logo_path = os.path.join(MEDIA_ROOT, 'logo.png')

 logo = (mp.ImageClip(logo_path)
 .set_duration(video.duration)
 .resize(height=50) # if you need to resize...
 .margin(right=8, top=8, opacity=0) # (optional) logo-border padding
 .set_pos(("right", "top")))

 video_path = os.path.join(MEDIA_ROOT, 'test7.mp4')
 audio_path = os.path.join(MEDIA_ROOT, 'temp-audio.m4a')

 final = mp.CompositeVideoClip([video, logo])
 final.write_videofile(video_path, codec='libx264',
 audio_codec='aac',
 temp_audiofile=audio_path,
 remove_temp=True
 )



I want to save the new video to a FileField of my model.
Here is the code:


f = open(video_path)
 flick.videoWithWatermark.save("videoWithWaterMark.mp4", File(f))



I keep getting the error:
'ascii' codec can't decode byte 0xd1 in position 42: ordinal not in range(128)


How can I save the video to a FileField?