
Recherche avancée
Médias (1)
-
Richard Stallman et le logiciel libre
19 octobre 2011, par
Mis à jour : Mai 2013
Langue : français
Type : Texte
Autres articles (37)
-
Les vidéos
21 avril 2011, parComme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...) -
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 -
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)
Sur d’autres sites (4908)
-
mp4 generated by moviepy no sound with tweepy
2 décembre 2020, par Will RoweI'm using MoviePy to edit a mp4 file and then Tweepy to tweet out the video.


Here's what I have currently :


clip = VideoFileClip("c:/users/.../UNIQUENAME2.mp4").subclip(8) #cut off the first 8 seconds of the clip
clip.write_videofile("c:/users/.../UNIQUENAME2-finished.mp4")
clip.close()
highlightz = TweetMachine()
highlightz.makeAVidTweet('c:/users/.../UNIQUENAME2-finished.mp4','audio test')



Here's my TweetMachine :


def makeAVidTweet(self,fileLoc,text):
 upload_result = self.api.media_upload(fileLoc)
 time.sleep(120) #wait just in case things are still processing
 media_ids = [upload_result.media_id_string]
 self.api.update_status(status=text, media_ids=media_ids)



Currently, the video is cut fine and UNIQUENAME2-finished.mp4 is constructed correctly such that if I open the file on my computer, the video is cut correctly and the sound works. However, the video posted on Twitter has no sound.


I'm assuming it's some sort of issue with how MoviePy makes the mp4 file and Twitter not liking something with the sound settings, but I'm pretty unfamiliar with mp4 stuff and I couldn't find anything about it on the MoviePy or Tweepy docs.


Any tips or thoughts would be greatly appreciated !


Stream info from VLC :
Codec : MPEG Audio layer 1/2 (mpga),
Type : Audio,
Channels : Stereo,
Sample Rate : 44100 Hz,
Bits per sample : 32,
Bitrate : 128 kb/s


-
arm : Check for the .arch directive in configure
3 mai 2017, par Martin Storsjöarm : Check for the .arch directive in configure
When targeting windows, the .arch directive isn’t available.
So far, when building for windows, we’ve always used gas-preprocessor,
both when using msvc’s armasm and when using clang. Lately, clang/llvm
has implemented the last missing piece (altmacro support) for building
our assembly without gas-preprocessor. This means that we now build
for arm/windows with clang without any extra compatibility layer.Signed-off-by : Martin Storsjö <martin@martin.st>
-
Generate a .JSON file in After Effects or Premiere ?
9 avril 2021, par RyanI am working on a video template app where users can pick a video template and add their images as background layer and render a .mp4 video.


Each template which I upload to the server is a Zip file which consists of 4 elements
1 : Background Video
2 : Source Images
3 : Output Video
4 : .JSON file


I am a motion designer and not good with code, however when I check the .JSON file, I can tell that its holding some sort of animation data, I can see the text pointing towards the source images and the background video and a bunch of other text data which I think is basically animating the source images.


Now being a motion designer, I can make some really nice animation overlays and simply replace it with the BACKGROUND VIDEO element and yes it works. And I can make as many animation templates I want using this one .JSON file.


However (This is where the limitation starts), even though I can have really exciting overlay animations, the base source images are just 3 images fading in and out, and this data is coming from the .JSON file.


What would be really nice, is if I could some how create/generate my own .JSON files, this way I can have the source images animate however I like (Position, Scale, Rotate) but I have no clue how this .JSON can be generated.


This link has the main files which make up one template. You can check the .JSON file and how it works with other elements.
One Template Files