
Recherche avancée
Médias (1)
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
Autres articles (53)
-
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang 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. -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
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 (10217)
-
moviepy write_videofile giving error on remote host
30 juillet 2021, par HadiH2oI'm trying to put a logo on a video using the moviepy module
This module works properly on my PC(windows) but gives an error when I run the following code on the remote host I bought(linux).


code :


import random
import moviepy.editor as mp
import requests


def video_watermark(url):
 corners = [("right", "top"), ("left", "top"), ("right", "bottom"), ("left", "bottom")]
 response = requests.get(url)
 with open("media/videos/raw_video.mp4", "wb") as file:
 file.write(response.content)

 video = mp.VideoFileClip("./media/videos/raw_video.mp4")

 logo = (mp.ImageClip("./media/bold_logo.png")
 .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(random.choice(corners)))

 final = mp.CompositeVideoClip([video, logo])
 final.write_videofile("./media/videos/ready_video.mp4")

video_watermark("url")



error :


OSError: [Errno 32] Broken pipe
 
MoviePy error: FFMPEG encountered the following error while writing
file ./media/videos/ready_video.mp4:
 
b'Error initializing output stream 0:0 -- Error while opening encoder
for output stream #0:0 - maybe incorrect parameters such as bit_rate,
rate, width or height\n'



please help me to fix this problem


-
h265 and CRF in a specific region
11 juin 2021, par D.GiunchiI need to create an h265 with a region that is compressed with a different CRF.


I was thinking of generating 2 compressed videos from the original using h265 with different CRFs and then blending each frame. The final step is to create an h265 video from the blended frames using the min CRF between the two. Does it make sense or there is a simpler and better way ?


-
Revision 3050 : Un peu moins de log... On invalide mieux... Une erreur sur un lire_config ...
10 mars 2010, par kent1 — LogUn peu moins de log... On invalide mieux... Une erreur sur un lire_config d’emballe_medias qui au final ne devrait plus être là (dans un pipeline post_traiter certainement)