Recherche avancée

Médias (91)

Autres articles (79)

  • MediaSPIP : Modification des droits de création d’objets et de publication définitive

    11 novembre 2010, par

    Par défaut, MediaSPIP permet de créer 5 types d’objets.
    Toujours par défaut les droits de création et de publication définitive de ces objets sont réservés aux administrateurs, mais ils sont bien entendu configurables par les webmestres.
    Ces droits sont ainsi bloqués pour plusieurs raisons : parce que le fait d’autoriser à publier doit être la volonté du webmestre pas de l’ensemble de la plateforme et donc ne pas être un choix par défaut ; parce qu’avoir un compte peut servir à autre choses également, (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • 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

Sur d’autres sites (6176)

  • Overlay audio over video FFMEPG

    15 mars 2018, par Benjamin Sweney

    I’m wanting to overlay an audio recording over a video using FFMEPG PHP or more specially Laravel (if possible). The audio clip will need to replace the videos audio, or better if possible set the videos audio volume to a predefined value and overlay the audio.

    The audio clip will always be longer than or the same length as the video and can not be clipped. Side note, how will this be handled ? Black screen or frozen last frame, or ?

    Would appreciate someone pointing me in the right direction.

    Much appreciated !

  • How can I play audio file(.mp3, .flac, .wav) and then loop over it (mix every few seconds) another audio file(wav) using ffmpeg

    11 mars 2019, par lukistar

    I got two different commands.

    ffmpeg -i input.mp3 -i second.mp3 -filter_complex "[0:a]atrim=end=10,asetpts=N/SR/TB[begin];[0:a]atrim=start=10,asetpts=N/SR/TB[end];[begin][1:a][end]concat=n=3:v=0:a=1[a]" -map "[a]" output

    This command inserts second.mp3 into input.mp3. It seems to always keep the parameters of input.mp3. It inserts it in exact 10 seconds of input.mp3.

    Here is the second command :

    ffmpeg -i input.mp3 -i second.mp3 -filter_complex "[1:a]adelay=10000|10000[1a];[0:a][1a]amix=duration:first" output

    This command is closer to my final goal. It plays input.mp3 and in exact 10 seconds it plays along second.mp3 without stopping input.mp3’s sound.(I think that’s called mixing ?)

    My final goal is to create final.mp3.

    Its duration must always equal input.mp3 duration. It must keep the samplerate, the count of channels, etc of input.mp3

    When playing final.mp3, it must play the whole input.mp3.
    But each 10-15 seconds, it must play second.mp3 without stopping input.mp3.(mix)
    It could be said that I must use "Second command" but in a loop.
    It would be great if there is one-line command for that in ffmpeg.
    I am working with flac, mp3 and wav and both of the commands were suitable for that.

    For example :

    input.mp3 could be 40 seconds long.

    second.mp3 could be 2 seconds long.

    When I play final.mp3 it will be 40 seconds long, but each 10-15 seconds(on random) it will play second.mp3 at the same time as input.mp3.

    Sadly I have no experience with ffmpeg, both of the commands I got are answers to questions here in stackoverflow. Hope somebody can help me. Thank you !

  • Audio merging using ffmpeg : Error decoding a SILK frame

    29 janvier 2018, par arjuncc

    I am using following command to merge two audio files with ffmpeg. On the output file one of the audio is not audible. When these audios are taken separately both files are audible(mka file).

    ffmpeg  -i file1.mka -i file2.mka -filter_complex "[1]adelay=12509.000000|12509.000000[d];[0][d]amix=inputs=2" -strict
    -2 output_audio.webm

    I am getting following error in log

    [opus @ 000000fba65e22c0] Error decoding a SILK frame.
    [opus @ 000000fba65e22c0] Error decoding an Opus frame.
    [opus @ 000000fba65e22c0] LBRR frames is not implemented. Update your FFmpeg ver
    sion to the newest one from Git. If the problem still occurs, it means that your
    file has a feature which has not been implemented.

    I have had a hint form this and this link but It was also not helpful.

    Finally I converted file ’file2.mka’ into mp3 and merged with the first file, at that time audio is clear, also the synching is perfect. So I suppose data is not lost, It should be an issue with codec. Can anyone help ?
    I have also tried below command but no luck

    ffmpeg  -i file1.mka -i file2.mka -filter_complex "[1]adelay=12509.000000|12509.000000[d];[0][d]amix=inputs=2" -map 0:0 -c:a libopus -map 1:0  -strict -2 output_audio.webm

    Full implementation is given in this link