
Recherche avancée
Médias (1)
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 mai 2011
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (66)
-
Installation en mode ferme
4 février 2011, parLe 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 (...) -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ; -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...)
Sur d’autres sites (12046)
-
Concatenate a large number of videos with moviepy
10 décembre 2016, par Anis SouamesI’m using moviepy to create compilations automatically, I have around 20 mp4 videos with less than 2 mins each that are concatenated into one large video file using moviepy .
However I’m facing a lot of difficulty because each time I try to concatenate this large number of videos I get anOSError: Cannot Allocate Memory
Error . So the way I’m doing it is that I first create one part with 10 vids and a second part with 10 vids and then concat both of them. this method works however it’s very time and cpu consuming .Is there a straight forward way to concatenate a large number of videos ? My bot is running on an Ubuntu Server with 1GB of RAM and 10 GB of disk space . For 20 typical vids I have approxiamtely 60MB of vids to get processed and compiled . 1GB of ram should handle this without any problem. :
Here’s the code I’m using :
for video_name in videos_filename[0:len(videos_filename)/2]:
try:
print video_name
clip = mv.VideoFileClip(video_name, audio=True)
clip = clip.resize(width=720, height=480)
video_clips.append(clip)
except:
print "Error in adding clips.... Part 1"
pdb.set_trace()
final_clip = mv.concatenate_videoclips(clips=video_clips, method="compose")
finalFile = mv.write_videofile(someName, fps=60, codec="libx264")I’m sure that the
mv.concatenate_videoclips(clips=video_clips, method="compose)
is responsible for the error that I’m getting, How can I fix that and stop using a partial solution ? Should I quit moviepy and use another module ? Maybe ffmpeg directly ? -
FFMpeg create a video from a large number of images
15 décembre 2016, par Herman YanushSo I have a directory, where script ran by cron puts photos from my webcam. And I want to make a sort of timelapse. So i want to join this images to a video, one image = new frame (no delay).
So i have a jpg images filenamed
YYYY-MM-DD_HH_MM-webcamshot.jpg
And i want to join them into a mp4 video.
I found out that i can do it with FFMpeg for ex. with this command
ffmpeg -pattern_type glob -i '*.jpg' -c:v libx264 output.mp4
(from here)But unfortunately this only joins the first 600 (or a bit more) of 2.5K images in the directory.
So i want to know :
-
Can FFMpeg join more images (maybe unlimited amount) ?
-
Is it problem of using -pattern type glob instead of wildcard ?
-
If it can’t, how to split images into directories and make videos from these directories and then join or rename images to format like
img01729.jog
so wildcardimg%04.jpg
can be used ?
FFMpeg on Linux Mint (ubuntu 16.04).
-
-
wmavoice : truncate spillover_nbits if too large
1er janvier 2017, par Andreas Cadhalpunwmavoice : truncate spillover_nbits if too large
This fixes triggering the av_assert0(ret <= tmp.size).
The problem was reintroduced by commit
7b27dd5c16de785297ce4de4b88afa0b6685f61d and originally fixed by
2a4700a4f03280fa8ba4fc0f8a9987bb550f0d1e.Reviewed-by : Ronald S. Bultje <rsbultje@gmail.com>
Signed-off-by : Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>