Recherche avancée

Médias (91)

Autres articles (60)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

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

  • FFMPEG set volume in amix

    23 juin 2017, par user5839

    I’ve been trying to mix an audio mp3 with a video mp4 while retaining the mp4 audio. This is working with .

    ffmpeg -y  -i video.mp4 -i audio.mp3
    -filter_complex "[0:a][1:a]amix=inputs=2:duration=longest[out]"
    -map 0:v -map [out] output.mp4

    I’m now trying to adjust the volumes of the sound files (video 0.5, audio 1) as part of the mix.

    I’ve been trying things like

    ffmpeg  -i 020c276b-face-4bb3-9169-e8969c1232ba.mp4 -i test.mp3 -filter_complex
    "[0:a]aformat=sample_fmts=fltp:sample_rates=44100:channel_layouts=stereo,volume=0.5[a1];
     [1:a]aformat=sample_fmts fltp:sample_rates=44100:channel_layouts=stereo,volume=0.8[a2];
     [a1][a2]amerge,pan=stereo:c0code>

    And I get errors such as

    [Parsed_aformat_2 @ 037f8620] Error parsing sample format : sample_fmts
    fltp. [AVFilterGraph @ 038be620] Error initializing filter ’aformat’
    with args ’sample
    _fmts fltp:sample_rates=44100:channel_layouts=stereo’ Error initializing complex filters. Invalid argument

    Does anyone know how to make the code I’ve code above that is working, also change the volume of the inputs ?

    Thanks

  • Adjust volume of both input mp3 files while merging using ffmpeg

    18 septembre 2016, par Ali Akram

    I am using the following command to merge two audio files (mp3) into one output.mp3

    -i /sdcard/NNR/input1.mp3 -i /sdcard/NNR/input2.mp3
       -filter_complex amerge -ac 2 -c:a libmp3lame
       -q:a 4 /sdcard/NNR/output.mp3

    Kindly suggest me how to adjust volume level of both input files to some specific level.

    I have found the following filter variable but don’t exactly know how to adjust into my command.

    ffmpeg -i a.mp3 -i b.mp3
      -filter_complex "[0:a]volume=.25[A];[1:a][A]amerge[out]"
      -map [out] -c:a pcm_s16le out.wav

    Any help will be much appreciated.Thanks

  • ffmpeg how to shorten volume range

    10 juillet 2021, par 敬錞 潘

    I use this command below to get volume information

    


    ffmpeg -i {fileName} -af  "volumedetect" -f null -


    


    and get result below :

    


    [Parsed_volumedetect_0 @ 000001b4f9675ec0] mean_volume: -25.1 dB
[Parsed_volumedetect_0 @ 000001b4f9675ec0] max_volume: -4.0 dB
[Parsed_volumedetect_0 @ 000001b4f9675ec0] histogram_4db: 12
[Parsed_volumedetect_0 @ 000001b4f9675ec0] histogram_5db: 72
[Parsed_volumedetect_0 @ 000001b4f9675ec0] histogram_6db: 293
[Parsed_volumedetect_0 @ 000001b4f9675ec0] histogram_7db: 808
[Parsed_volumedetect_0 @ 000001b4f9675ec0] histogram_8db: 2276
[Parsed_volumedetect_0 @ 000001b4f9675ec0] histogram_9db: 5885
[Parsed_volumedetect_0 @ 000001b4f9675ec0] histogram_10db: 13146
[Parsed_volumedetect_0 @ 000001b4f9675ec0] histogram_11db: 26627


    


    I want to shorten volume range to half range like this below

    


    [Parsed_volumedetect_0 @ 000001b4f9675ec0] histogram_6db: ...
[Parsed_volumedetect_0 @ 000001b4f9675ec0] histogram_7db: ...
[Parsed_volumedetect_0 @ 000001b4f9675ec0] histogram_8db: ...
[Parsed_volumedetect_0 @ 000001b4f9675ec0] histogram_9db: ...


    


    How to do it by ffmpeg command ?

    


    Update1 :

    


    filename.mp3 volume detect is below :

    


    [Parsed_volumedetect_0 @ 00000192cd9adcc0] max_volume: -0.3 dB
[Parsed_volumedetect_0 @ 00000192cd9adcc0] histogram_0db: 32
[Parsed_volumedetect_0 @ 00000192cd9adcc0] histogram_1db: 333
[Parsed_volumedetect_0 @ 00000192cd9adcc0] histogram_2db: 1216
[Parsed_volumedetect_0 @ 00000192cd9adcc0] histogram_3db: 3490
[Parsed_volumedetect_0 @ 00000192cd9adcc0] histogram_4db: 8829
[Parsed_volumedetect_0 @ 00000192cd9adcc0] histogram_5db: 19873


    


    after execute command

    


    ffmpeg -i filename.mp3 -af filename_output.mp3


    


    filename_output.mp3 volume detect is below :

    


    [Parsed_volumedetect_0 @ 0000017af506dd00] max_volume: -0.4 dB
[Parsed_volumedetect_0 @ 0000017af506dd00] histogram_0db: 13
[Parsed_volumedetect_0 @ 0000017af506dd00] histogram_1db: 226
[Parsed_volumedetect_0 @ 0000017af506dd00] histogram_2db: 906
[Parsed_volumedetect_0 @ 0000017af506dd00] histogram_3db: 2688
[Parsed_volumedetect_0 @ 0000017af506dd00] histogram_4db: 7202
[Parsed_volumedetect_0 @ 0000017af506dd00] histogram_5db: 16473


    


    There is no big changes, if I want to shorten more volume range , how to do ?