Recherche avancée

Médias (17)

Mot : - Tags -/wired

Autres articles (92)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • 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" (...)

Sur d’autres sites (11844)

  • Convert WAV to FLAC or ALAC whilst preserving/converting id3 tags [closed]

    28 mars 2023, par Jai_1008

    Basically I want to render my mastered audio out of Wavelab, (the industry standard for mastering music) and then be able to have my track added to the macOS Music app with all metadata already included.

    


    It's more complicated than this, but basically Wavelab only gives serious metadata options to its WAV output. If I render out as FLAC, which, as a format, has better metadata implementation than WAV files, the metadata options I have avialable in Wavelab are not as good/extensive.

    


    So to get the metadata I want, I have to render as WAV. But then I can't put that in Apple Music app whilst keeping it's id3 tags. All the fields like Artist etc are blank in the Music app.

    


    The Music app DOES recognise the metadata from an ALAC file. So I have to convert a WAV to ALAC (or FLAC as converting FLAC to ALAC is easy) whilst somehow preserving its metadata. And for the life of me, I cannot find an answer to this from searching and reading everything.

    


    Any help ? I was looking into ffmpeg as an option, but no one speaks to this specific situation of mine. Converting WAV to FLAC or ALAC and preserving the WAVs metadata (id3 tags).

    


    I've tried using -map_metadata 0 when converting a WAV to FLAC in ffmpeg, but ffmpeg says it's ignoring ID3 tags because it found more suitable metadata. But the resulting FLAC only has Artist and copyright fields included in its metadata.

    


  • Audio fade in and looping

    30 juin 2020, par BIOStheZerg

    I'm trying to put some background music to a video with a person speaking. The background music should face in over a few seconds. The music is a short snippet, which loops really well. I tried to loop it via ffmpeg so that I have everything in one command :

    


    ffmpeg -i video_file.mp4 -f lavfi -i amovie=audio_file.wav:loop=0 -filter_complex '[0:a] volume=2.0 [voice]; [1:a] afade=in:st=0:d=5, volume=0.1 [soundtrack]; [voice][soundtrack] amix=inputs=2:duration=shortest' -codec:v copy out_file.mp4


    


    (this is a simplified version, the real one has a side chain compress as well, but that's irrelevant)

    


    The thing that doesn't work for me is the combination of the looping and the afade filter - every iteration of the background music fades in on its own. How could I do this such that only the first one fades in and the others just "continue" playing ? Is it possible to do it in a single command ?

    


    I know I could pre-loop a certain number of iterations based on the video length, but that would require creating a possibly large file (or lose audio quality via compression).

    


    Thanks !

    


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