Recherche avancée

Médias (1)

Mot : - Tags -/belgique

Autres articles (34)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

Sur d’autres sites (3880)

  • 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 ?

    


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

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