Recherche avancée

Médias (1)

Mot : - Tags -/framasoft

Autres articles (52)

  • 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

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

Sur d’autres sites (9907)

  • Is it a way to seek videos faster with ffmpeg while applying some filters ?

    21 mars 2023, par Peter.k

    I use parameters to cut a fragment from a video which in normal circumstances works well, but when I apply some filters, which may cause processors to be a bit busy, the seeking method seems to work very long. For example :

    


    ffmpeg -i "i:\longmovie.mp4" -vf "subtitles=longmovie.srt:force_style='FontName=Central European Time 13\:37,FontSize=20,PrimaryColour=&H00171771,OutlineColour=&HFFFFFFFF,BorderStyle=4,BackColour=&H33FFFFFF,Outline=5,Shadow=0,MarginV=10'" -b:v 1000k -ss 02:01:54.0 -to 02:02:13.0 -preset ultrafast e:/tt147+3.mp4


    


    I put those -ss and -to parameters at the end of the command, because it doesn't work in other places. It either produces very long video or skips the whole filter.

    


    Can I use some trick to make it faster. The problem is in jumping to the desired 02:01:54 time - the rest works ok.

    


  • avformat/smacker : Cosmetics

    29 mars 2020, par Andreas Rheinhardt
    avformat/smacker : Cosmetics
    

    This is mainly about improving legibility of the code and getting rid of
    overlong lines by using variables for st->codecpar instead of accessing
    the codecparameters via st->codecpar->.

    Also, some code has been moved to better fitting places.

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>

    • [DH] libavformat/smacker.c
  • How to round a square image and put it on video

    27 juillet 2022, par Erez git

    I've a video, videoPath.&#xA;I've a square image, squarePath.

    &#xA;

    This code places the squarePath on the video at a desired position to output, outputVideo.

    &#xA;

    final String[] cmd = new String[]{"-i", videoPath, "-i", squarePath, "-filter_complex", "[1:v][0:v]scale2ref=(300/300)*175:175[wm][base];[base][wm]overlay=(main_w-overlay_w)/2:(343)", "-pix_fmt", "yuv420p", "-c:a", "copy", "-y", outputVideo};&#xA;&#xA;int res = FFmpeg.execute(cmd);&#xA;

    &#xA;

    I would like to round the squarePath in the same command. Is it possible ?

    &#xA;

    This is the code to make it rounded as I found :

    &#xA;

    ffmpeg -i avatar.png -i mask.png -filter_complex [0]scale=400:400[ava];[1]alphaextract[alfa];[ava][alfa]alphamerge output.png&#xA;

    &#xA;

    but I don't understand how to merge these two commands.

    &#xA;