[FFmpeg-devel] [PATCH] MLP Encoder
Michael Niedermayer
michaelni
Sat Aug 16 20:41:13 CEST 2008
On Sat, Aug 16, 2008 at 01:19:28PM -0300, Ramiro Polla wrote:
> Hi,
>
> On Thu, Aug 14, 2008 at 2:08 AM, Ramiro Polla <ramiro.polla at gmail.com> wrote:
> > Attached is the MLP encoder written as part of the Google Summer of
> > Code project and mentored by Justin Ruggles.
> >
> > Things that are not quite complete:
> > - 24-bit support. I'm waiting to see what will become of
> > SAMPLE_FMT_S24, and the code might need a few changes. But mostly it
> > works;
>
> So has it been decided what the best way to treat 24-bit samples is?
> Will SAMPLE_FMT_S24 be dropped since it's the same as SAMPLE_FMT_S32?
>
> I am wondering if I have to:
> - leave the code with SAMPLE_FMT_S24, and when support is finally done:
> - >> 8 the input samples
> - read input as is (it will already have been shifted somewhere else)
> - << 8 the input samples
> - or use SAMPLE_FMT_S32 in the code, and:
> - >> 8 the input samples
> - read input as is (it will already have been shifted somewhere else)
> - << 8 the input samples
>
> I am slightly in favor of dropping SAMPLE_FMT_S24, and have the codecs do >> 8.
> and then doing
> ./ffmpeg_g -i input16.wav -sample_fmt s32 output.mlp
you can treat SAMPLE_FMT_S24 like SAMPLE_FMT_S32, IMO the only difference
should be that the 8 lsb are 0.
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
I have never wished to cater to the crowd; for what I know they do not
approve, and what they approve I do not know. -- Epicurus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080816/5cbe1e76/attachment.pgp>
More information about the ffmpeg-devel
mailing list