summaryrefslogtreecommitdiff
path: root/libavformat/mov.c
Commit message (Collapse)AuthorAge
* lavf: remove AVFormatParameters from AVFormatContext.read_header signatureAnton Khirnov2012-01-27
|
* movdec: Calculate an average bit rate for fragmented streams, tooMartin Storsjö2012-01-25
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* mov: Remove dead stores for spherical coordinates for channel position.Alex Converse2012-01-18
|
* mov, mxfdec: Employ more meaningful return values.Daniel Huang2012-01-15
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* mov: Support MOV_CH_LAYOUT_USE_DESCRIPTIONS for labeled descriptions.Alex Converse2012-01-05
|
* mov: Don't stick the QuickTime field ordering atom in extradata.Alex Converse2011-12-21
| | | | | | The 'fiel' atoms can be found in H.264 tracks clobbering the extradata. MJPEG supports non field based extradata, and this data should be preserved when copying.
* lavu: replace int/float punning functionsMans Rullgard2011-12-11
| | | | | | | | | | | | | | | | | | The existing functions defined in intfloat_readwrite.[ch] are both slow and incorrect (infinities are not handled). This introduces a new header with fast, inline conversion functions using direct union punning assuming an IEEE-754 system, an assumption already made throughout the code. The one use of Intel/Motorola extended 80-bit format is replaced by simpler code sufficient under the present constraints (positive normal values). The old functions are marked deprecated and retained for compatibility. Signed-off-by: Mans Rullgard <mans@mansr.com>
* mov: add support for reading and writing the 'chan' tagJustin Ruggles2011-12-09
| | | | | | This implements reading the tag in the demuxer and adds support for writing it in the muxer. Some example channel layout tables for muxing are included for ac3, aac, and alac, but they are not utilized yet.
* mov: Don't av_malloc(0).Alex Converse2011-12-05
| | | | | | | malloc() is allowed to return NULL when zero is the argument. This causes us to think malloc has failed and return AVERROR(ENOMEM). In addition OS X malloc() returns an unfreeable non-NULL pointer for size zero when alignment is greater than 16.
* mov: Allow empty stts atom.Alex Converse2011-12-04
| | | | Fixes regressions caused by 30c3d976
* lavf: make av_set_pts_info private.Anton Khirnov2011-11-30
| | | | It's supposed to be called only from (de)muxers.
* mov: Make format string match variable type.Alex Converse2011-11-26
|
* mov: Remove some redundant and obsolete comments.Alex Converse2011-11-22
|
* avformat: Use avio_open2, pass the AVFormatContext interrupt_callback onwardsMartin Storsjö2011-11-13
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* movdec: Set frame_size for AMRCarl Eugen Hoyos2011-11-05
| | | | | | | | | | | | | | Earlier, sc->samples_per_frame was used for setting the frame size, but all files don't have that set properly. The frame size is a known constant for these codecs. If frame_size isn't set, the mov/3gp muxer refuses to mux it. This fixes stream copy of audio from https://roundup.libav.org/file1248/Video_With_AMR-NB_Audio.3gp to another 3gp file (roundup issue 2468). Signed-off-by: Martin Storsjö <martin@martin.st>
* mov: Avoid divide by zero in edit list dts handlingBenjamin Larsson2011-10-29
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* mov: add support for hdvd and pgapmetadata atomsRaivo Hool2011-10-21
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* mov: rename function _stik, some indentation cosmeticsRaivo Hool2011-10-21
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* mov: rename function _int8 to remove ambiguity, some indentation cosmeticsRaivo Hool2011-10-21
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* mov: parse the gnre atomRaivo Hool2011-10-21
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavf: use avpriv_ prefix for some dv functions.Anton Khirnov2011-10-20
| | | | They are used in libavdevice.
* lavf: use avpriv_ prefix for ff_new_chapter().Anton Khirnov2011-10-20
| | | | It's used in libavdevice.
* lavf: replace av_new_stream->avformat_new_stream part II.Anton Khirnov2011-10-19
| | | | | | | | Manual replacements are done in this commit. In many cases, the id is some constant made up number (e.g. 0 for video and 1 for audio), which is then not used in the demuxer for anything. Those ids are removed.
* mov: add support for TV metadata atoms tves, tvsn and stikRaivo Hool2011-10-17
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* mov: 10l: Terminate string with 0 not '0'Alex Converse2011-10-14
|
* mov: Prevent illegal writes when chapter titles are very short.Alex Converse2011-10-14
|
* mov: do not misreport empty sttsLuca Barbato2011-10-11
| | | | | Return -1 instead of ENOMEM if entries is 0. Fixes a av_malloc(0) crash in macosx.
* mov: cosmetics, fix for and if spacingLuca Barbato2011-10-11
|
* mov: read album_artist atomRaivo Hool2011-10-11
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* mov: fix disc/track numbers and totalsRaivo Hool2011-10-11
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* Remove some forgotten AVCodecContext.palctrl usage.Anton Khirnov2011-09-21
|
* mp4: Handle non-trivial ES Descriptors.Alex Converse2011-08-25
|
* mov: add clcp type track as Subtitle stream.Thierry Foucu2011-07-21
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* lavf: use designated initialisers for all (de)muxers.Anton Khirnov2011-07-17
| | | | It's more readable and less prone to breakage.
* Do not include mathematics.h in avutil.hMans Rullgard2011-07-03
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Do not include intfloat_readwrite.h in avutil.hMans Rullgard2011-07-03
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Remove return statements following infinite loops without breakMans Rullgard2011-07-03
| | | | | | | These statements cannot be reached and are thus not needed. This removes a number of compiler warnings. Signed-off-by: Mans Rullgard <mans@mansr.com>
* mov: Fix empty edit detection.Yusuke Nakamura2011-06-19
|
* mov: Fix wrong timestamp generation for fragmented movies that have time ↵Yusuke Nakamura2011-06-10
| | | | | | offset caused by the first edit list entry. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* movdec: Add support for the 'wfex' atom.Alex Converse2011-06-09
| | | | The 'wfex' is just a Microsoft WaveFormatEx struct.
* mov: Remove leftover crufty debug statement with references to a local file.Diego Biurrun2011-06-08
|
* Remove all uses of now deprecated metadata functions.Anton Khirnov2011-06-08
|
* Replace some av_log/printf + #ifdef combinations by av_dlog.Diego Biurrun2011-06-07
|
* Mark some variables with av_unusedMans Rullgard2011-06-03
| | | | | | | Most of these variables are only used in av_dlog statements, some are required but not used by other macros. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Remove unused variablesMans Rullgard2011-06-02
|
* mov: Support edit list atom version 1.Yusuke Nakamura2011-05-12
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* mov: fix composition timestamps on movie fragments.Yusuke Nakamura2011-05-05
| | | | This fixes, for instance, the case that there is a track that has some samples with composition time offset and has a track run without sample-composition-time-offsets-present.
* Fix mov debug (u)int64_t format strings.Alex Converse2011-04-22
|
* avio: remove AVIO_* access symbols in favor of new AVIO_FLAG_* symbolsStefano Sabatini2011-04-19
| | | | | | | | Make AVIO_FLAG_ access constants work as flags, and in particular fix the behavior of functions (such as avio_check()) which expect them to be flags rather than modes. This breaks API.
* make containers pass palette change in AVPacketKostya Shishkov2011-04-15
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>