Recherche avancée

Médias (91)

Autres articles (48)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

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

  • 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 (10806)

  • How to mix 2 audio files into one in ffmpeg-go ?

    18 juin 2024, par princessluna

    Using ffmpeg-go, I am trying to trim and mix (overlay) two audio files together. Currently I have this code :

    


    func AssebmleAudio(music, effect string, userId int) {

    outputFilePath := filepath.Join(utils.GetRoot(), "users", fmt.Sprintf("%d", userId), "audio.mp3")

    musicStream := Trim(ffmpeg_go.Input(music), 60)
    effectStream := Trim(ffmpeg_go.Input(effect), 60)
    Mix(musicStream, effectStream).Output(outputFilePath).Run()

}

// Mixes specified user audio and vinyl audio asset
func Mix(music, effect *ffmpeg_go.Stream) *ffmpeg_go.Stream {
    return ffmpeg_go.Filter(
        []*ffmpeg_go.Stream{
            music,
            effect,
        },
        "amix",
        ffmpeg_go.Args{"inputs=2:duration=longest:dropout_transition=2"},
    )
}


func Trim(music *ffmpeg_go.Stream, duration int) *ffmpeg_go.Stream {
    return music.Trim(ffmpeg_go.KwArgs{"duration": fmt.Sprintf("%d", duration)})
}


    


    However, AssembleAudio while tested yields the following error :

    


    panic: encountered trim with multiple outgoing edges with same upstream label ; a 'split'' filter is probably required

    


    I found solutions for plain ffmpeg, I also found this question, but I have no idea how to do this in go.

    


  • FFmpeg command works locally but not on Azure Batch Service

    10 août 2018, par Elgert

    I have a command that generates a video with background and text on it with FFmpeg and would like to render it using Azure Batch Service. Locally my command works :

    ./ffmpeg -f lavfi -i color=c=green:s=854x480:d=7 -vf "[in]drawtext=fontsize=46:fontcolor=White:text=dfdhjf dhjf dhjfh djfh djfh:x=(w-text_w)/2:y=((h-text_h)/2)-48,drawtext=fontsize=46:fontcolor=White:text= djfh djfh djfh djfh djf jdhfdjf hjdfh djfh jd fhdj:x=(w-text_w)/2:y=(h-text_h)/2,drawtext=fontsize=46:fontcolor=White:text=fh:x=(w-text_w)/2:y=((h-text_h)/2)+48[out]" -y StoryA.mp4

    while the one generated programatically with C# and added as a task in batch service retursn failure :

    cmd /c %AZ_BATCH_APP_PACKAGE_ffmpeg#3.4%\ffmpeg-3.4-win64-static\bin\ffmpeg -f lavfi -i color=c=green:s=854x480:d=7 -vf "[in]drawtext=fontsize=46:fontcolor=White:text=dfdhjf dhjf dhjfh djfh djfh:x=(w-text_w)/2:y=((h-text_h)/2)-48,drawtext=fontsize=46:fontcolor=White:text= djfh djfh djfh djfh djf jdhfdjf hjdfh djfh jd fhdj:x=(w-text_w)/2:y=(h-text_h)/2,drawtext=fontsize=46:fontcolor=White:text=fh:x=(w-text_w)/2:y=((h-text_h)/2)+48[out]" -y StoryA.mp4

    The ffmpeg configuration works, and also the Pool as I’ve already tested it with simpler ffmpeg commands which had input and output files. This command doesnt have input file, maybe that is part of the problem ?

    Thank you

  • doc/html : fix styling issue with Texinfo 7.0

    8 novembre 2023, par Frank Plowman
    doc/html : fix styling issue with Texinfo 7.0
    

    Texinfo 7.0 produces quite different HTML to Texinfo 6.8. Without
    this change, enumerated option flags (i.e. Possible values of x
    are...) render as white text on a white background with Texinfo 7.0
    and are unreadable. This change removes a style for the selector
    `.table .table` which causes the background to turn white for these
    elements. As far as I can tell, it is not actually used anywhere in
    files generated by Texinfo 6.8.

    Signed-off-by : Frank Plowman <post@frankplowman.com>

    • [DH] doc/bootstrap.min.css