[FFmpeg-devel] [PATCH v3] lavf/matroskadec: Set A_QUICKTIME bit depth
Mats Peterson
matsp888 at yahoo.com
Fri Jan 15 13:06:17 CET 2016
FFmpeg curiously uses 'sowt' as the fourcc when writing 8-bit signed
QuickTime data, so cater for this as well. Description follows:
Since mkvmerge doesn't set the bit depth for A_QUICKTIME audio (as far
as I know), the track->audio.bitdepth variable will be zero, and its
value needs to be retrieved from the sound sample description. Also,
confine the 0x00000000 to 'raw '/'twos' fourcc mapping to old version 0
sound sample descriptions, since they are the only valid sample
descriptions for this type of mapping.
Also, 'twos' and 'sowt' audio can be signed 8-bit.
--
Mats Peterson
http://matsp888.no-ip.org/~mats/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-lavf-matroskadec-set-A_QUICKTIME-bit-depth.patch
Type: text/x-patch
Size: 2957 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160115/f0e638dc/attachment.bin>
More information about the ffmpeg-devel
mailing list