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
2016-06-14avformat/mpegts: enhance logging in trace modeAman Gupta
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-06-14avformat/mpegts: adjust probe score for low check_countMichael Niedermayer
Fixes mis-detection of tiff as mpegts Fixes Ticket5565 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-06-07avformat/mpegts: Fix probing of mpegts with invalid ASCMichael Niedermayer
Fixes Ticket5566 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-06-06avformat/mpegts: Do not trust BSSD descriptor, it is sometimes not an S302M ↵Michael Niedermayer
stream Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-05-19lavf/mpegts: add ID3 entry to the REGD_types arrayStefano Sabatini
This allows to recognize ID3 packets from their corresponding descriptor tag.
2016-05-04cosmetics: Fix spelling mistakesVittorio Giovara
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2016-05-03lavf/mpegts: Add E-AC3 registered stream specifier "EAC3".Carl Eugen Hoyos
Related to ticket #5501.
2016-05-03mpegts: Validate the SL Packet Header ConfigurationLuca Barbato
timeStampLength, OCRLength and AU_Length have well specified upper boundaries. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2016-05-01lavf/mpegts: Return small probe score for very short transport streams.Carl Eugen Hoyos
Fixes Debian bug 823098.
2016-04-24avformat/mpegts: Skip over broken 0x80 headersMichael Niedermayer
This fixes demuxing of 01c56b0dc1.ts Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-04-24avformat/mpegts: factor duplicate seek back code into mpegts_resyncMichael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-04-14Merge commit '9765549f551ff40869aee1a6492b6a976c86cfe9'Derek Buitenhuis
* commit '9765549f551ff40869aee1a6492b6a976c86cfe9': mpegts: Forward the errors on mpeg4 objects parsing Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-04-10Merge commit '9200514ad8717c63f82101dc394f4378854325bf'Derek Buitenhuis
* commit '9200514ad8717c63f82101dc394f4378854325bf': lavf: replace AVStream.codec with AVStream.codecpar This has been a HUGE effort from: - Derek Buitenhuis <derek.buitenhuis@gmail.com> - Hendrik Leppkes <h.leppkes@gmail.com> - wm4 <nfxjfg@googlemail.com> - Clément Bœsch <clement@stupeflix.com> - James Almer <jamrial@gmail.com> - Michael Niedermayer <michael@niedermayer.cc> - Rostislav Pehlivanov <atomnuker@gmail.com> Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-04-10avformat/mpegts: Remove unused argument from analyze()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-04-10avformat/mpegts: Check adaption field control in analyze() more instead of ↵Michael Niedermayer
transport_error_indicator transport_error_indicator is not required to be 0 Fixes probing Fixes Ticket 4862 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-03-20mpegts: Forward the errors on mpeg4 objects parsingLuca Barbato
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2016-02-23lavc/lavf: transmit stream_id information for mpegts KLV data packetsStefano Sabatini
This allows to copy information related to the stream ID from the demuxer to the muxer, thus allowing for example to retain information related to synchronous and asynchronous KLV data packets. This information is used in the muxer when remuxing to distinguish the two kind of packets (if the information is lacking, data packets are considered synchronous). The fate reference changes are due to the use of av_packet_merge_side_data(), which increases the size of the output packet size, since side data is merged into the packet data.
2016-02-23lavf: replace AVStream.codec with AVStream.codecparAnton Khirnov
Currently, AVStream contains an embedded AVCodecContext instance, which is used by demuxers to export stream parameters to the caller and by muxers to receive stream parameters from the caller. It is also used internally as the codec context that is passed to parsers. In addition, it is also widely used by the callers as the decoding (when demuxer) or encoding (when muxing) context, though this has been officially discouraged since Libav 11. There are multiple important problems with this approach: - the fields in AVCodecContext are in general one of * stream parameters * codec options * codec state However, it's not clear which ones are which. It is consequently unclear which fields are a demuxer allowed to set or a muxer allowed to read. This leads to erratic behaviour depending on whether decoding or encoding is being performed or not (and whether it uses the AVStream embedded codec context). - various synchronization issues arising from the fact that the same context is used by several different APIs (muxers/demuxers, parsers, bitstream filters and encoders/decoders) simultaneously, with there being no clear rules for who can modify what and the different processes being typically delayed with respect to each other. - avformat_find_stream_info() making it necessary to support opening and closing a single codec context multiple times, thus complicating the semantics of freeing various allocated objects in the codec context. Those problems are resolved by replacing the AVStream embedded codec context with a newly added AVCodecParameters instance, which stores only the stream parameters exported by the demuxers or read by the muxers.
2015-12-24avformat/mpegts: consider stream_type 4 just a hint toward mp3 and not definiteMichael Niedermayer
Fixes Ticket 4864 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-12-12avformat: Add av_program_add_stream_index()Michael Niedermayer
This will be used by the subsequent commit(s) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-12-04avformat: use AV_OPT_TYPE_BOOL in a bunch of placesClément Bœsch
2015-12-03lavf/mpegts: use AVERROR_INVALIDDATA instead of AVERROR(EINTR).Nicolas George
2015-11-05avformat/mpegts: Only start probing data streams within probe_packetsMichael Niedermayer
Fixes assertion failure Fixes: 4321db8ac331f5967ebfbfe80ce5eb78/signal_sigabrt_7ffff6ae7cc9_7213_0d6457b9d6897fa7c78507fa5de53510.ts Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-10-27mpegts: Fix FATE seek testHendrik Leppkes
2015-10-27Replace remaining occurances of av_free_packet with av_packet_unrefHendrik Leppkes
2015-10-27Merge commit 'ce70f28a1732c74a9cd7fec2d56178750bd6e457'Hendrik Leppkes
* commit 'ce70f28a1732c74a9cd7fec2d56178750bd6e457': avpacket: Replace av_free_packet with av_packet_unref Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2015-10-26avpacket: Replace av_free_packet with av_packet_unrefLuca Barbato
`av_packet_unref` matches the AVFrame ref-counted API and can be used as a drop in replacement. Deprecate `av_free_packet`.
2015-09-29Merge commit 'cc8db760616a7ec3bd39b22ca45888c01326db13'Hendrik Leppkes
* commit 'cc8db760616a7ec3bd39b22ca45888c01326db13': mpegts: use avcodec_get_type() to set codec_type Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2015-09-28mpegts: use avcodec_get_type() to set codec_typewm4
Note that this slightly changes behavior: it sets AVMEDIA_TYPE_UNKNOWN if the codec type is unknown. This should be ok. Signed-off-by: Anton Khirnov <anton@khirnov.net>
2015-09-17lavc/lavf: remove incompatible abi checks for the new 64bit fieldsJames Almer
Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: James Almer <jamrial@gmail.com>
2015-09-15lavf: Switch probesize and max_analyze_duration to 64bit.Carl Eugen Hoyos
Both are only accessible through AVOptions.
2015-09-01mpegts: demux BluRay text subtitlesPetri Hintukainen
Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-01mpegts: fix demuxing PES private stream 2Petri Hintukainen
PES header size is 6 bytes (00 00 01 bf XX XX), not 0. BluRay text subtitles use private stream 2. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-01lavf: Remove probesize32 and max_analyze_duration32 on version bump.Carl Eugen Hoyos
Add FF_API_PROBESIZE_32 to allow removing 32bit probesize and 32bit max_analyze_duration after the next libavformat version bump.
2015-08-18Replace av_dlog with ff_dlog.Ronald S. Bultje
ff_dlog checks compilability, and is non-public. av_dlog is deprecated and no longer exists if FF_API_DLOG=0.
2015-08-14lavf/mpegts: apply misc option description fixesStefano Sabatini
Use impersonal form, drop capitalization and ending dot.
2015-07-28Merge commit '059a934806d61f7af9ab3fd9f74994b838ea5eba'Michael Niedermayer
* commit '059a934806d61f7af9ab3fd9f74994b838ea5eba': lavc: Consistently prefix input buffer defines Conflicts: doc/examples/decoding_encoding.c libavcodec/4xm.c libavcodec/aac_adtstoasc_bsf.c libavcodec/aacdec.c libavcodec/aacenc.c libavcodec/ac3dec.h libavcodec/asvenc.c libavcodec/avcodec.h libavcodec/avpacket.c libavcodec/dvdec.c libavcodec/ffv1enc.c libavcodec/g2meet.c libavcodec/gif.c libavcodec/h264.c libavcodec/h264_mp4toannexb_bsf.c libavcodec/huffyuvdec.c libavcodec/huffyuvenc.c libavcodec/jpeglsenc.c libavcodec/libxvid.c libavcodec/mdec.c libavcodec/motionpixels.c libavcodec/mpeg4videodec.c libavcodec/mpegvideo.c libavcodec/noise_bsf.c libavcodec/nuv.c libavcodec/nvenc.c libavcodec/options.c libavcodec/parser.c libavcodec/pngenc.c libavcodec/proresenc_kostya.c libavcodec/qsvdec.c libavcodec/svq1enc.c libavcodec/tiffenc.c libavcodec/truemotion2.c libavcodec/utils.c libavcodec/utvideoenc.c libavcodec/vc1dec.c libavcodec/wmalosslessdec.c libavformat/adxdec.c libavformat/aiffdec.c libavformat/apc.c libavformat/apetag.c libavformat/avidec.c libavformat/bink.c libavformat/cafdec.c libavformat/flvdec.c libavformat/id3v2.c libavformat/isom.c libavformat/matroskadec.c libavformat/mov.c libavformat/mpc.c libavformat/mpc8.c libavformat/mpegts.c libavformat/mvi.c libavformat/mxfdec.c libavformat/mxg.c libavformat/nutdec.c libavformat/oggdec.c libavformat/oggparsecelt.c libavformat/oggparseflac.c libavformat/oggparseopus.c libavformat/oggparsespeex.c libavformat/omadec.c libavformat/rawdec.c libavformat/riffdec.c libavformat/rl2.c libavformat/rmdec.c libavformat/rtpdec_latm.c libavformat/rtpdec_mpeg4.c libavformat/rtpdec_qdm2.c libavformat/rtpdec_svq3.c libavformat/sierravmd.c libavformat/smacker.c libavformat/smush.c libavformat/spdifenc.c libavformat/takdec.c libavformat/tta.c libavformat/utils.c libavformat/vqf.c libavformat/westwood_vqa.c libavformat/xmv.c libavformat/xwma.c libavformat/yop.c Merged-by: Michael Niedermayer <michael@niedermayer.cc>
2015-07-27lavc: Consistently prefix input buffer definesVittorio Giovara
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2015-07-27avformat/mpegts: Replace silent cliping of language_count by assertsMichael Niedermayer
Failure should not be possible, if it does occur then the code is buggy and should be fixed not silently clip Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-07-27avformat/mpegts: Use DVB_TELETEXT timestamp heuristic also for DVB subtitlesMichael Niedermayer
Fixes Ticket4200 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-06-30mpegts: Add jpeg2000 stream typeJohn Högberg
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2015-06-30Merge commit '42bc768e5240ec01237ad2eb7c69b917158de258'Michael Niedermayer
* commit '42bc768e5240ec01237ad2eb7c69b917158de258': mpegts: Add jpeg2000 stream type Conflicts: libavformat/mpegts.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-06-29lavf/mpegts: Return 0 if the probe function does not detect mpegts.Carl Eugen Hoyos
Reduces console spamming on debug level.
2015-06-23avformat/mpegts: Use STREAM_TYPE_PRIVATE_DATA instead of 6Michael Niedermayer
Suggested-by: Wolfgang Lorenz <wl-chmw@gmx.de> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-06-12avformat/mpegts: recognizes and export private streamsMichael Niedermayer
Based on patch by Wolfgang Lorenz <wl-chmw@gmx.de> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-06-11avformat/mpegts: Do not ignore registration descriptors when probing is enabledMichael Niedermayer
This is required for the (not yet in git) private stream detection/export, no other testcase known Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-26avformat/mpegts: Avoid float in bitrate calculationMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-01avformat/mpegts: Detect changes in packet through CRC instead of just the ↵Michael Niedermayer
5bit version Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-01avformat/mpegts: reset last_ver on corrupted packetsMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-01avformat/mpegts: Factorize version checking code outMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>