summaryrefslogtreecommitdiff
path: root/libavformat
Commit message (Collapse)AuthorAge
* id3v2enc: add support for year and day/month tags when writing id3v2 version ↵Tobias Rapp2011-11-02
| | | | | | | | | | 3 metadata Adds support for year (TYER) and day/month (TDAT) tags when writing id3v2 version 3 metadata by splitting the "date" tag. The date tag should have a format of "YYYY-MM-DD" or "YYYY". Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* gxf: add timecode information to metadataMatthieu Bouron2011-11-01
| | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* mmsh: add return value for mmsh_open()Michael Niedermayer2011-11-01
| | | | | Found-by: cptspiff Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mmsh: do not try to seek to negative tiimestamps, it does not workMichael Niedermayer2011-11-01
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mp3enc: avoid truncating id3v1 tags by one byteTobias Rapp2011-11-01
| | | | | | Avoid writing the trailing null-byte for id3v1 tags if length reaches max length. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mmsh_read_seek: skip headerMichael Niedermayer2011-10-31
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mmsh:_implement a minimal mmsh_seek() so the stream position can be found out.Michael Niedermayer2011-10-31
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* asfdec: Check packet_replic_size earlierMichael Niedermayer2011-10-31
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mmsh: mmsh_read_seek()Michael Niedermayer2011-10-31
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mmsh: split out mmsh_open_internal()Michael Niedermayer2011-10-31
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mmsh: move location storage into contextMichael Niedermayer2011-10-31
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Fix deprecated warnings in .bit (de)muxerVladimir Voroshilov2011-10-30
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* spdifenc: use special alignment for DTS-HD length_codeAnssi Hannula2011-10-30
| | | | | | | | Align IEC 61937 length_code for DTS-HD so that (length_code & 0xf) == 0x8. This is reportedly needed with some receivers. Signed-off-by: Anssi Hannula <anssi.hannula@iki.fi>
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-10-30
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (51 commits) cin audio: use sign_extend() instead of casting to int16_t cin audio: restructure decoding loop to avoid a separate counter variable cin audio: use local variable for delta value cin audio: remove unneeded cast from void* cin audio: validate the channel count cin audio: remove unneeded AVCodecContext pointer from CinAudioContext dsicin: fix several audio-related fields in the CIN demuxer flacdec: use av_get_bytes_per_sample() to get sample size dca: handle errors from dca_decode_block() dca: return error if the frame header is invalid dca: return proper error codes instead of -1 utvideo: handle empty Huffman trees binkaudio: change short to int16_t binkaudio: only decode one block at a time. binkaudio: store interleaved overlap samples in BinkAudioContext. binkaudio: pre-calculate quantization factors binkaudio: add some buffer overread checks. atrac3: support float or int16 output using request_sample_fmt atrac3: add CODEC_CAP_SUBFRAMES capability atrac3: return appropriate error codes instead of -1 ... Conflicts: libavcodec/atrac1.c libavcodec/dca.c libavformat/mov.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * dsicin: fix several audio-related fields in the CIN demuxerJustin Ruggles2011-10-29
| | | | | | | | | | | | | | bits_per_coded_sample should be 8. block_align is calculated incorrectly, but it is not needed anyway. packet pts should be calculated in samples. packet duration can be set.
| * mov: Avoid divide by zero in edit list dts handlingBenjamin Larsson2011-10-29
| | | | | | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
| * lavf: use number of output pictures for delay checks.Ronald S. Bultje2011-10-28
| | | | | | | | | | | | This fixes false positives of has_codec_delay_been_guessed() for streams where not every input picture generates an output picture, such as interlaced H264.
* | Bump libavformat minor version for the G.729 raw demuxer.Carl Eugen Hoyos2011-10-30
| |
* | Minimal patch for G.729 demuxerVladimir Voroshilov2011-10-29
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Revert "matroskadec: forward parsing errors to caller."Hendrik Leppkes2011-10-29
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 5dd514af937ff4d74c3c263e4ca428b14b62d5f1. Silently ignoring errors allows some broken files to simply be played, instead of failing. (cherry picked from commit 7804b0693375c1a7ba1046f7a3579e9f63c2b15a) The intended goal (as confirmed with its author) of fixing a crash has been fixed differently prior to the application of this patch and this patch does notsucessfully propagate parse errors either. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Some minor spelling fixes.Reimar Döffinger2011-10-29
| | | | | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | Add Vladimir Voroshilov's copyright header to bit.c.Carl Eugen Hoyos2011-10-29
| |
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-10-29
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (53 commits) probe: Restore identification of files with very large id3 tags and no extension. probe: Remove id3 tag presence as a criteria to do file extension checking. mpegts: MP4 SL support mpegts: MP4 OD support mpegts: Add support for Sections in PMT mpegts: Replace the MP4 descriptor parser with a recursive parser. mpegts: Add support for multiple mp4 descriptors mpegts: Parse mpeg2 SL descriptors. isom: Add MPEG4SYSTEMS dummy object type indication. aacdec: allow output reconfiguration on channel changes nellymoserenc: take float input samples instead of int16 nellymoserdec: use dsp functions for overlap and windowing nellymoserdec: do not fail if there is extra data in the packet nellymoserdec: fail if output buffer is too small nellymoserdec: remove pointless buffer size check. lavf: add init_put_byte() to the list of visible symbols. seek-test: free options dictionary after use snow: do not draw_edge if emu_edge is set tools/pktdumper: update to recent avformat api seek-test: update to recent avformat api ... Conflicts: doc/APIchanges libavcodec/mpegaudiodec.c libavcodec/nellymoserdec.c libavcodec/snow.c libavcodec/version.h libavcodec/wmadec.c libavformat/avformat.h libavformat/mpegts.c libavformat/mxfdec.c libavformat/utils.c libavformat/wtv.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * probe: Restore identification of files with very large id3 tags and no ↵Alex Converse2011-10-28
| | | | | | | | | | | | | | | | extension. Restore behavior of identifying files with huge id3 tags as mp3 at AVPROBE_SCORE_MAX/4. This was broken in r25378 and subsequently removed in r25929.
| * probe: Remove id3 tag presence as a criteria to do file extension checking.Alex Converse2011-10-28
| | | | | | | | | | This only encourages our users to put id3v2 tags on non-mp3 files to opt into extension based probing.
| * mpegts: MP4 SL supportAlex Converse2011-10-28
| |
| * mpegts: MP4 OD supportAlex Converse2011-10-28
| |
| * mpegts: Add support for Sections in PMTAlex Converse2011-10-28
| |
| * mpegts: Replace the MP4 descriptor parser with a recursive parser.Alex Converse2011-10-28
| |
| * mpegts: Add support for multiple mp4 descriptorsAlex Converse2011-10-28
| |
| * mpegts: Parse mpeg2 SL descriptors.Alex Converse2011-10-28
| |
| * isom: Add MPEG4SYSTEMS dummy object type indication.Alex Converse2011-10-28
| |
| * lavf: add init_put_byte() to the list of visible symbols.Anton Khirnov2011-10-28
| |
| * seek-test: free options dictionary after useJanne Grunau2011-10-28
| |
| * seek-test: update to recent avformat apiJanne Grunau2011-10-28
| |
| * lavf: move private fields in AVStream to the end at next bump.Anton Khirnov2011-10-28
| |
| * lavf: move private fields in AVFormatContext to the end at next bump.Anton Khirnov2011-10-28
| |
| * lavf: make some seeking functions privateAnton Khirnov2011-10-28
| | | | | | | | | | | | | | Specifically av_update_cur_dts(), av_seek_frame_binary() and av_gen_search(). They are not supposed to be called outside lavf.
* | lavf: add init_put_byte() to the list of visible symbols.Anton Khirnov2011-10-28
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-10-28
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: lavc: remove "legacy" mpegvideo decoder. iv8: assemble packets to return complete frames pulse: documentation pulse: introduce pulseaudio input remove the zork pcm seek test Conflicts: configure libavdevice/Makefile libavdevice/alldevices.c libavdevice/avdevice.h libavdevice/pulse.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * iv8: assemble packets to return complete framesJanne Grunau2011-10-27
| |
* | rawdec: add check on sample_rateStefano Sabatini2011-10-28
| | | | | | | | | | | | | | | | | | | | | | Prevent error condition in case sample_rate is unset or set to a negative value. In particular, fix divide-by-zero error occurring in ffmpeg due to sample_rate set to 0 in output_packet(), in code: ist->next_pts += ((int64_t)AV_TIME_BASE * ist->st->codec->frame_size) / ist->st->codec->sample_rate; Fix trac ticket #324.
* | Implement parsing of the "HandlerName" from th MP4 HDLR atom.Hendrik Leppkes2011-10-28
| | | | | | | | | | | | | | | | This atom typically is used for a track title. (cherry picked from commit a356137816b4ea20a892d1fb203b11dbfedbc543) Reviewed-by: Baptiste Coudurier Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | mov: Support empty first edit + normal second edit.Yusuke Nakamura2011-10-28
| | | | | | | | | | | | | | (cherry picked from commit df342c91e6cfceb2537c2d1b2442dd685381a0ca) Reviewed-by: Baptiste Coudurier Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | mpegts: Fix detection of some raw AACMichael Niedermayer2011-10-27
| | | | | | | | | | | | Fixes Ticket577 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Timecode v2 muxerDavid Conrad2011-10-27
| | | | | | | | | | | | (cherry picked from commit 79ca161498744330ac940ae773dda3f1796ce955) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avidec: Return correct error code from avi_sync() in case of IO error.Michael Niedermayer2011-10-26
| | | | | | | | | | Found-by: Tanami, Ohad Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | movenc: reserved_moov_size, which allows placing moov at the begin of the file.Michael Niedermayer2011-10-26
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-10-26
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (22 commits) g722dec: check output buffer size before decoding g722dec: cosmetics: reindent/linewrap g722dec: remove the use of lowres for half-rate decoding. tta: check for extradata allocation failure in tta demuxer tta: check for allocation failure of decode_buffer tta: use correct frame_length calculation. tta: add support for decoding 24-bit sample format cosmetics: indentation tta: remove pointless braces tta: check output buffer size after adjusting frame length for last frame tta: fix reading of format in TTA header. tta: remove useless commented-out lines tta: check remaining bitstream size while reading unary value lavf: deprecate AVStream.stream_copy avconc: split choose_codec() to choose_decoder/choose_encoder. lavf: simplify by using FFMAX/FFMIN. mpegenc: add preload private option. cosmetics: simplify latm_decode_init latm: avoid unnecessary reinit of the aac decoder aacdec: initialize sbr context only in new channel elements ... Conflicts: avconv.c libavcodec/resample.c libavcodec/tta.c libavformat/utils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * tta: check for extradata allocation failure in tta demuxerJustin Ruggles2011-10-25
| |