Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-07-14avformat: add av_stream_get_parser() to access avformat AVParserMichael Niedermayer
The AVStream.parser field is considered private and its location cannot be preserved while preserving also ABI compatibility to libav, as libav added fields before it. Some tools like ffmpeg.c access this field though Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-07-13avformat/utils: do not wait for packets from discarded streams for genptsMichael Niedermayer
Fixes long loop Fixes Ticket3208 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-07-12avformat/mpegts: dont clear programs during probingMichael Niedermayer
Fixes Ticket 3763 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-07-11avformat/mpegts: skip updating programs/streams when determining durationMichael Niedermayer
Fixes Ticket2441 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-06-19avformat/utils: better probing for duration in estimate_timings_from_pts()Gaullier Nicolas
It seems it is more secure to simply duplicate the computing routine from compute_pkt_fields to estimate_timings_from_pts. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-06-18Merge commit '194be1f43ea391eb986732707435176e579265aa'Michael Niedermayer
* commit '194be1f43ea391eb986732707435176e579265aa': lavf: switch to AVStream.time_base as the hint for the muxer timebase Conflicts: doc/APIchanges libavformat/filmstripenc.c libavformat/movenc.c libavformat/mxfenc.c libavformat/oggenc.c libavformat/swf.h libavformat/version.h tests/ref/lavf/mkv Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-06-18lavf: switch to AVStream.time_base as the hint for the muxer timebaseAnton Khirnov
Previously, AVStream.codec.time_base was used for that purpose, which was quite confusing for the callers. This change also opens the path for removing AVStream.codec. The change in the lavf-mkv test is due to the native timebase (1/1000) being used instead of the default one (1/90000), so the packets are now sent to the crc muxer in the same order in which they are demuxed (previously some of them got reordered because of inexact timestamp conversion).
2014-06-16Merge commit '2dc265619a2fc9c6f9aff7ac2bcdbcb90e9610cb'Michael Niedermayer
* commit '2dc265619a2fc9c6f9aff7ac2bcdbcb90e9610cb': lavf: group dump functions together Conflicts: libavformat/utils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-06-14lavf: group dump functions togetherVittorio Giovara
2014-06-10Merge remote-tracking branch 'cehoyos/master'Michael Niedermayer
* cehoyos/master: Allow values >31bit for -analyzeduration. Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-06-10Allow values >31bit for -analyzeduration.Carl Eugen Hoyos
2014-06-10avformat/utils: dont wait for a first dts on demuxers which have ↵Michael Niedermayer
AVFMT_NOTIMESTAMPS set Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-06-02avformat/utils/avformat_find_stream_info: Move max_analyze_duration setup ↵Michael Niedermayer
out of the packet loop Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-06-02avformat/utils: Call ff_rfps_add_frame() only for videoMichael Niedermayer
This avoids some unneeded computations Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-06-02Report "unknown codec" instead of "unspecifed size" if the codec is unknown.Carl Eugen Hoyos
2014-05-31Use rc_max_rate in av_find_best_stream() if bitrate == 0.Carl Eugen Hoyos
Fixes ticket #2042.
2014-05-28libavformat/utils: Warning about invalid cover art instead of an errorLazaros Koromilas
This way other streams can still be used with the -map option. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-05-28libavformat/utils: Fix segfault on m4a cover artwork parsingLazaros Koromilas
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-05-27avformat/utils: set max analyze duration depending on the circumstancesMichael Niedermayer
Fixes Ticket3673 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-05-27avformat: move default for max_analyze_duration into utils.cMichael Niedermayer
this way we can do better tha a single fixed constant value Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-05-26avformat: add format_probesize to allow tuning the maximum amount of bytes ↵Michael Niedermayer
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>
2014-05-23avformat/utils: Check end time in avpriv_new_chapter()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-05-21avformat: add av_stream_get_end_pts()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-05-20Merge commit 'c23c96b638cbf6c489fd301e6b3d5555632fba37'Michael Niedermayer
* commit 'c23c96b638cbf6c489fd301e6b3d5555632fba37': lavf: add av_stream_get_side_data Conflicts: doc/APIchanges libavformat/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-05-20lavf: add av_stream_get_side_dataJanne Grunau
2014-05-16estimate_timings_from_pts: Execute max 1 iteration extra to find more than 1 ↵Michael Niedermayer
duration Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-05-16estimate_timings_from_pts: Try to get the duration for all streamsGaullier Nicolas
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-05-16estimate_timings_from_pts: simplify filesize end checkMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-05-16estimate_timings_from_pts: Also consider packet durationGaullier Nicolas
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-05-16estimate_timings_from_pts: Warn about A/V streams for which no duration ↵Gaullier Nicolas
could be set Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-05-12avformat/utils: if the id3 tag is too large for data after it to become ↵Michael Niedermayer
available, use the full AVPROBE_SCORE_EXTENSION if extension matches Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-05-12avformat/utils: limit probe score in the id3 case only if there is a chance ↵Michael Niedermayer
that data after the id3 tag will become available Fixes ticket3327 (sample.mp3) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-05-07avformat/utils: fix const warningsMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-05-03probe: Support AAC_LATM in set_codec_from_probe_dataLuca Barbato
2014-04-28avformat/utils: Set the average frame rate from the r_frame_rate if the ↵Michael Niedermayer
stream appears to be cfr This permits the average fps to be set in more cases Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-04-28avformat/utils: Ensure that average fps is probed if requested by the user ↵Michael Niedermayer
even if tb_unreliable() is 0 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-04-28avformat/utils: prevent r frame rate from being set larger than 1/tbMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-04-28avformat/utils: add gif to tb_unreliable()Michael Niedermayer
This improves the used timebases when gif is the source Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-04-28lavc: eliminate tb_unreliable()Anton Khirnov
If framerate estimation is enabled, it makes sense to always apply it, instead of limiting it to a few specific cases.
2014-04-22Merge commit 'f9157463dbcd2db8fe9504197c0c04d0d7d04f31'Michael Niedermayer
* commit 'f9157463dbcd2db8fe9504197c0c04d0d7d04f31': lavf: do not use the parser duration for video Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-04-22lavf: do not use the parser duration for videoAnton Khirnov
The parser has no way of knowing video duration, and therefore no video parsers set it.
2014-04-21avformat: Fix decoder search in find stream infoMichael Niedermayer
Fixes Ticket3548 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-04-19ff_id3v2_read: add option to limit ID3 magic number searchPeter Ross
Several chunked formats (AIFF, IFF,DSF) store ID3 metadata within an 'ID3 ' chunk tag. If such chunks are stored sequentially, it is possible for the ID3v2 parser to confuse the chunk tag for the ID3 magic number. e.g. [1st chunk tag ('ID3 ') | chunk size] [ID3 magic number | metadata ...] [2nd chunk tag ('ID3 ') | chunk size] [ID3 magic number | metadata ...] Fixes ticket #3530. Signed-off-by: Peter Ross <pross@xvid.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-04-15avformat/utils: fix typoMichael Niedermayer
Found-by: reimar Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-04-15avformat: add av_format_inject_global_side_data(), and disable it by defaultMichael Niedermayer
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>
2014-04-13avformat/utils: reinject global side data on seeksMichael Niedermayer
This fixes ffplay replaygain with seeking Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-04-13avformat/utils: factorize if()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-04-13avformat/utils: Inject global side data into first packet.Michael Niedermayer
This fixes replaygain handling in ffplay and probably other applications. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-04-10lavf/utils: fix mem leakLukasz Marek
Calling avformat_free_context() right after avformat_alloc_output_context2() leaved option's default values not freed. Options were freed only in av_write_trailer(). Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-04-05Show stream number when warning about stream without start time.Carl Eugen Hoyos