#11299: Audio PSNR values have strange range
----------------------------------+----------------------------------
             Reporter:  Jing Lu   |                     Type:  defect
               Status:  new       |                 Priority:  normal
            Component:  avfilter  |                  Version:  6.1.1
             Keywords:  psnr      |               Blocked By:
             Blocking:            |  Reproduced by developer:  1
Analyzed by developer:  0         |
----------------------------------+----------------------------------
 An example:

 {{{
 ffmpeg -f lavfi -i 'sine=frequency=1000:sample_rate=44100:duration=1s'
 -c:a pcm_u8 ~/sineu8.wav
 ffmpeg -f lavfi -i 'sine=frequency=1000:sample_rate=44100:duration=1s'
 -c:a pcm_s16le ~/sines16le.wav
 ffmpeg -i ~/sineu8.wav -i ~/sines16le.wav -filter_complex apsnr -f null
 /dev/null
 }}}

 Outputs:
 > [Parsed_apsnr_0 @ 0x5562352d60c0] PSNR ch0: 166.661 dB

 This issue is reproducible at v6.1.1 (and many versions before it).

 The value of 166.661 dB is rather high (over 100); I'd expect the PSNR to
 be around ~53 dB.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/11299>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to