summaryrefslogtreecommitdiff
path: root/libavformat
Commit message (Collapse)AuthorAge
* lavf: add support for libgmewm42013-07-02
| | | | | Reviewed-by: Stefano Sabatini <stefasab@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avformat_find_stream_info: move ret init down from flush codecs.Michael Niedermayer2013-07-02
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avformat_find_stream_info: Do not consider no streams an error in flush codecsMichael Niedermayer2013-07-02
| | | | | | | This should have no functional effect, but allows a cleaner diff when moving it down Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avformat_find_stream_info: try to preserve the error codeMichael Niedermayer2013-07-02
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* av_find_stream_info: initialize retMichael Niedermayer2013-07-02
| | | | | | This should fix hypothetical corner cases where it might have never been initialized before use Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avformat: Print "Consider increasing the value for analzeduration and ↵Carl Eugen Hoyos2013-07-02
| | | | | | | | | | | probesize" even more often The sample from ticket #2691 currently does not trigger "Consider increasing the value for analzeduration and probesize" because the audio streams are only added after calling estimate_timings(). Attached patch moves the message below this function call. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-07-02
|\ | | | | | | | | | | | | | | | | | | | | * qatar/master: oggdec: do not fall back on binary search in the generic code. Conflicts: libavformat/oggdec.c tests/ref/seek/lavf-ogg Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * oggdec: do not fall back on binary search in the generic code.Anton Khirnov2013-07-02
| | | | | | | | | | Binary search is already attempted in the format-specific seek function, so the fallback is only reached if binary search failed already.
* | lavf/http: add support for reading streamcast metadatawm42013-07-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow applications to request reading streamcast metadata. This uses AVOptions as API, and requires the application to explicitly request and read metadata. Metadata can be updated mid-stream; if an application is interested in that, it has to poll for the data by reading the "icy_metadata_packet" option in regular intervals. There doesn't seem to be a nice way to transfer the metadata in a nicer way. Converting the metadata to ID3v2 tags might be a nice idea, but the libavformat mp3 demuxer doesn't seem to read these tags mid-stream, and even then we couldn't guarantee that tags are not inserted in the middle of mp3 packet data. This commit provides the minimum to enable applications to retrieve this information at all. Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
* | rmdec: Pass AVIOContext to rm_read_metadata()Michael Niedermayer2013-07-02
| | | | | | | | | | | | | | Fix null pointer dereference Fixes Ticket2588 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | westwood_vqa: check return value of av_malloc()Paul B Mahol2013-07-01
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | idcin: check return value of av_malloc()Paul B Mahol2013-07-01
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | bfi: check return value of av_malloc()Paul B Mahol2013-07-01
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | Merge remote-tracking branch 'cehoyos/master'Michael Niedermayer2013-06-30
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * cehoyos/master: Support compilation on aix with gcc. Rename "AVClass class" as "AVClass component_class". Rename constant FRAMESIZE in ra144 codec as FRAME_SIZE. Rename thread_init() in libavcodec and libavfilter as library_thread_init(). Rename constant HZ in af_biquads.c as HERTZ. Drop local lable from ppc asm timer. Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * | Rename "AVClass class" as "AVClass component_class".Carl Eugen Hoyos2013-06-30
| | | | | | | | | | | | The aix header math.h defines "extern int class()" for C.
* | | lavf/movenc: use ffio_fill()Matthieu Bouron2013-06-30
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | mpegts: use seek_back() for all seek backsMichael Niedermayer2013-06-30
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | mpegts: factor seek_back() outMichael Niedermayer2013-06-30
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | mpegts_read_header: goto fail instead of return directlyMichael Niedermayer2013-06-30
|/ / | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Added codec ID to playback DNxHDReuben Martin2013-06-29
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat: make av_register_*put_format() thread safeMichael Niedermayer2013-06-29
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | cosmetics: Fix "dont" "wont" "doesnt" typosTimothy Gu2013-06-29
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | udp: Fix receiving large udp packetsMichael Niedermayer2013-06-29
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Set block_align when reading QDM2 in mov.Carl Eugen Hoyos2013-06-28
| | | | | | | | Fixes ticket #2718.
* | Fix muxing QDM2 mono into caf.Carl Eugen Hoyos2013-06-28
| |
* | gxf: Added codec ID to playback AVCHDReuben Martin2013-06-27
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Added GXF format code to identify AVC Intra video streams. This was an ↵Reuben Martin2013-06-27
| | | | | | | | | | | | extension to the origional GXF spec implemented by Grass Valley. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | gxf: Factorize code in get_sindex()Reuben Martin2013-06-27
| | | | | | | | | | Reviewed-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | gxf: Added GXF format code 25 which is used for DV codec in HD resolutionsReuben Martin2013-06-27
| | | | | | | | | | Reviewed-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Fix copying extradata to codec in mxfdec.cNigel Touati-Evans2013-06-27
| | | | | | | | | | | | | | | | The code that copies any extradata from the MXFDescriptor to the codec does not set the size, which it should otherwise the copied data is useless. Attached it a patch to correct this. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavf/movenc: improve error feedback in case malformed AAC bitstream is detectedStefano Sabatini2013-06-26
| | | | | | | | Consistent with the FLV muxer.
* | lavf/mux: rename variable cortag -> tagbuf2 in init_muxer()Stefano Sabatini2013-06-26
| | | | | | | | Possibly enhance readibility.
* | Use AV_RN32 for an unaligned read in the mxg demuxer.Carl Eugen Hoyos2013-06-26
| | | | | | | | Fixes ticket #2707.
* | lavf: silence max_analyze_duration warningwm42013-06-26
| | | | | | | | | | | | | | | | | | | | | | | | This is part of normal operation with some formats. A warning should indicate that something is wrong, and the documentation for AV_LOG_WARNING says: "Something somehow does not look correct." Since this message is most likely useful for debugging only, raise the log level accordingly. Plus-one-by: Stefano Sabatini <stefasab@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | xa: abort if number of channels or sample rate is 0Paul B Mahol2013-06-25
| | | | | | | | | | | | Fixes #2711. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | lxfdec: remove wrong and unneeded checkLuca Barbato2013-06-25
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | yuv4mpeg: correctly handle chroma for odd luma sizes.Ronald S. Bultje2013-06-24
| | | | | | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* | lavf/webvttdec: use private option to specify WebVTT kindMatthew Heaney2013-06-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | WebVTT subtitle tracks have four kinds. Certain downstream muxers (such as for WebM) need to know which WebVTT kind this is, in order to specify the codec id of the output track. A new private input option, "-kind", has been added to the WebVTT demuxer. It accepts as a value any of "subtitles" (the default), "captions", "descriptions", and "metadata". The kind option value is used to assign a value to the stream disposition flag, to which four new values have been added, corresponding the four WebVTT kinds. Signed-off-by: Matthew Heaney <matthewjheaney@google.com> Signed-off-by: Clément Bœsch <ubitux@gmail.com>
* | lavf: add AV_DISPOSITION flags for WebVTT text track kindsMatthew Heaney2013-06-25
| | | | | | | | | | | | | | | | | | | | | | There are 4 separate WebVTT text track kinds: subtitles (the default if not otherwise specified), captions, descriptions, and metadata. The WebM muxer needs to know which WebVTT text track kind this is, in order to synthesize the correct track type and codec id. To allow a demuxer to indicate the text track kind of the input, a new set of AV_DISPOSITION flag values has been added, corresponding to each of the non-default text track kind values.
* | avformat/avio: Fix EOF handiling of ffurl_read_complete()Michael Niedermayer2013-06-24
| | | | | | | | | | | | Fixes Ticket2537 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-06-24
|\| | | | | | | | | | | | | | | | | | | * qatar/master: lavf: don't abort if both encoder and muxer aspect ratios are not set Conflicts: libavformat/mux.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavf: don't abort if both encoder and muxer aspect ratios are not setRafaël Carré2013-06-24
| | | | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | Merge commit 'c3e58f8fb75d8467161a65b85eb88281547ebab1'Michael Niedermayer2013-06-24
|\| | | | | | | | | | | | | * commit 'c3e58f8fb75d8467161a65b85eb88281547ebab1': matroskaenc: restore compatibility with non referenced AVPacket Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * matroskaenc: restore compatibility with non referenced AVPacketRafaël Carré2013-06-24
| | | | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | Merge commit 'f963f701d90bd7bb03e39aab4e59bd137084e082'Michael Niedermayer2013-06-23
|\| | | | | | | | | | | | | | | | | | | * commit 'f963f701d90bd7bb03e39aab4e59bd137084e082': ogg: relax demuxer conformance checks Conflicts: libavformat/oggdec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * ogg: relax demuxer conformance checksLuca Barbato2013-06-22
| | | | | | | | | | Some samples in the wild are missing headers that are expected by the specification but in practice do not affect decoding.
* | avisynth: Make sure the filename passed to Avisynth is in the right code pageOka Motofumi2013-06-22
| | | | | | | | | | | | | | | | Avisynth is a non-unicode application and cannot accept UTF-8 characters. Therefore, the input filename should be converted to the code page that it expects. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* | avformat/iff: Byte seek is unsupportedMichael Niedermayer2013-06-20
| | | | | | | | | | | | Fixes Ticket2194 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/libmodplug: Reduce the probe score for small inputMichael Niedermayer2013-06-20
| | | | | | | | | | | | | | | | This ensures that theres enough data for mpeg_probe() to recognize mpeg-ps Fixes Ticket2583 Based on code by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Autodetect idcin only if audio properties allow decoding.Carl Eugen Hoyos2013-06-19
| | | | | | | | Fixes ticket #2688.