
Recherche avancée
Médias (91)
-
Chuck D with Fine Arts Militia - No Meaning No
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Paul Westerberg - Looking Up in Heaven
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Le Tigre - Fake French
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Thievery Corporation - DC 3000
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Dan the Automator - Relaxation Spa Treatment
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Gilberto Gil - Oslodum
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (35)
-
Taille des images et des logos définissables
9 février 2011, parDans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...) -
Configuration spécifique d’Apache
4 février 2011, parModules spécifiques
Pour la configuration d’Apache, il est conseillé d’activer certains modules non spécifiques à MediaSPIP, mais permettant d’améliorer les performances : mod_deflate et mod_headers pour compresser automatiquement via Apache les pages. Cf ce tutoriel ; mode_expires pour gérer correctement l’expiration des hits. Cf ce tutoriel ;
Il est également conseillé d’ajouter la prise en charge par apache du mime-type pour les fichiers WebM comme indiqué dans ce tutoriel.
Création d’un (...) -
Liste des distributions compatibles
26 avril 2011, parLe tableau ci-dessous correspond à la liste des distributions Linux compatible avec le script d’installation automatique de MediaSPIP. Nom de la distributionNom de la versionNuméro de version Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
Si vous souhaitez nous aider à améliorer cette liste, vous pouvez nous fournir un accès à une machine dont la distribution n’est pas citée ci-dessus ou nous envoyer le (...)
Sur d’autres sites (4257)
-
How to add transition effects like fade in, fade out, slide in, etc, to a video [on hold]
31 mai 2018, par Janhavi SavlaI am trying to add crossfade effect to a series of images ina folder and then create a video but I am getting an error :’tuple’ object has no attribute ’crossfadein’.
How should I resolve it ?
Here’s the code :from moviepy.editor import *
import os
delay =1
H = 720
W = 1280
output = "out.mp4"
path = "/Users/test/Desktop/Image_test_data/testdata2"
dirs = os.listdir( path )
ext = '.jpg'
clips=[]
images = [img for img in os.listdir(path) if img.endswith(ext)]
for image in images:
img=ImageClip(path+'/'+image).set_duration(2).resize(height=H,width=W)
clips.append(img)
final = concatenate([clip.crossfadein(delay) for clip in enumerate(clips)],
padding=-delay, method="compose")
final.write_videofile(output,fps=24, audio_codec="aac") -
Concatenate Movies from Python List using MoviePy or FFmpeg
24 septembre 2020, par Python_Learner_DKI have about 10,000 short videos that I am trying to make several longer videos from.



I've created these videos using MoviePy, but keep getting memory errors when trying to concatenate them back together.



In my code I have an outer loop going through each letter of the alphabet and getting the files that start with that letter.



From the returned video clips I get the length and and strip off the last 3.5 seconds (
outro_clip_duration
) of the video, and then add it into a Python listclips
.


Where I'm stuck is I then want to take this list of trimmed videos and make one long long video from it.



I have all the files, I just need to trim them, concatenate them, and then export them as one.



I've tried many times with different MoviePy attempts and keep getting MemoryErrors so I gave up and took a swing at an ffmpeg solution seen here but it is not working out either.



The latest version of the main part of my code is here :



clips = []
outro_clip = mpy.VideoFileClip('Logo_Intro_w_Stinger_Large.mp4')
outro_clip_duration = outro_clip.duration
for def_image in vid_list_long:
 video_item = mpy.VideoFileClip('F:/sm_My_Video/sm_%s.mp4' % def_image)
 video_item_duration = video_item.duration
 clips.append(ffmpeg_extract_subclip(video_item,0,(video_item_duration - outro_clip_duration), targetname = def_image))

# #Append the outro_clip to the end 
clips.append(mpy.VideoFileClip('Logo_Intro_w_Stinger_Large.mp4',target_resolution = (h,w),audio=True))
slided_clips = [CompositeVideoClip([clip.fx( transfx.crossfadein, transition_seconds)]) for clip in clips]
#added 'method = compose' NEED TO TEST - supposedly removes the weird glitches.
c = concatenate_videoclips(slided_clips, method = 'compose')
c.write_videofile('F:/Extended_Play/%s_Extended_Play_vid.mp4' % letter,fps=23.98)




My PC is Windows 10 and I have 32 GB of RAM running Anaconda and Python 3.


-
Playing Several Videos in a Row From a Browser
2 août 2014, par user18490It’s simple to play 1 video (using HTML5), but my question is, can you play 2 or more videos in a row.
Basically I’d like to let the user select as many clips as he/she wants, and let him/her play them in the browser (or potentially an external player such as FFplay, but the browser is my goal for now). It’s similar to the concept of playlist in Youtube, ... there should be no cut between two consecutive clips (which is the case right now with playlist in Youtube).
Is that possible with existing API/tools/techniques ?