summaryrefslogtreecommitdiff
path: root/libavformat/avformat.h
Commit message (Collapse)AuthorAge
* Merge commit '6d212599aa684f30511fb08ca30fe2378405304e'Michael Niedermayer2014-05-29
|\ | | | | | | | | | | | | | | | | | | | | | | * commit '6d212599aa684f30511fb08ca30fe2378405304e': avformat: Provide a standard compliance flag Conflicts: doc/APIchanges libavformat/avformat.h libavformat/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avformat: Provide a standard compliance flagLuca Barbato2014-05-28
| | | | | | | | | | | | Provide f_strict for avconv usage. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | avformat: move default for max_analyze_duration into utils.cMichael Niedermayer2014-05-26
| | | | | | | | | | | | this way we can do better tha a single fixed constant value Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat: add format_probesize to allow tuning the maximum amount of bytes ↵Michael Niedermayer2014-05-25
| | | | | | | | | | | | | | | | | | | | to identify the filetype Currently probesize is cliped at 1mb before being used for format detection. Alternatively this cliping could be removed but this would then tie various things like stream analysis to the file detection. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat: add av_stream_get_end_pts()Michael Niedermayer2014-05-21
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'c23c96b638cbf6c489fd301e6b3d5555632fba37'Michael Niedermayer2014-05-20
|\| | | | | | | | | | | | | | | | | | | | | * commit 'c23c96b638cbf6c489fd301e6b3d5555632fba37': lavf: add av_stream_get_side_data Conflicts: doc/APIchanges libavformat/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavf: add av_stream_get_side_dataJanne Grunau2014-05-20
| |
* | Merge commit 'a312f71090ee620ee252f2034aef6b13e2dafe9c'Michael Niedermayer2014-05-19
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'a312f71090ee620ee252f2034aef6b13e2dafe9c': lavf: deprecate now unused AVStream.pts Conflicts: libavformat/mux.c libavformat/version.h mostly not merged as the code is needed for a/vsync drop handling and what the code does is what is needed, it could maybe be moved elsewhere or factored somehow but simply removing it would be droping these features. Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavf: deprecate now unused AVStream.ptsAnton Khirnov2014-05-19
| |
* | Merge commit '7a5f4f6853047eea74a6443d73f4d74d52b2799f'Michael Niedermayer2014-05-18
|\| | | | | | | | | | | | | * commit '7a5f4f6853047eea74a6443d73f4d74d52b2799f': lavf: extend avg_frame_rate documentation. Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavf: extend avg_frame_rate documentation.Anton Khirnov2014-05-18
| |
* | Merge commit '0c1959b056f6ccaa2eee2c824352ba93c8e36d52'Michael Niedermayer2014-05-15
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '0c1959b056f6ccaa2eee2c824352ba93c8e36d52': lavf: add AVFMT_FLAG_BITEXACT. Conflicts: doc/APIchanges libavformat/avformat.h libavformat/flacenc.c libavformat/movenc.c libavformat/oggenc.c libavformat/options_table.h libavformat/version.h tests/fate/video.mak Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavf: add AVFMT_FLAG_BITEXACT.Anton Khirnov2014-05-15
| | | | | | | | | | | | | | | | Use it instead of checking CODEC_FLAG_BITEXACT in the first stream's codec context. Using codec options inside lavf is fragile and can easily break when the muxing codec context is not the encoding context.
* | Merge commit 'a738540366c9b114949b7914c0d08e2c28982cfb'Michael Niedermayer2014-05-14
|\| | | | | | | | | | | | | * commit 'a738540366c9b114949b7914c0d08e2c28982cfb': lavf: properly document the distinction between flags and ctx_flags Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavf: properly document the distinction between flags and ctx_flagsAnton Khirnov2014-05-14
| |
* | avformat: Fix decoder search in find stream infoMichael Niedermayer2014-04-21
| | | | | | | | | | | | Fixes Ticket3548 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat: add av_format_inject_global_side_data(), and disable it by defaultMichael Niedermayer2014-04-15
| | | | | | | | | | | | | | | | | | | | After this commit applications needs to call av_format_inject_global_side_data() or handle AVStream side data by some other means if they want it not to be lost. This fixes a API incompatibility with libav. libav API does not allow the data to be passed through AVPackets Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/utils: Inject global side data into first packet.Michael Niedermayer2014-04-13
| | | | | | | | | | | | This fixes replaygain handling in ffplay and probably other applications. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavd: add device capabilities APILukasz Marek2014-04-11
| | | | | | | | | | | | | | Provides API to query device capabilities. Each device must implement callbacks to benefit from this API. Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
* | libavformat/utils.c: av_pkt_dump_log2: use const pointersRoman Fietze2014-04-03
| | | | | | | | | | | | | | Use const pointers to AVPacket and AVStream. Signed-off-by: Roman Fietze <roman.fietze@telemotive.de> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '25b32586566f285d797737863c97a1c5c9c84e2b'Michael Niedermayer2014-03-24
|\| | | | | | | | | | | | | | | | | | | | | * commit '25b32586566f285d797737863c97a1c5c9c84e2b': lavf: add an AVStream field for exporting stream-global side data Conflicts: libavformat/utils.c libavformat/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavf: add an AVStream field for exporting stream-global side dataAnton Khirnov2014-03-24
| |
* | avformat: extracting NTP timestamp from RTCPFred Rothganger2014-03-12
| | | | | | | | | | | | | | | | For muxing, it accepts both 0 and AV_NOPTS_VALUE. For demuxing, it will present AV_NOPTS_VALUE when start_time_realtime is unknown. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Documented av_dump_formatAnshul Maheshwari2014-03-11
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/utils: detect MPEG streams with faulty DTS and discard affected DTSMichael Niedermayer2014-03-03
| | | | | | | | | | | | Fixes issue2.ts Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/utils: compute_pkt_fields: Fix DTS for the case where has_b_frames ↵Michael Niedermayer2014-02-22
| | | | | | | | | | | | | | | | is too large but the correct one is constant Fixes issue1.m2ts Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2014-02-17
|\| | | | | | | | | | | | | * qatar/master: doxygen: Replace @parblock syntax with manual linebreaks Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * doxygen: Replace @parblock syntax with manual linebreaksDiego Biurrun2014-02-17
| | | | | | | | @parblock is only supported in very recent Doxygen versions.
* | Merge commit '4d7ab5cfebef91820af2933ef2f622ea598e6b53'Michael Niedermayer2014-02-17
|\| | | | | | | | | | | | | | | | | | | * commit '4d7ab5cfebef91820af2933ef2f622ea598e6b53': doxygen: Add a number of missing function parameter descriptions Conflicts: libavformat/avformat.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * doxygen: Add a number of missing function parameter descriptionsDiego Biurrun2014-02-17
| |
* | lavd: add list devices APILukasz Marek2014-02-16
| | | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
* | lavf: add write_uncoded_frame() API.Nicolas George2014-02-11
| |
* | Merge commit '394fb56c29eee7f4f8f0334d8b5d30d3c54ac703'Michael Niedermayer2014-02-10
|\| | | | | | | | | | | | | * commit '394fb56c29eee7f4f8f0334d8b5d30d3c54ac703': lavf: always unref the packet passed to av_interleaved_write_frame() on error Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavf: always unref the packet passed to av_interleaved_write_frame() on errorAnton Khirnov2014-02-10
| |
* | Merge commit '18c896be3d8e926ef806e7de29c4a168d7763389'Michael Niedermayer2014-02-10
|\| | | | | | | | | | | | | * commit '18c896be3d8e926ef806e7de29c4a168d7763389': lavf: extend / improve the AVFormatContext doxy Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavf: extend / improve the AVFormatContext doxyAnton Khirnov2014-02-10
| |
* | Merge commit '54f7e79d4706a8343dad1d8da51b7d3d3b2cd3b2'Michael Niedermayer2014-02-10
|\| | | | | | | | | | | | | * commit '54f7e79d4706a8343dad1d8da51b7d3d3b2cd3b2': lavf: add some basic documentation of the muxing process Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavf: add some basic documentation of the muxing processAnton Khirnov2014-02-10
| |
* | Merge commit '4c750599509c3973afbe2850953a1fb963f696e5'Michael Niedermayer2014-02-10
|\| | | | | | | | | | | | | * commit '4c750599509c3973afbe2850953a1fb963f696e5': lavf: rewrite the av_write_frame() doxy Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavf: rewrite the av_write_frame() doxyAnton Khirnov2014-02-10
| | | | | | | | | | Remove some vague / incorrect statements and make the text more specific and less confusing.
* | Merge commit 'ad7f2b69a546ec65ef6b11e1a0fd58e6bb66bc4b'Michael Niedermayer2014-02-10
|\| | | | | | | | | | | | | * commit 'ad7f2b69a546ec65ef6b11e1a0fd58e6bb66bc4b': lavf: rewrite the av_interleaved_write_frame() doxy Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavf: rewrite the av_interleaved_write_frame() doxyAnton Khirnov2014-02-10
| | | | | | | | | | Remove some vague / incorrect statements and make the text more specific and less confusing.
* | Merge commit 'd9ae1031f5edbd25c8526b4cb51aba66d3bee931'Michael Niedermayer2014-02-05
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'd9ae1031f5edbd25c8526b4cb51aba66d3bee931': lavf: improve handling of sparse streams when muxing Conflicts: doc/APIchanges libavformat/avformat.h libavformat/mux.c libavformat/options_table.h libavformat/version.h See: 37ed5df5c5e06a55724fb9eb215da1594b648282 Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavf: improve handling of sparse streams when muxingLuca Barbato2014-02-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently ff_interleave_packet_per_dts() waits until it gets a frame for each stream before outputting packets in interleaved order. Sparse streams (i.e. streams with much fewer packets than the other streams, like subtitles or audio with DTX) tend to add up latency and in specific cases end up allocating a large amount of memory. Emit the top packet from the packet_buffer if it has a time delta larger than a specified threshold. Original report of the issue and initial proposed solution by mus.svz@gmail.com. Bug-id: 31 Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | Merge commit '33c859c142ef3f49b7a6227014ad92a680cf4d74'Michael Niedermayer2014-02-04
|\| | | | | | | | | | | | | | | | | | | | | | | * commit '33c859c142ef3f49b7a6227014ad92a680cf4d74': lavf: ignore attachment streams for interleaving purposes Conflicts: libavformat/avformat.h libavformat/internal.h libavformat/mux.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavf: ignore attachment streams for interleaving purposesAnton Khirnov2014-02-04
| | | | | | | | Those streams should never get any packets by definition.
* | avformat: use AVPROBE_SCORE_STREAM_RETRY, instead of AVPROBE_SCORE_RETRY - 1Michael Niedermayer2014-02-02
| | | | | | | | | | | | This makes the code clearer Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavf: add output_ts_offset option to AVFormatContextStefano Sabatini2014-02-02
| | | | | | | | | | This option can be generally useful to set an output offset, needed when setting an absolute index in the output.
* | lavf/avformat.h: fix typosStefano Sabatini2014-02-02
| |
* | lavd: add avdevice_dev_to_app_control_message APILukasz Marek2014-01-27
| | | | | | | | | | | | New API allows to send messages from devices to application. Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>