
Recherche avancée
Médias (3)
-
MediaSPIP Simple : futur thème graphique par défaut ?
26 septembre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Video
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
-
GetID3 - Boutons supplémentaires
9 avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (70)
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...) -
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)
Sur d’autres sites (9124)
-
illegal text-relocoation (direct reference) to (global,weak) for architecture i386
7 janvier 2015, par OrangeDogSearching about shows this error in a number of mailing lists, but neither a general solution nor explanation is forthcoming.
What does
illegal text-relocoation (direct reference) to (global,weak)
mean and how can it be resolved.Specifically, I have built ffmpeg-2.5.2 using this script. When building XCode tests that use it, there is the following error :
ld: illegal text-relocoation (direct reference) to (global,weak)
_ff_h264_cabac_tables in <...>/myLib.a(cabac.o)
from _ff_h264_decode_mb_cabac in <...>/myLib.a(h264_cabac.o)
for architecture i386Does this require compiler/linker options to fix, or some kind of code change ?
-
Moviepy swap text mid video
22 mai 2022, par Runeater DaWizKidI want to write text to a video and have it change mid playback, this is what I've tried but it overlays each text on eachother and only displays the text for 5 seconds ?


def generateVideo(initial_text, secondary_text, tertiary_text):
 text_clip = TextClip(txt=initial_text, color='AntiqueWhite1', font='Arial-Bold', fontsize=100)
 text_clip = text_clip.set_position('center').set_duration(5)

 text_clip_secondary = TextClip(txt=secondary_text, color='AntiqueWhite1', font='Arial-Bold', fontsize=100)
 text_clip_secondary = text_clip_secondary.set_position('center').set_duration(10).cutout(0, 5)

 text_clip_tertiary = TextClip(txt=tertiary_text, color='AntiqueWhite1', font='Arial-Bold', fontsize=100)
 text_clip_tertiary = text_clip_tertiary.set_position('center').set_duration(15).cutout(0, 10)
 
 new_video = ColorClip(size=(1920, 1080), color=(0,0,0), duration=15)
 new_video.fps = 24
 
 new_video = CompositeVideoClip([new_video, text_clip, text_clip_secondary, text_clip_tertiary])

 new_video.write_videofile(codec='mpeg4', filename="test.mp4")
 new_video.close()



Anyone see what im doing wrong ?


Edit :
I've also tried the appropriate calls to subclip(pos1, pos2), ie


text_clip_secondary = text_clip_secondary.set_position('center').set_duration(15).subclip(5, 10)



With the same results


-
Moviepy python images and text with colour background video
7 janvier, par sjpatelI trying to create video like below using Moviepy python.?


Video -
https://assets.json2video.com/examples/marketing/slide-text-right.mp4


Is this possible using Moviepy python ? I can't use FFMPEG because it not supported on my server.


from moviepy.editor import *

# Load the image
img_clip = ImageClip("your_image.png")

# Set the duration of the image clip
img_clip = img_clip.set_duration(5)

# Resize the image if necessary
img_clip = img_clip.resize(height=1080) # Keep the height consistent

# Define your text
text = "Your Marketing Message"

# Create a TextClip
txt_clip = TextClip(text, fontsize=70, color='white')

# Set the duration of the text clip
txt_clip = txt_clip.set_duration(5)

# Animate the text to slide in from the right
def slide_in(t):
 return 'center', -1000 + 1500 * t # Adjust these values based on your needs

txt_clip = txt_clip.set_position(slide_in)

# Set background color
txt_clip = txt_clip.on_color(size=(1920, 1080), color=(0, 0, 0), col_opacity=1)

# Position the image on the left side
img_clip = img_clip.set_position(('left', 'center'))

# Position the text clip on the right side
txt_clip = txt_clip.set_position(('right', 'center'))

# Composite the two clips together
final_clip = CompositeVideoClip([img_clip, txt_clip])

# Set the duration of the final clip
final_clip = final_clip.set_duration(5)

# Save the video
final_clip.write_videofile("image_and_slide_text.mp4", fps=24)