FFmpeg git repo
Go to file
Mark Himsley 360022bd3b isom: lpcm in mov default to big endian
It is my understanding that "Unless otherwise stated, all data in a
QuickTime movie is stored in big-endian byte ordering" [1] in MOV files.

I have a couple of thousand files, which technically are invalid because
their sound sample description element 4CC is 'lpcm' but its version is
0 - and "Version 0 supports only uncompressed audio in raw ('raw ') or
twos-complement ('twos') format" [2]

Because isom.c only contains a mapping for 4CC 'lpcm' to
AV_CODEC_ID_PCM_S16LE, these files have their audio decoded as LE when
it is actually BE.

This commit adds AV_CODEC_ID_PCM_S16BE as the first match for 4CC 'lpcm'.

[1]
https://developer.apple.com/library/mac/documentation/quicktime/QTFF/qtff.pdf
page 21
[2]
https://developer.apple.com/library/mac/documentation/quicktime/QTFF/qtff.pdf
page 178

Reviewed-by: Yusuke Nakamura <muken.the.vfrmaniac@gmail.com>
2014-03-09 18:09:39 +01:00
compat
doc lavfi: add shuffleplanes filter 2014-03-05 21:52:02 +01:00
libavcodec hevc: make pps/sps ids unsigned where necessary 2014-03-09 17:23:08 +01:00
libavdevice avutil: Move library version related macros to version.h 2013-12-26 19:05:22 +01:00
libavfilter vf_shuffleplanes: fix the type of the mapping indices 2014-03-06 09:24:53 +01:00
libavformat isom: lpcm in mov default to big endian 2014-03-09 18:09:39 +01:00
libavresample lavr: return an error if a avresample_open() is called on an open context 2014-02-22 20:53:09 +01:00
libavutil float_dsp: fix errors in documentation 2014-03-09 00:45:35 +01:00
libswscale rgb2rgb_template: add MMX/SSE2/AVX-optimized deinterleaveBytes 2014-01-21 18:03:41 +01:00
presets
tests mxf: Set audio packets pts 2014-03-06 19:28:20 +01:00
tools qt-faststart: Add a note about the -movflags +faststart feature 2014-03-01 00:25:17 +02:00
.gitignore libavfilter: example audio filtering program 2014-02-25 13:22:10 +01:00
arch.mak
avconv_filter.c
avconv_opt.c avconv: support forcing codec tags for input streams 2014-02-24 07:25:07 +01:00
avconv_vdpau.c
avconv.c avconv: remove a write-only variable 2014-02-24 17:30:48 +01:00
avconv.h avconv: remove a write-only variable 2014-02-24 17:30:48 +01:00
avplay.c avplay: add support for seeking to chapter marks 2014-02-10 11:23:01 +01:00
avprobe.c
avserver.c
Changelog lavfi: add shuffleplanes filter 2014-03-05 21:52:02 +01:00
cmdutils_common_opts.h
cmdutils.c cmdutils: update copyright year to 2014. 2014-01-05 22:39:35 +02:00
cmdutils.h
common.mak Move all example programs to doc/examples 2014-02-16 21:37:21 +01:00
configure timer: use mach_absolute_time as high resolution clock on darwin 2014-03-09 00:45:34 +01:00
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1
COPYING.LGPLv3
CREDITS
INSTALL
library.mak Move all example programs to doc/examples 2014-02-16 21:37:21 +01:00
LICENSE Add libx265 encoder 2014-02-12 13:13:17 +00:00
Makefile
README
RELEASE Prepare for 10_beta1 Release 2014-02-15 16:49:04 -05:00
version.sh

Libav README
------------

1) Documentation
----------------

* Read the documentation in the doc/ directory.

2) Licensing
------------

* See the LICENSE file.