Recherche avancée

Médias (91)

Autres articles (76)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

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

  • Problem when adding background music to video without sound

    27 avril 2020, par Nguyễn Trọng

    I am trying to cut a piece of background music and loop them into a video and change the speed of the video with the command below.

    



     String[] cmd = {"-y", "-i", input, "-i", shortsound,
            "-filter_complex",
            "[0:v]trim=0:120,setpts=1/2*(PTS-STARTPTS)[v1]," +
                    "[0:v]trim=120:240,setpts=1/2*(PTS-STARTPTS)[v2];" +
                    "[1:a]atrim=0:6,asetpts=PTS-STARTPTS," +
                    "asetrate=44100,aloop=-1:2e+09," +
                    "aformat=sample_fmts=fltp:sample_rates=44100:channel_layouts=stereo,volume=1.0[bg];" +
                    "[0:a]atrim=0:120,asetpts=PTS-STARTPTS,atempo=2.0" +
                    ",aformat=sample_fmts=fltp:sample_rates=44100:channel_layouts=stereo[a1]," +
                    "[0:a]atrim=120:240,asetpts=PTS-STARTPTS,atempo=2.0," +
                    "aformat=sample_fmts=fltp:sample_rates=44100:channel_layouts=stereo[a2];" +
                    "[v1][a1][v2][a2]concat=n=2:v=1:a=1[video][audio];[audio]volume=0.5[avolume];" +
                    "[avolume][bg]amerge=2,pan=stereo|c0code>

    



    Everything was fine until I tried with a video without sound, it didn't work.
How when input is a video without sound ?

    


  • How to speed up sound and video and modify the pitch ?

    3 août 2020, par DiREKT

    I want to increase speed on both the sound and the video, while adding pitch to the audio alone.

    


    I have those two ffmpeg commands, but I don't know how to make them work together.

    


    ffmpeg -i input.mkv -filter_complex "[0:v]setpts=0.94*PTS[v];[0:a]atempo=1.06[a]" -map "[v]" -map "[a]" output.mkv


    


    and

    


    ffmpeg -i input.mkv -filter:a "atempo=1.06,asetrate=44100*1.25" output.mkv


    


  • FFMPEG silencedetect output does not match Audacity Sound Finder

    12 avril 2017, par tngo

    I’m currently working on labeling sound sections in an audio file.

    When I ran my audio file through Audacity Sound Finder with the following settings this is what I get

    0.448980    0.498866    1
    0.698413    0.927891    2
    1.147392    1.426757    3
    1.566440    1.815873    4

    These are the first 4 labels for the audio file where the sounds were found to be louder than -12dB.

    However when I ran the same audio file through FFMPEG silencedetect filter with n=-12dB:d=0.1 this is the output

    [silencedetect @ 000000000272a8c0] silence_start: -0.00712018
    [silencedetect @ 000000000272a8c0] silence_end: 0.371519 | silence_duration: 0.378639
    [silencedetect @ 000000000272a8c0] silence_start: 0.457279
    [silencedetect @ 000000000272a8c0] silence_end: 0.650159 | silence_duration: 0.19288
    [silencedetect @ 000000000272a8c0] silence_start: 0.828798
    [silencedetect @ 000000000272a8c0] silence_end: 1.11456 | silence_duration: 0.28576
    [silencedetect @ 000000000272a8c0] silence_start: 1.38608
    [silencedetect @ 000000000272a8c0] silence_end: 1.8576 | silence_duration: 0.1
    [silencedetect @ 000000000272a8c0] silence_start: 2.31488

    For FFMPEG to detect sound I’m considering silence_end to be sound_start and silence_start to be sound_end. With that logic the output from FFMPEG actually is

    0.371519 0.457279 1
    0.650159 0.828798 2
    1.11456  1.38608  3
    1.8576   2.31488  4

    To me it seems like all the timestamps from FFMPEG are shifted to the left compare to Audacity Sound Finder. Is there something that I’m missing ?

    Any help would be much appreciated.
    Thanks,