Recherche avancée

Médias (91)

Autres articles (54)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

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

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

Sur d’autres sites (6396)

  • ffmpeg reverts audio volume even after removing the audio track

    7 avril 2023, par DniweTamp

    I tried making a simple batch file that separates and normalizes audio track, and merges it with the reencoded video track afterwards, but whenever I try to add the edited audio track back the volume just goes back to the original level.

    


    It happens specifically when I try to add the audio back to video, the volume level stays normalized if I reencode said audio to .aac or .ogg files, but when I try to add it to the video, even using -c:a copy, the volume just reverts to the original level

    


    Below is an image that shows the volume levels of audio tracks

    


    I detach audio, normalize it (result is top track), add it back to the video, and it becomes what's on the bottom (which is also the same volume as the original video's audio)
Normalized and quiet volume levels

    


    Here's the contents of my batch file, expected result was a reencoded video, with normalized audio

    


    I tried removing audio track with both -an and -map 0 -map -0:a, same result

    


    I can confirm that the normalize program does its job correctly, by checking volume levels in audacity

    


    ffmpeg -i %1 -y temp.wav
normalize.exe temp.wav
ffmpeg -i %1 -c:v libx264 -map 0 -map -0:a -profile:v main -pix_fmt yuv420p -movflags +faststart -preset medium -crf 22 -map_metadata -1 -y video.temp.mp4
ffmpeg -i %1 -i temp.wav -c:v copy -y video.h264.mp4
del temp.wav
del video.temp.mp4


    


    Edit : and here's the video file I tried this on.

    


  • ffmpeg : disable audio volume insertion on the output side.

    4 juin 2012, par Michael Niedermayer

    ffmpeg : disable audio volume insertion on the output side.

  • ffmpeg volume levels

    14 avril 2021, par josh joyer

    I AM USING WINDOWS

    


    I did recording camera,microphone and system sounds each separately with ffmpeg.

    


    ffmpeg -f dshow -i video="USB2.0 PC CAMERA" output.mkv


    


    Above code for camera recording.

    


    ffmpeg -f dshow -i audio="@device_cm_{33D9A762-90C8-11D0-BD43-00A0C911CE86}\wave_{5B4DB0B5-B645-4AFA-930D-4710AAF753DB}" output.wav


    


    And above for microphone.

    


    ffmpeg -f dshow -i audio="@device_cm_{33D9A762-90C8-11D0-BD43-00A0C911CE86}\wave_{ADECEC1D-C3CC-4BAE-8516-752251B8B63F}" output.mkv


    


    And above for system audio.

    


    I mixed system audio with microphone like below :

    


    ffmpeg -f dshow -i audio="@device_cm_{33D9A762-90C8-11D0-BD43-00A0C911CE86}\wave_{5B4DB0B5-B645-4AFA-930D-4710AAF753DB}" -f dshow -i audio="@device_cm_{33D9A762-90C8-11D0-BD43-00A0C911CE86}\wave_{ADECEC1D-C3CC-4BAE-8516-752251B8B63F}" -filter_complex amerge=inputs=2 stream.mp3


    


    BUT there is still issue to volume levels. How do I adjust sound volume levels
for each input or output file ?