summaryrefslogtreecommitdiff
path: root/libavformat
Commit message (Collapse)AuthorAge
* libavformat/mov: Fix NULL-dereference read for some encrypted content.Jacob Trimble2018-12-20
| | | | | | | | | | | | When reading frames, we need to use the fragment for the correct stream. Sometimes the "current" fragment is not the same as the one the frame is for. Found by Chromium's ClusterFuzz: https://crbug.com/906392 and https://crbug.com/915524 Signed-off-by: Jacob Trimble <modmaker@google.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat: add vividas demuxerPaul B Mahol2018-12-20
|
* avformat/mov: Simplify get_stream_info_time()Michael Niedermayer2018-12-19
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/mpegts: Fix side data type for stream idMichael Niedermayer2018-12-19
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/vorbiscomment: add support for writing chaptersPaul B Mahol2018-12-18
| | | | Fixes #7532.
* lavf/mov: document the dvh1 codec switch based on hvcC availabilityJan Ekström2018-12-17
|
* lavf/isom: add Dolby Vision sample entry codes for HEVC and H.264Rodger Combs2018-12-17
| | | | | | | | | | | | | | | These are registered identifiers at the MPEG-4 RA, which are defined as to be utilized for Dolby Vision AVC/HEVC streams that are not correctly presentable by standards-compliant AVC/HEVC players. According to the Dolby Vision specification for ISOBMFF, these sample entry codes are specified to have the standard AVC or HEVC decoder configuration box in addition to the Dolby custom DOVIConfigurationBox. This is what enables us to decode the streams without custom parsing. For correct presentation information from the DOVIConfigurationBox is required (YCbCr or modified ICtCP, SDR or HDR, base or enhancement layer).
* avformat/mxfenc: fix typoPaul B Mahol2018-12-17
|
* lavf/id3v2: fail read_apic on EOF reading mimetypechcunningham2018-12-17
| | | | | | | | avio_read may return EOF, leaving the mimetype array unitialized. fail early when this occurs to avoid using the array in an unitialized state. Reviewed-by: Tomas Härdin <tjoppen@acc.umu.se> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/dashenc: Added support for Low-latency HLS(Experimental)kjeyapal@akamai.com2018-12-17
| | | | | | | Apple doesn't have an official spec for LHLS. Meanwhile hls.js player folks are trying to standardize a open LHLS spec. The draft spec is available in https://github.com/video-dev/hlsjs-rfcs/blob/lhls-spec/proposals/0001-lhls.md This option will also try to comply with the above open spec, till Apple's spec officially supports it. Applicable only when @var{streaming} and @var{hls_playlist} options are enabled.
* avformat/dashenc : Refactored HLS media playlist related codekjeyapal@akamai.com2018-12-17
| | | | Made it as a separate function, so that it could be reused (in future)
* avformat/nutenc: Document trailer index assert betterMichael Niedermayer2018-12-16
| | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavf/mov: ensure only one tkhd per trakchcunningham2018-12-16
| | | | | | | | | | Chromium fuzzing produced a whacky file with extra tkhds. This caused an AVStream that was already in use to be corrupted by assigning it a new id, which blows up later in mov_read_trun because the MOVFragmentStreamInfo.index_entry now points OOB. Reviewed-by: Baptiste Coudurier <baptiste.coudurier@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/nutdec: fix pts overflowPaul B Mahol2018-12-14
| | | | Probably fixes #6913.
* avformat/ffmetadec: do no limit size of tags to 1024Paul B Mahol2018-12-14
| | | | | | Use bprint API instead. Fixes #4833.
* avformat/movenc: treat ALAC same as FLAC and write correct infoPaul B Mahol2018-12-14
| | | | Fixes #7291.
* avformat/id3v2: use png header to get PNG signaturePaul B Mahol2018-12-14
|
* avformat/flac_picture: try to guess PNG by actual picture dataPaul B Mahol2018-12-14
| | | | Fixes #5028.
* avformat/nut: add support for yuva444/422p12 pixel formatPaul B Mahol2018-12-14
|
* avformat/nutdec: fix obvious typoPaul B Mahol2018-12-14
| | | | Fixes #6742.
* avformat/mxfdec: fix error check in macroPaul B Mahol2018-12-13
| | | | Fixes #6750.
* bump micro after recent gif changesPaul B Mahol2018-12-13
|
* avformat/gifdec: export duration, nb_frames and commentPaul B Mahol2018-12-13
|
* avformat/gif: extend descriptionPaul B Mahol2018-12-13
|
* avformat/gifdec: export sample aspect ratioPaul B Mahol2018-12-13
|
* avcodec: rewrite gif muxing and encodingPaul B Mahol2018-12-13
| | | | | | | | | | | | | | | Now "-c copy" works. Update FATE files. Demuxer only split file into packets, no data is trimmed. Encoder & muxer currently expect completely another format where muxer writes stuff like disposal method which should be really encoder job. With this patch muxer only modifies delay between two packets. Codec copy need to have same behavior between demuxer and muxer to work correctly. Fixes #6640.
* avformat/utils: add support for reading ID3 tags at start of wavPaul B Mahol2018-12-13
| | | | Fixes #4140.
* avformat/wavdec: add support for 'id3 ' chunkPaul B Mahol2018-12-13
| | | | Fixes #5700.
* os_support: define socket shutdown SHUT_xxx macros if they are not definedPeter Ross2018-12-11
| | | | | | | this section has been moved into the CONFIG_NETWORK block, since it only affects network enabled builds. sys/socket.h (with WIN32 guard) is needed to check if the SHUT_xxx macro exists.
* avformat/dashenc: Used the movenc option skip_sidx instead of global_sidxkjeyapal@akamai.com2018-12-11
| | | | Anyways the intended behaviour was to disable SIDX atom.
* avformat/movenc: Added an option to disable SIDX atomkjeyapal@akamai.com2018-12-11
|
* lavf/matroskadec: Do not use strncat() to limit copying a one-char constant.Carl Eugen Hoyos2018-12-11
| | | | | | | | | | Instead add the character to the snprintf above as suggested by Mark. Silences a warning: libavformat/matroskadec.c: In function 'webm_dash_manifest_cues': libavformat/matroskadec.c:3947:13: warning: 'strncat' specified bound 1 equals source length [-Wstringop-overflow=] strncat(buf, ",", 1); ^~~~~~~~~~~~~~~~~~~~
* avformat/gif: simplify signature writingPaul B Mahol2018-12-10
|
* avformat/mxfenc: calculate and store DAR from user SARPaul B Mahol2018-12-10
|
* avformat/mxfenc: allow muxing proresPaul B Mahol2018-12-10
|
* avformat: add gif pipe demuxerPaul B Mahol2018-12-10
|
* avformat/hlsenc : Added an option to ignore IO errorsKarthick J2018-12-10
| | | | | | Useful for long duration runs with network output Reviewed-by: Steven Liu <lq@chinaffmpeg.org>
* avformat/hlsenc: Handled error from ff_http_do_new_request() functionKarthick J2018-12-10
| | | | | | | This patch fixes the segmentation fault issues due to unhandled errors from ff_http_do_new_request function. Reviewed-by: Steven Liu <lq@chinaffmpeg.org>
* avformat/mxfdec: fix indentationPaul B Mahol2018-12-09
|
* avformat/dhav: export average frame rate tooPaul B Mahol2018-12-09
|
* Fix bug in mpegts muxer which affects KLV async stream generation.Artyom Lebedev2018-12-08
| | | | | | Fixes ticket #7597. Signed-off-by: Peter Ross <pross@xvid.org>
* avformat/mxfdec: set codec_tag for prores codecPaul B Mahol2018-12-07
|
* lavf/dashenc: Write media trailers when DASH trailer is written.Andrey Semashev2018-12-04
| | | | | | | This commit ensures that all (potentially, long) filesystem activity is performed when the user calls av_write_trailer on the DASH libavformat context, not when freeing the context. Also, this defers media segment deletion until after the media trailers are written.
* Revert "lavf/dashenc: Write media trailers when DASH trailer is written."Karthick J2018-12-03
| | | | | This reverts commit e444b3b184f36e3c97bb3489822f6b05ccb848a8. Causing build error due to rebasing. Sorry for about it.
* lavf/dashenc: Use avpriv_io_delete to delete files.Andrey Semashev2018-12-03
| | | | | This fixes incorrect handling of file pseudo-URIs (i.e. when the filename starts with "file:").
* lavf/dashenc: Write media trailers when DASH trailer is written.Andrey Semashev2018-12-03
| | | | | | | This commit ensures that all (potentially, long) filesystem activity is performed when the user calls av_write_trailer on the DASH libavformat context, not when freeing the context. Also, this defers media segment deletion until after the media trailers are written.
* avformat/dashenc: Added proper logging when io_open fails for writeKarthick J2018-12-03
|
* avformat/dashenc: Added an option to ignore io errorskjeyapal@akamai.com2018-12-02
| | | | | When dashenc has to run for long duration(say 24x7 live stream), one can enable this option to ignore the io failure of few segment's upload due to an intermittent network issues. When the network connection recovers dashenc will continue with the upload of the current segments, leading to the recovery of the stream.
* avformat/dashenc: Handled the error from dashenc_io_open()kjeyapal@akamai.com2018-12-02
|
* lavf/dashenc: Delete HLS manifests on trailer writing if remove_at_exit is set.Andrey Semashev2018-12-02
| | | | This fixes HLS manifests being left behind if remove_at_exit is set.