[FFmpeg-devel] [RFC 00/10] AV_SAMPLE_FMT_DSD

Peter Ross pross at xvid.org
Wed May 7 14:45:47 CEST 2014


On Tue, May 06, 2014 at 07:12:59PM +0200, Michael Niedermayer wrote:
> On Tue, May 06, 2014 at 10:37:32PM +1000, Peter Ross wrote:
> > RFC:
> > 
> > Direct Stream Digital (DSD), a.k.a One bit audio (OBA), is an alternative to PCM.
> > It can be found in Super Audio CDs and hi-res downloadable music.
> > 
> > Changes:
> > - add sample fmt
> > - move DSD-to-PCM conversion from libavcodec/dsddec into libswresample
> > - DSD-over-PCM encoder, enabling bit perfect playback to external hardware
> > 
> > Peter Ross (10):
> >   add AV_SAMPLE_FMT_DSD and AV_SAMPLE_FMT_DSDP
> >   swresample/audioconvert: integrate DSD to PCM conversion
> >   swresample/audioconvert: display error message if not conversion not
> >     supported
> >   avfiter/af_aresample: when converting DSD->PCM and no output sample
> >     rate is specified, reduce output sample rate by
> >     swr_dsd2pcm_sr_factor()
> >   avcodec/dsd: rework codecs to use AV_SAMPLE_FMT_DSD
> >   avformat/uncodedframecrcenc: process AV_SAMPLE_FMT_DSD and
> >     AV_SAMPLE_FMT_DSD
> >   DSD-over-PCM (DoP)
> >   avformat/riff: enable DoP muxing
> >   avformat/iff: report actual DSD sample rate
> >   avformat/dsfdec: report actual DSD sample rate
> 
> havnt really looked the patches yet but
> fails to build with shared libs
> libswresample/libswresample.so: undefined reference to `ff_reverse'
> libswresample/libswresample.so: undefined reference to `ff_reverse'
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
> make: *** [ffprobe_g] Error 1
> make: *** Waiting for unfinished jobs....

building with --enabled-shared fails because libswresample depends on
libavcodec/mathtables.c/ff_reverse

(I will incorporate another patch that moves ff_reverse into libavutil.)

-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140507/1fa6adcc/attachment.asc>


More information about the ffmpeg-devel mailing list