Recherche avancée

Médias (1)

Mot : - Tags -/publier

Autres articles (89)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (8787)

  • Single Command to crop, animate (effects) and add images and texts in one video

    7 mars 2019, par Vivek Faldu

    I want to create a command where i can perform single operation.

    I have few commands which are working well individually

    Add Background Music Command

    String[] command = {"-i", inputPath, "-i",
    audioPath, "-filter_complex", "amix", "-preset",
    "ultrafast", "-vcodec", "libx264", outputPath};

    Multiple Image OverLay Command

    String[] command = {"-i", inputPath, "-i",
    audio.getAbsolutePath(), "-i", image1,
    "-i", image2, "-i", image3, "-
    filter_complex","[0][1]overlay=x=W/2-w/2:y=H/2-
    h/2:enable='between(t,2,10)'[v1];[v1][2]overlay=x=W/2-w/2:y=H/2-
    h/2:enable='between(t,10,20)'[v2];[v2][3]overlay=x=W/2-w/2:y=H/2-
    h/2:enable='gt(t,20)'[v3]","-map", "[v3]", outputPath};

    Image OverLay Command

    String[] command = {"-i", inputPath, "-i",
    image,"-filter_complex","overlay=(main_w-overlay_w)/2:
    (main_h-overlay_h)/2","-codec:a", "copy", outputPath};

    Cropping Command

    String[] command = {"-i", inputPath, "-filter:v", "crop=iw/2:ih:"
    + 0 + ":" + 0, "-c:a", "copy", outputPath};

    Effect

    String[] command = {"-i", inputPath, "-loop", "1", "-t", "2", "-
    i", image1, "-loop", "1", "-t", "2", "-i",
    image2, "-filter_complex", "
    [0]boxblur=enable='lt(t,2)+gt(t,10)'[vid];
    [1:v]format=rgba,fade=in:st=0:d=0.5:alpha=1,
    fade=out:st=1.5:d=0.5:alpha=1[img1];
    [2:v]format=rgba,fade=in:st=0:d=0.5:alpha=1,
    fade=out:st=1.5:d=0.5:alpha=1,setpts
    =PTS+10/TB[img2];[vid][img1]overlay=(main_w-overlay_w)/2:(main_h-
    overlay_h)/2[bkg];[bkg][img2]overlay=(main_w-overlay_w)/2:(main_h-
    overlay_h)/2", "-preset", "ultrafast", "-c:a", "copy", outputPath};

    But I don’t have any clue how to combine this all to one single command. Please help me out.

    Thanks in advance.

  • ffmpeg select highest quality video track and audio track in specific language from m3u8

    17 juin 2019, par smfs

    I have a bunch of .m3u8 files that contain video tracks in different resolutions and bitrates, and audio tracks in different laguages.
    I want to select the highest quality video stream and if available the audio track in a specified language.

    I know how to select the audio track, currently I use

    -map 0:m:language:en?

    like this

    ffmpeg -re -protocol_whitelist file,http,https,tcp,tls -i .\some_file.m3u8 -codec:a aac -c:v copy -f flv -map 0:m:language:en? rtmp://foo.com:1935/live/xyz

    With that I only stream audio if the specified audio language is available, or audio and video in the default configuration if it’s not.

    I want to stream the best video track (the one ffmpeg picks by default) in both cases.

  • Java Android Library relocates/realignes all centered texts

    9 août 2019, par Manuel Maurer

    Recently I noticed a very weird situation : Whenever I try to run a FFMpeg-Command with either https://github.com/tanersener/mobile-ffmpeg or https://github.com/bravobit/FFmpeg-Android, it changes the texts on all my other activities.

    I’m starting a thread, which saves an overlay to a video. Yes, I need to use FFMPEG, because I need it in some other places too. The strange thing is, that whenever I start the FFMPEG-Command, all the Texts in my app, that were centered before (textAlign->Center) are now aligned left.

    How can that even happen ?