Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (91)

Sur d’autres sites (16689)

  • avfilter/af_dynaudnorm : fix another clipping with custom peak value

    4 janvier 2020, par Paul B Mahol
    avfilter/af_dynaudnorm : fix another clipping with custom peak value
    

    This always happened at start with alternative boundary mode disabled.
    The clipping only occurred if starting samples where high enough.

    • [DH] libavfilter/af_dynaudnorm.c
  • Converting stereo file to mono but preserving peak and RMS loudness

    14 juin 2020, par user319249

    I am converting stereo audio files to mono using ffmpeg.

    



    ffmpeg -i $1 -ac 1 -ab 192k mono_$1


    



    However, after conversion, the RMS and peak loudness levels are not the same.

    



    Tests-iMac:auditions test$ ./rms.sh mono_test.mp3 
 mean_volume: -20.1 dB
 max_volume: -0.2 dB
 Peak level dB: -0.150201
 RMS level dB: -20.138039
 RMS peak dB: -10.650649
 RMS trough dB: -94.923318
 Flat factor: 0.000000
 Peak count: 2.000000
 Bit depth: 32/32
 Number of samples: 5800320
 Number of NaNs: 0.000000
 Number of Infs: 0.000000
 Number of denormals: 0.000000
Tests-iMac:auditions test$ ./rms.sh test.mp3 
 mean_volume: -22.9 dB
 max_volume: -2.9 dB
 Peak level dB: -2.896314
 RMS level dB: -22.883812
 RMS peak dB: -13.397327
 RMS trough dB: -95.943631
 Flat factor: 0.000000
 Peak count: 2.000000
 Bit depth: 32/32
 Number of samples: 5800320
 Number of NaNs: 0.000000
 Number of Infs: 0.000000
 Number of denormals: 0.000000


    



    The first ouput is the mono file which is technically louder than the stereo file, listed second. How can I preserve the peak and RMS values while also converting to mono ? I have no issue scripting in order to obtain the stereo loudness values to pass to the mono conversion process.

    



    Thanks !

    


  • avcodec/cfhd : check peak.offset

    8 novembre 2020, par Michael Niedermayer
    avcodec/cfhd : check peak.offset
    

    Fixes : signed integer overflow : -2147483648 - 4 cannot be represented in type 'int'
    Fixes : 26907/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_CFHD_fuzzer-5746202330267648

    Found-by : continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavcodec/cfhd.c