[FFmpeg-devel] [PATCH v3] lavf/mov: Audio and fourcc 0x00000000

Michael Niedermayer michael at niedermayer.cc
Fri Jan 8 14:24:13 CET 2016


On Fri, Jan 08, 2016 at 01:03:58PM +0100, Mats Peterson wrote:
> In many older QuickTime files, the audio format, or "fourcc", is
> 0x00000000. The QuickTime File Format Specification states the following
> regarding this situation:
> 
> "This format descriptor should not be used, but may be found in some
> files. Samples are assumed to be stored in either 'raw ' or 'twos'
> format, depending on the sample size field in the sound description."
> 
> MPlayer handles this logic by itself, but FFmpeg/FFplay currently does
> not.
> 
> Mats
> 
> -- 
> Mats Peterson
> http://matsp888.no-ip.org/~mats/

>  mov.c |   16 +++++++++++++++-
>  1 file changed, 15 insertions(+), 1 deletion(-)
> d5836fe68cf50aa82653253f0ffc3f345d1c066b  0001-lavf-mov-Audio-and-fourcc-0x00000000.patch
> From 640e12e8450a630f1569009094ac1bd51d8cfebf Mon Sep 17 00:00:00 2001
> From: Mats Peterson <matsp888 at yahoo.com>
> Date: Fri, 8 Jan 2016 12:59:13 +0100
> Subject: [PATCH v3] lavf/mov: Audio and fourcc 0x00000000
> 
> In many older QuickTime files, the audio format, or "fourcc", is
> 0x00000000. The QuickTime File Format Specification states the following
> regarding this situation:
> 
> "This format descriptor should not be used, but may be found in some
> files. Samples are assumed to be stored in either 'raw ' or 'twos'
> format, depending on the sample size field in the sound description."
> 
> MPlayer handles this logic by itself, but FFmpeg/FFplay currently does
> not.
> 
> Mats
> 
> ---
>  libavformat/mov.c |   16 +++++++++++++++-
>  1 file changed, 15 insertions(+), 1 deletion(-)

applied

simplified a bit

thanks

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

What does censorship reveal? It reveals fear. -- Julian Assange
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160108/a1feba8e/attachment.sig>


More information about the ffmpeg-devel mailing list