[FFmpeg-devel] [PATCH v2 2/2] avformat: add demuxer for Pro Pinball Series' Soundbanks

Zane van Iperen zane at zanevaniperen.com
Wed Mar 18 16:46:47 EET 2020


On Wed, 18 Mar 2020 15:33:47 +0100
"Carl Eugen Hoyos" <ceffmpeg at gmail.com> wrote:

> Am Mi., 18. März 2020 um 15:30 Uhr schrieb Zane van Iperen
> <zane at zanevaniperen.com>:
> >
> > On Wed, 18 Mar 2020 15:19:19 +0100
> > "Carl Eugen Hoyos" <ceffmpeg at gmail.com> wrote:
> >  
> > > Am Mi., 18. März 2020 um 15:12 Uhr schrieb Zane van Iperen
> > > <zane at zanevaniperen.com>:  
> > > >
> > > > Signed-off-by: Zane van Iperen <zane at zanevaniperen.com>
> > > > ---
> > > >  Changelog                |   1 +
> > > >  libavformat/Makefile     |   1 +
> > > >  libavformat/allformats.c |   1 +
> > > >  libavformat/pp_bnk.c     | 218
> > > > +++++++++++++++++++++++++++++++++++++++ libavformat/version.h
> > > > |   2 +- 5 files changed, 222 insertions(+), 1 deletion(-)
> > > >  create mode 100644 libavformat/pp_bnk.c
> > > >
> > > > diff --git a/Changelog b/Changelog
> > > > index 927dc89c51..0970bfb11e 100644
> > > > --- a/Changelog
> > > > +++ b/Changelog
> > > > @@ -55,6 +55,7 @@ version <next>:
> > > >  - CRI HCA decoder
> > > >  - CRI HCA demuxer
> > > >  - Cunning Developments ADPCM decoder
> > > > +- Pro Pinball Series Soundbank demuxer  
> > >
> > > Any restrictions on track_count and sample_rate that can be used
> > > for auto-detection?
> > >  
> >
> > Not really :/
> >
> > The largest sample rate I've seen is 44100, but I'd be hesitant to
> > probe based on that alone...  
> 
> But for all tracks, the sample rate has to be identical?
> 

Yes, in each soundbank, all tracks must have the same sample rate as
what's in the initial header.

> How many tracks are there?
> 

The file with the most tracks I can find has 113.

> Carl Eugen

Zane

> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> 
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".



More information about the ffmpeg-devel mailing list