summaryrefslogtreecommitdiffstats
path: root/libavformat
Commit message (Collapse)AuthorAgeFilesLines
* mov: Export spherical informationVittorio Giovara2016-12-073-1/+269
| | | | | | | This implements Spherical Video V1 and V2, as described in the spatial-media collection by Google. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavc: Add spherical packet side data APIVittorio Giovara2016-12-071-0/+30
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* build: Separate avisynth and avxsynth supportDiego Biurrun2016-12-062-11/+10
| | | | This simplifies the code.
* Remove Plan 9 supportDiego Biurrun2016-12-031-1/+1
| | | | | | Supporting the system was a nice joke for the 9 release, but it has run its course. Nowadays Plan 9 receives no testing and has no practical usefulness.
* avisynth: Cast to the right type when loading avisynth library functionsDiego Biurrun2016-11-291-1/+2
| | | | Fixes a number of related warnings.
* build: Drop gcrypt supportDiego Biurrun2016-11-254-40/+2
| | | | GnuTLS in combination with gcrypt has been deprecated since 2010.
* rtmpdh: Do global initialization before running the testMartin Storsjö2016-11-241-0/+2
| | | | | | | | | The rtmpdh code can use crypto libraries which may require a process global init. (gcrypt is one of the libraries where the rtmpdh test code can fail if global init hasn't been done, depending on gcrypt version.) Signed-off-by: Martin Storsjö <martin@martin.st>
* rdt: Convert to the new bitstream readerAlexandra Hájková2016-11-241-17/+18
|
* ogg: Convert to the new bitstream readerAlexandra Hájková2016-11-242-28/+33
|
* mpegts: Convert to the new bitstream readerAlexandra Hájková2016-11-241-23/+25
|
* matroska: use av_stream_add_side_data() for stereo3d side dataJames Almer2016-11-231-14/+8
| | | | | Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* mov: Use av_stream_add_side_data() for displaymatrix side dataJames Almer2016-11-231-13/+5
| | | | | Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* utils: Add av_stream_add_side_data()James Almer2016-11-233-11/+43
| | | | | | | | Functionally similar to av_packet_add_side_data(). Allows the use of an already allocated buffer as stream side data. Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* ape: Restructure DEBUG ifdefs to avoid unused function parameter warningsDiego Biurrun2016-11-221-2/+4
|
* rtpdec_mpeg4: const correctness for parse_fmtp_config()Diego Biurrun2016-11-211-1/+1
| | | | libavformat/rtpdec_mpeg4.c:282:38: warning: passing argument 2 of ‘parse_fmtp_config’ discards ‘const’ qualifier from pointer target type
* hlsenc: Fix the openssl supportLuca Barbato2016-11-181-0/+1
|
* hlsenc: Add encryption supportLuca Barbato2016-11-171-18/+198
| | | | Partially based on Christian Suloway <csuloway@globaleagleent.com> work.
* crypto: Add encryption supportChristian Suloway2016-11-171-21/+146
| | | | | | Signed-off-by: Christian Suloway <csuloway@globaleagleent.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* avisynth: Support pix_fmts added to AviSynth+Stephen Hutchinson2016-11-171-1/+165
| | | | | | | | | | | | | | | A number of new pix_fmts* have been added to AviSynth+: 16-bit packed RGB and RGBA 10-, 12-, 14, and 16-bit YUV 4:2:0, 4:2:2, and 4:4:4 8-, 10-, 12-, 14-, and 16-bit Planar RGB 8-, 10-, 12-, 14-, and 16-bit Planar YUVA and Planar RGBA 10-, 12-, 14-, and 16-bit GRAY variants 32-bit floating point Planar YUV(A), Planar RGB(A), and GRAY *some of which are not currently available pix_fmts here and were not added to the demuxer due to this Signed-off-by: Diego Biurrun <diego@biurrun.de>
* avisynth: Simplify the pix_fmt check for the newer AviSynth APIStephen Hutchinson2016-11-171-22/+5
| | | | | | | The values don't need to be hardcoded since the correct values are returned by avs_bits_per_pixel. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* avisynth: Fix setting stream timebaseMarton Balint2016-11-171-5/+3
| | | | | | | | | Stream timebase should be set using avpriv_set_pts_info, otherwise avctx->pkt_timebase is not correct, leading to A/V desync. Signed-off-by: Marton Balint <cus@passwd.hu> Reviewed-by: Stephen Hutchinson <qyot27@gmail.com> Signed-off-by: Diego Biurrun <diego@biurrun.de>
* mov: Fix identity matrix boolean logicVittorio Giovara2016-11-161-2/+2
| | | | | | | | This prevented the code from correctly exporting the rotation matrix which caused a few samples to be displayed wrong. Introduced in ecd2ec69ce10e13f6ede353d2def7c. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* Drop pointless void* castsDiego Biurrun2016-11-131-2/+1
|
* nut: Use correct function pointer casts instead of void*Diego Biurrun2016-11-123-5/+10
| | | | | Fixes several warnings of the type libavformat/nut.c:207:42: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic]
* matroskaenc: write updated STREAMINFO metadata for FLAC streams if availableJames Almer2016-11-101-0/+27
| | | | | | | | | | FLAC streams originating from the FLAC encoder send updated and more complete STREAMINFO metadata as part of the last packet, so write that to CodecPrivate instead of the incomplete one available in extradata during init. Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* matroskaenc: fix muxing AAC streams when using aac_adtstoasc bsfJames Almer2016-11-101-6/+74
| | | | | | | | | | | | aac_adtstoasc makes the aac extradata available only after the first packet is filtered, and as packet side data. Assume extradata will be available as part of the first packet if avpriv_mpeg4audio_get_config() fails the first time due to missing extradata and reserve space for the OutputSampleRate element in the Tracks master. Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* Use avpriv_report_missing_feature() where appropriateDiego Biurrun2016-11-0813-32/+28
|
* mov: Read multiple stsd from DVVittorio Giovara2016-11-081-0/+2
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* hevc: Support extradata changes from multiple stsdVittorio Giovara2016-11-081-7/+5
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* Drop unreachable break and return statementsDiego Biurrun2016-11-033-3/+0
|
* rtmpproto: Restructure zlib code to avoid unreachable code warningDiego Biurrun2016-11-021-4/+5
| | | | libavformat\rtmpproto.c(1165) : warning C4702: unreachable code
* mov: Evaluate the movie display matrixVittorio Giovara2016-11-012-14/+37
| | | | | | | | | | | This matrix needs to be applied after all others have (currently only display matrix from trak), but cannot be handled in movie box, since streams are not allocated yet. So store it in main context, and apply it when appropriate, that is after parsing the tkhd one. Fate tests are updated accordingly. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* openssl: Allow newer TLS versions than TLSv1Mark Thompson2016-10-311-1/+6
| | | | | | The use of TLSv1_*_method() disallows newer protocol versions; instead use SSLv23_*_method() and then explicitly disable the deprecated protocol versions which should not be supported.
* Revert "rtmpproto: Don't include a client version in the unencrypted C1 ↵Luca Barbato2016-10-301-1/+4
| | | | | | handshake" This reverts commit 7d8d726be7dc46343ab1c98c339c1ed44bcb07c1.
* dash: Use correct ISO C scanf conversion specifierDiego Biurrun2016-10-281-1/+1
|
* srt: Adjust signedness of sscanf format stringsDiego Biurrun2016-10-281-1/+1
| | | | Fixes several warnings from -Wformat.
* Use ISO C printf conversion specifiers where appropriateDiego Biurrun2016-10-285-23/+34
|
* Adjust printf conversion specifiers to match variable signednessDiego Biurrun2016-10-284-25/+25
|
* Remove some pointless TRACE level debug codeDiego Biurrun2016-10-274-41/+0
| | | | This also kills some warnings with certain compiler options.
* nut: Drop pointless TRACE level debug codeDiego Biurrun2016-10-272-46/+0
| | | | The code has little usefulness and uses the __PRETTY_FUNCTION__ GNU extension.
* nsv: Drop unnecessary TRACE level debug codeDiego Biurrun2016-10-271-13/+0
| | | | The output is rather silly and the code uses non-standard __FUNCTION__.
* openssl: Avoid double semicolons after the GET_BIO_DATA macroMartin Storsjö2016-10-251-2/+2
| | | | | | | | | | | When the macro is expanded with a semicolon following it and the macro itself contains a semicolon, we ended up in double semicolons, which is treated as a statement that disallows further declarations. This avoids errors about mixed declarations and statements on gcc, after ee050797664c. Signed-off-by: Martin Storsjö <martin@martin.st>
* openssl: Support version 1.1.0.Matt Oliver2016-10-231-2/+35
| | | | | | | Further simplifications by Martin Storsjö, to minimize the diff. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtmpdh: Don't use the OpenSSL DH structMartin Storsjö2016-10-232-57/+52
| | | | | | | | | Instead use our own struct, which we already use when using gcrypt and gnutls. In OpenSSL 1.1, the DH struct has been made opaque. Signed-off-by: Martin Storsjö <martin@martin.st>
* mov: Update colr valuesVittorio Giovara2016-10-211-7/+11
| | | | | | | | | | For 'nclx', the latest edition of the standard switched from JPEG XR to 23001-8, which matches the current order of our entries. Bounds are preserved as a sanity check. For 'nclc', qtff edition 2016-09-13 introduced a few new entries. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavf: check that the codec is supported by extract_extradataAnton Khirnov2016-10-211-0/+10
| | | | | Avoids superfluous error message spam after 8e2ea691351c5079cdab245ff7bfa5c0f3e3bfe4
* lavf: use the new bitstream filter for extracting extradataAnton Khirnov2016-10-162-13/+119
| | | | | | | | | This also fixes a minor bug introduced in the codecpar conversion, where the termination condition for extracting the extradata does not match the actual extradata setting code. As a result, the packet durations made up by lavf go back to their values before the codecpar conversion. That is of little consequence since that code should eventually be dropped completely.
* hevcdec: move decoder-independent declarations into a separate headerAnton Khirnov2016-10-162-39/+40
| | | | | | | This way they can be reused by other code without including the whole decoder-specific hevcdec.h Also, add the HEVC_ prefix to them, since similarly named values exist for H.264 as well and are sometimes used in the same code.
* hevc: rename hevc.[ch] to hevcdec.[ch]Anton Khirnov2016-10-162-2/+2
| | | | | This is more consistent with the rest of libav and frees up the hevc.h name for decoder-independent shared declarations.
* avformat/matroska: fix MatroskaVideoFieldOrder enum valuesJames Almer2016-10-162-3/+3
| | | | | | | | | | | | | | | The spec says 9: Interlaced with bottom field displayed first and top field stored first 14: Interlaced with top field displayed first and bottom field stored first And avcodec.h states AV_FIELD_TB, //< Top coded first, bottom displayed first AV_FIELD_BT, //< Bottom coded first, top displayed first Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
OpenPOWER on IntegriCloud