summaryrefslogtreecommitdiff
path: root/libavformat
Commit message (Collapse)AuthorAge
* spherical: Change types of bounding and pad to uint32_tVittorio Giovara2017-03-17
| | | | | | | | | These values are defined to be 32bit in the specification, so it makes more sense to store them as fixed width. Based on a patch by Micahel Niedermayer <michael@niedermayer.cc>. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* Merge commit '0638b99cdba52554691fc668d9e477bc184c7a33'Matthieu Bouron2017-03-17
|\ | | | | | | | | | | | | | | | | | | * commit '0638b99cdba52554691fc668d9e477bc184c7a33': aiff: Skip padding byte for odd-sized chunks Also removes to odd-size checks from get_aiff_header and get_meta to use the generic path introduced by the original commit. Merged-by: Matthieu Bouron <matthieu.bouron@gmail.com>
| * aiff: Skip padding byte for odd-sized chunksDiego Biurrun2016-08-10
| | | | | | | | Bug-Id: 660
| * m4vdec: Check for non-startcode 00 00 00 sequences in probeMichael Niedermayer2016-08-03
| | | | | | | | | | | | | | This makes the m4v detection less trigger-happy. Bug-Id: 949 Signed-off-by: Diego Biurrun <diego@biurrun.de>
| * Revert "Don't use expressions with side effects in macro parameters"Martin Storsjö2016-08-02
| | | | | | | | | | | | | | | | | | This reverts commit 25bacd0a0c32ae682e6f411b1ac9020aeaabca72. Since 230b1c070, the bytewise AV_W*() macros only expand their argument once, so revert to the more readable version of these. Signed-off-by: Martin Storsjö <martin@martin.st>
| * Don't use expressions with side effects in macro parametersMartin Storsjö2016-07-31
| | | | | | | | | | | | | | | | | | AV_WB32 can be implemented as a macro that expands its parameters multiple times (in case AV_HAVE_FAST_UNALIGNED isn't set and the compiler doesn't support GCC attributes); make sure not to read multiple times from the source in this case. Signed-off-by: Martin Storsjö <martin@martin.st>
* | lavf/mpegtsenc: clarify pcr_period unit of measurementLou Logan2017-03-16
| | | | | | | | | | | | pcr_period is in milliseconds. Signed-off-by: Lou Logan <lou@lrcd.com>
* | Merge commit 'ed1cd81076434b76f37576d4d806973476a8e96c'Clément Bœsch2017-03-15
|\| | | | | | | | | | | | | | | | | | | | | * commit 'ed1cd81076434b76f37576d4d806973476a8e96c': flac demuxer: improve probing Suggested commit very closely matches our code, except with regards to AVPROBE_SCORE_EXTENSION. The code layout is mostly merged but preserves our behaviour. Merged-by: Clément Bœsch <u@pkh.me>
| * flac demuxer: improve probingAnton Khirnov2016-07-31
| | | | | | | | | | Extend the probe function to validate the STREAMINFO block that must follow the fLaC ID tag.
| * Fix instances of broken indentation found by gcc 6Anton Khirnov2016-07-31
| |
| * mov: Validate the ID numberLuca Barbato2016-07-29
| | | | | | | | | | | | IDs in MOV start from 1. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* | avformat/hlsenc: fix duration wrong when no pkt durationSteven Liu2017-03-15
| | | | | | | | | | | | | | when cannot get pkt duration, hlsenc segments duration will be set to 0, this patch can fix it. Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* | ffmpeg, ffprobe: don't "merge" side data into packet data by defaultwm42017-03-14
| | | | | | | | | | | | | | | | Preparation for potentially disabling merged side data by default in the libs. Do this in particular because it affects fate tests. The changed tests either reflect added packet side data, or the changed packet size due to merged side data removal reducing the packet size.
* | lavf/avio: Be more explicit in logging white/black list matchesAlexander Strasser2017-03-14
| | | | | | | | | | | | | | | | | | The current form of the messages indicating matches in the white or black lists seems to be a bit too much relying on context. Make the messages more explicit. Signed-off-by: Alexander Strasser <eclipse7@gmx.net>
* | lavf/avio: Remove unnecessary escaping of ' in string literalsAlexander Strasser2017-03-14
| | | | | | | | Signed-off-by: Alexander Strasser <eclipse7@gmx.net>
* | avformat/flvenc: flx flvflags no_metadata bugSteven Liu2017-03-14
| | | | | | | | | | | | | | When use flvflags no_metadata , the FLV header will be cover by write tailer This commit fix the bug Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* | avformat/hlsenc: fix ticket 6231Steven Liu2017-03-14
| | | | | | | | | | | | check if the hls_flags is byterange_mode and check if should close fd Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* | avformat/hlsenc: second_levels flags process function extractSteven Liu2017-03-13
| | | | | | | | | | | | | | the SECOND_LEVEL* flags process and name is too long extract all of them output to funtions, make code clear Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* | avcodec: add XPM decoder and demuxerParas Chadha2017-03-12
| | | | | | | | Signed-off-by: Paras Chadha <paraschadha18@gmail.com>
* | lavf/dashenc: update bitrates on dash_write_trailerPrzemysław Sobala2017-03-11
| | | | | | | | | | | | | | Provides a way to change bandwidth parameter inside DASH manifest after a non-CBR H.264 encoding. Caller now is able to compute the bitrate by itself, after all packets have been written, and then set that value in AVFormatContext->streams->codecpar->bit_rate before calling av_write_trailer. As a result that value will be set in DASH manifest. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/matroskaenc: add support for Spherical Video elementsJames Almer2017-03-09
| | | | | | | | | | Reviewed-by: Vittorio Giovara <vittorio.giovara@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* | hls: pass AVFormatContext flags to sub demuxerwm42017-03-09
| |
* | concatdec: pass AVFormatContext flags to sub demuxerwm42017-03-09
| |
* | matroskadec: cosmetics: Rearrange checks for projection-depedendent propertiesVittorio Giovara2017-03-07
| |
* | mov: Fix checking layout and loading padding for cubemapsVittorio Giovara2017-03-07
| |
* | mkv: Export bounds and padding from spherical metadataVittorio Giovara2017-03-07
| | | | | | | | Update the fate test as needed.
* | mov: Export bounds and padding from spherical metadataVittorio Giovara2017-03-07
| | | | | | | | Update the fate test as needed.
* | spherical: Add tiled equirectangular type and projection-specific propertiesVittorio Giovara2017-03-07
| | | | | | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | avfilter/allformats: make av_register_all thread safeMuhammad Faiz2017-03-07
| | | | | | | | | | | | | | use ff_thread_once Suggested-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
* | avformat/flvdec: remove meaningless warningwm42017-03-06
| | | | | | | | | | | | Ever since the codecpar changes, this has been always printed when opening a flv file. This is because the codecpar changes made all streams to be added lazily as read_packet is called.
* | avformat/vivo: fix logic error in checking version in probePaul B Mahol2017-03-05
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | lavf/matroska: Support QDMC.Carl Eugen Hoyos2017-03-05
| |
* | avformat/hlsenc: move the segment files handler close to before temp flags ↵Steven Liu2017-03-04
| | | | | | | | | | | | | | | | process fix ticket: #6204 Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* | lavf/matroska: Support codec ID V_FFV1 for demuxing.Carl Eugen Hoyos2017-03-03
| | | | | | | | Fixes ticket #6206.
* | avcodec: add ClearVideo decoderKostya Shishkov2017-03-02
| | | | | | | | | | | | Only I-frames are decoded for now. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avformat: fix AVStream private fields markerwm42017-03-02
| | | | | | | | | | | | | | | | | | | | | | | | Public fields were added after the private fields (negating the entire point of this). New private fields go into AVStreamInternal anyway. The new marker was set by guessing which fields are supposed to be private and wshich not. recommended_encoder_configuration is accessed by ffserver_config.c directly, and is supposed to use the public API. ffmpeg.c accesses AVStream.cur_dts, even though it's a private field, but that seems to be an older error.
* | avcodec, avutil, avformat: remove AVOption requirement for some fieldswm42017-03-02
| | | | | | | | | | | | | | | | | | | | Allow all struct fields to be accessed directly, as long as they're public. Before this change, many fields were "public", but could be accessed via AVOption only. This meant they were effectively not public, but were present for documentation purposes, which was incredibly confusing at best.
* | lavf/flacdec: Return maximum score if the streaminfo header is valid.Carl Eugen Hoyos2017-03-02
| |
* | avformat/oggdec: fix leak in ogg_restore()Michael Niedermayer2017-03-02
| | | | | | | | | | | | | | Fixes: asan_bug_leak Found-by: Thomas Guilbert <tguilbert@google.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/oggdec: Factor free_stream outMichael Niedermayer2017-03-02
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/oggdec: remove unused parameter of ogg_restore()Michael Niedermayer2017-03-02
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | lavf/matroskadec: Fix demuxing sipr.Carl Eugen Hoyos2017-02-28
| | | | | | | | Regression since 2c8d876d
* | avformat/hlsenc: don't use %s for strftime on msvcHendrik Leppkes2017-02-25
| | | | | | | | | | | | | | | | | | MSVC doesn't support the %s time format, and instead of returning an error the invalid parameter handler is invoked which (by default) terminates the process. Reviewed-by:Steven Liu <lq@chinaffmpeg.org> Signed-off-by: Hendrik Leppkes <h.leppkes@gmail.com>
* | avformat/hlsenc: fix hls_flags temp_file bugSteven Liu2017-02-25
| | | | | | | | | | | | | | | | | | refer to ticket id: #6170 rename file from temp to origin name after complete current segment Reviewed-by: Aman Gupta <ffmpeg@tmm1.net> Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* | avcodec: add ScreenPressor decoderPaul B Mahol2017-02-22
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avformat/matroskaenc: don't write DisplayUnit with value Unknown on WebM filesJames Almer2017-02-21
| | | | | | | | | | | | | | Value 4 (Unknown) is for the time being part of the Matroska spec but not supported by WebM Addresses ticket #6176
* | avformat/sierravmd: Support for Shivers 2 stereo tracksNicolas Roy-Renaud2017-02-21
| | | | | | | | | | | | Signed-off-by: Nicolas Roy-Renaud <nicolas.roy-renaud.1@ens.etsmtl.ca> Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/hlsenc: fix cid 1401346 Dereferencing pointer errorSteven Liu2017-02-21
| | | | | | | | | | | | | | check if proto is null before av_strcasecmp CID: 1401346 Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* | avformat/mpl2dec: skip BOM when probingPaul B Mahol2017-02-21
| | | | | | | | | | | | Fixes #5442. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | lavf/mpeg: Initialize a stack variable used by memcmp().Carl Eugen Hoyos2017-02-21
| | | | | | | | | | | | Silence a valgrind warning. Fixes ticket #6160.