Recherche avancée

Médias (1)

Mot : - Tags -/biographie

Autres articles (37)

  • Les vidéos

    21 avril 2011, par

    Comme 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 2013

    Puis-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, par

    La 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 Rowe

    I'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>

    • [DBH] configure
    • [DBH] libavutil/arm/asm.S
  • Generate a .JSON file in After Effects or Premiere ?

    9 avril 2021, par Ryan

    I 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.

    &#xA;

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

    &#xA;

    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.

    &#xA;

    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.

    &#xA;

    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.

    &#xA;

    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.

    &#xA;

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

    &#xA;