[FFmpeg-devel] [PATCH] riff: set bits_per_coded_sample foratrac3

Piotr Bandurski ami_stuff at o2.pl
Thu Dec 27 23:18:19 CET 2012


> Does atrac3 really use 16 bps? It outputs float, this gives 50%
> compression ratio.
> Size of atrac3 frames are fixed and each frame have fixed number of samples,
> but there is catch, frame can have subframes.
> Atrac3 decoder use block_align as size of singe frame.

Sorry, I did 2 changes at once in the source and misleaded myself.
Attached seems to fix the real duration for atrac3 in wav, but it's probably not enough.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: atrac3_2.txt
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20121227/69d61570/attachment.txt>

More information about the ffmpeg-devel mailing list