Recherche avancée

Médias (91)

Autres articles (105)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • Taille des images et des logos définissables

    9 février 2011, par

    Dans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
    Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce 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" ;

Sur d’autres sites (5361)

  • Screenshot of the Nexus One from adb ?

    23 avril 2015, par Marcus

    My goal is to be able to type a one word command and get a screenshot from a rooted Nexus One attached by USB.

    So far, I can get the framebuffer which I believe is a 32bit xRGB888 raw image by pulling it like this :

    adb pull /dev/graphics/fb0 fb0

    From there though, I’m having a hard time getting it converted to a png. I’m trying with ffmpeg like this :

    ffmpeg -vframes 1 -vcodec rawvideo -f rawvideo -pix_fmt rgb8888 -s 480x800 -i fb0 -f image2 -vcodec png image.png

    That creates a lovely purple image that has parts that vaguely resemble the screen, but it’s by no means a clean screenshot.

  • How to set the value of an arbitrary pixel in ffmpeg ?

    14 mai 2017, par Neb

    I want to modify the rgb value of each pixel inside ffmpeg.

    I need to implement the following function :

    A[x + expr_1][y] = expr_2

    where x and y are the current sampled pixel, A is the input frame whose pixel need to be modified and expr_1, expr_2 are two independent expressions.

    I tried using the geq filter but it seems there no way to set the value of a pixel other than from that currently sampled. For istance, the function p(x,y) only returns the value of the pixel at the specified location, but doesn’t allow to set a value for that pixel. In other word, ffmpeg seems allowing only something like :

    A[x][y] = expr

    Is there a way to tell ffmpeg to set the value of a specific pixel ?

    Thanks for your time.

  • Using ffmpeg to convert mp3 to mp4 - how to draw filename on generated video ?

    22 mai 2020, par akouris

    Using trial and error I am using the following script on an OSX, to bulk convert a whole folder full of mp3 files, to mp4, by looping a specific video file :

    



    for i in *.mp3; do /usr/local/bin/ffmpeg -stream_loop -1 -i /path_to_filename.mp4 -c copy -v 0 -f nut - | /usr/local/bin/ffmpeg -thread_queue_size 10K -i - -i "$i" -c copy -map 0:v -map 1:a -shortest "$(basename "$i" )".mp4 ; done; for f in *.mp3.mp4; do mv -v "$f" "${f/.mp3.mp4/.mp4}"; done


    



    How can I also print/add/burn the mp3 filename, without the extension (.mp3), as an additional video layer at the bottom of the generated video screen, and with the added difficulty of word wrapping the text if is too long ?