Recherche avancée

Médias (0)

Mot : - Tags -/masques

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (110)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (13666)

  • Ubuntu 16.04 python installing 3rd party module ffmpeg-3.0.2

    3 juin 2016, par vanoccupanther

    Have tried installing this package multiple times. Initially I installed it to a directory where I am running scripts that call it but I get an error message "ImportError : No module named ’ffmpeg’".

    I then tried putting it in one of my python paths listed in sys.path and again I got the same message.

    I then opened .bashrc and added the home directory path and still got the same error message when I ran my script.

    import sys
    import pandas as pd
    import numpy as np
    import matplotlib.pyplot as plt
    import ffmpeg

    from PIL import Image

    img = sys.argv[1] # ignore this

    im = Image.open(img) # ignore this
    imarray = np.array(im) # ignore this

    ffmpeg -i ('flame.avi') -f image2 -c:v mjpeg ('image-%d.jpg')
    avconv -i ('flame.avi') -vsync ('1') -r ('100') ('image%03d.tif')

    I’m really not sure where to go, what are my options here ? And what am I doing that is glaringly wrong ?

  • avformat/gifdec : switch to using gif parser

    20 mai 2023, par Paul B Mahol
    avformat/gifdec : switch to using gif parser
    

    Update fate test, more correct as last packet is not truncated.

    • [DH] libavcodec/gifdec.c
    • [DH] libavformat/gifdec.c
    • [DH] tests/ref/fate/gif-demux
  • ffmpeg moving text but only within Y limits

    28 décembre 2022, par Yoav Mor

    I need to add text to a video that will scroll from bottom to top ; I managed to do it with something similar to this :

    


    ffmpeg -i vid.mp4 -vf "drawtext=fontfile=tahoma.ttf:fontsize=20:fontcolor=green:x=(w-text_w)/2+20:y=if(lt(t\,2)\,480\,(h-400-(40*t))):textfile=scroll.txt:bordercolor=white:borderw=1" -c:v libx264 -y -preset ultrafast scrolling.mp4

    


    The original video is 960x540, so the text starts at position y=480 and, after 2 seconds, starts moving up.
That bit works fine, and the text "vanishes" at the top of the frame as it scrolls up.
What I need to achieve is for the text to scroll only within certain Y limits, imagine a virtual box around the text, so it scrolls up only from a certain Y position in the bottom (but not the very bottom) and disappears into a line on the top that isn't the top part of the frame.
Can that be achieved with ffmpeg ?

    


    EDIT : Maybe the trick here should be to put the text on top of a transparent video that's smaller in height, and then within the same command somehow merge this new video that has the text with the original video. Not sure how achieve that though.