
Recherche avancée
Autres articles (88)
-
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
-
Gestion des droits de création et d’édition des objets
8 février 2011, parPar défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;
-
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)
Sur d’autres sites (4236)
-
3 hidden Piwik features you likely don’t know, that will make you more productive
17 janvier 2017, par InnoCraft — CommunityAt Piwik and at InnoCraft, we always aim to make features as intuitive as possible. Having thousands of features in Piwik and having to find a balance between beginners and advanced users can sometimes be a challenge. Sometimes this even leads to building hidden features that are mainly targeted for power users. The list below shows three of them, did you know any of them yet ?
BTW : If you don’t have Piwik yet, you can try them on our Piwik Demo.
1. Search
When you press the letter “f”, it will activate the search bar in the top left. Once you start typing something, it will show matching reports. Say you want to view reports about “devices” but don’t remember exactly which category it is in, simply start typing “devices” and the matching entry will show up without even having to move the mouse.
The search bar also searches for matching websites and segments. Use the arrow up and down keys to select the entry you want and press enter to confirm the selection.
Say you don’t remember the name of a report but you know it is listed under the category “Visitor”, then start typing the name of the category and it will show all related reports.
2. Zen Mode
When you press the letter “z”, it will activate the Zen Mode which lets you focus on the reports and content by removing the header and left menu. To disable the Zen Mode, simply press “z” again.
This is especially useful in combination with the search bar mentioned above, as it enables you to quickly switch between reports, websites and segments even while menu and header are hidden.
3. Faster period change
Changing the displayed period is a task you likely perform quite often when analyzing reports. Usually, you would first select the period and then press the button “Apply” in the date selector. Instead, you can simply double click the name of the period and it will immediately load the selected period without having to click on the “Apply” button.
What are your hidden features in Piwik ?
Let us know by getting in touch with us or share it with us on Facebook or Twitter.
-
Evolution #4034 (Fermé) : Filtre ucfirst
28 septembre 2018, par cedric -A priori pas assez exhaustif pour mettre ça dans le core car il y a trop de cas particuliers dans les différents langages, et ça suppose aussi de gérer les cas où le texte commence par une balise html et pas un caractère… Donc un simple (#TEXTE ne marcherait pas :(
Et j’aurais tendance à me reposer sur le filtre majuscule du coup :
https://core.spip.net/projects/spip/repository/entry/spip/ecrire/inc/filtres.php#L1103Mais peut-être plus simplement faire ça en CSS
https://developer.mozilla.org/fr/docs/Web/CSS/::first-letterBref ça peut marcher en contexte de langue pas trop compliquée. A faire en plugin quelque part ?
Mais du coup je ferme pour le core -
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.