Skip to content

libav: Handle bad start time passed by ffmpeg

Robert Tiemann requested to merge rtiemann/gstreamer:main into main

This patch fixes the noise introduced by buffer clipping when playing DSD files. The noise is clearly audible during silent parts, with volume cranked up and listening with headphones. Here is a good test file which starts with a stretch of silence:

http://www.lindberg.no/hires/test/2L-145/2L-45_stereo_01_DSF_2822k_1b.dsf

Download and test with:

$ gst-launch-1.0 filesrc location=2L-45_stereo_01_DSF_2822k_1b.dsf ! \
  avdemux_dsf ! avdec_dsd_lsbf_planar ! audioconvert ! autoaudiosink
Edited by Olivier Crête

Merge request reports