summaryrefslogtreecommitdiffstats
path: root/libavformat
Commit message (Collapse)AuthorAgeFilesLines
* avformat/hlsenc: Handled error from ff_http_do_new_request() functionKarthick J2018-12-101-1/+7
| | | | | | | 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-091-9/+9
|
* avformat/dhav: export average frame rate tooPaul B Mahol2018-12-091-0/+2
|
* Fix bug in mpegts muxer which affects KLV async stream generation.Artyom Lebedev2018-12-081-1/+1
| | | | | | Fixes ticket #7597. Signed-off-by: Peter Ross <pross@xvid.org>
* avformat/mxfdec: set codec_tag for prores codecPaul B Mahol2018-12-071-0/+12
|
* lavf/dashenc: Write media trailers when DASH trailer is written.Andrey Semashev2018-12-041-25/+60
| | | | | | | 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-031-58/+24
| | | | | 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-031-2/+7
| | | | | 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-031-24/+58
| | | | | | | 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-031-6/+13
|
* avformat/dashenc: Added an option to ignore io errorskjeyapal@akamai.com2018-12-021-6/+11
| | | | | 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-021-1/+5
|
* lavf/dashenc: Delete HLS manifests on trailer writing if remove_at_exit is set.Andrey Semashev2018-12-021-0/+12
| | | | This fixes HLS manifests being left behind if remove_at_exit is set.
* lavf/dashenc: Don't put non-mp4 streams in HLS manifests.Andrey Semashev2018-12-021-1/+12
| | | | | | | | The only native HLS implementation in the wild (Safari browser) doesn't support WebM. And at least some MSE-based players (e.g. shaka-player) cannot handle WebM media segments when playing HLS. So just skip non-mp4 streams from HLS manifests. Note that such streams will still be described by the DASH manifest and therefore consumed by players supporting DASH.
* avformat/mpegenc: extend muxing PCM-DVD to other depthsPaul B Mahol2018-12-012-7/+22
| | | | Fixes #6783.
* avformat/ac3dec: always skip junk bytes before sync bytesPaul B Mahol2018-11-301-1/+1
| | | | Fixes #7278.
* avformat/dashdec: add subtitle stream supportSteven Liu2018-11-301-7/+90
| | | | Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* lavf/rawdec: Do not mark streams from raw subtitle demuxers as data streams.Carl Eugen Hoyos2018-11-283-2/+15
| | | | Improves "ffmpeg -i" output for raw dvbsub files.
* lavf/Makefile: Fix demuxer dependencies: dvbsub, dvbtxtCarl Eugen Hoyos2018-11-271-2/+2
| | | | Allow standalone compilation of the dvbsub and the dvbtxt demuxer.
* lavf/dashdec: Add webm to the list of allowed extensions.Andrey Semashev2018-11-271-1/+1
| | | | | | This is in coherence with dashenc, which can now generate segments with webm file name extension by default. Dashdec should be able to handle such streams by default as well.
* avformat/vivo: Don't log null valueMark Harris2018-11-261-1/+1
| | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/hlsenc: remove the cannot reach resultSteven Liu2018-11-251-1/+1
| | | | | | | fix CID: 1441166 because the logic have checked the vtt_dirname before Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* avformat/pcmdec: endianness for audio/L16 mime typeIgor Derzhavin2018-11-251-2/+10
|
* avformat/pcmdec: audio/L16 should be in network byte order by default (rfc 2586)Igor Derzhavin2018-11-251-2/+2
|
* avformat/pcmdec: mime-type should be case insensitive (audio/L16)Igor Derzhavin2018-11-251-1/+1
|
* avformat/dhav: improve A/V syncPaul B Mahol2018-11-241-21/+107
| | | | Actual stored timestamps take only 16bits.
* avformat: add DHAV demuxerPaul B Mahol2018-11-244-1/+299
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lavf/dashenc: Fix segment duration overflow on fine time bases.Andrey Semashev2018-11-231-3/+3
| | | | | | When stream time bases are very fine grained (e.g. nanoseconds), 32-bit segment duration may overflow for even for rather small segment duration (about 4 seconds long). Therefore we use 64-bit values for segment duration.
* avformat/movenc: get number of written bytes from bitstream writerPaul B Mahol2018-11-221-1/+1
| | | | Update fate test.
* avformat/movenc: fix size calculation in mov_write_eac3_tag()Paul B Mahol2018-11-221-1/+1
| | | | Otherwise it would assert when flushing bits.
* avformat/http : Added check for valid URL context before calling shutdownkjeyapal@akamai.com2018-11-221-1/+1
|
* avformat/dashenc : Handled error from ff_http_do_new_request() cleanlykjeyapal@akamai.com2018-11-221-1/+7
|
* lavf/dashenc: Fix AVDictionary leaks in case of various init errors.Andrey Semashev2018-11-211-6/+7
|
* lavf/dashenc: Add support for format-specific file extensions.Andrey Semashev2018-11-211-13/+35
| | | | | | | | | | The file name template options now support a new "$ext$" placeholder, which is replaced with a filename extension specific for the selected file format. This is useful for the new "auto" format mode, when different streams may use different file formats, and it is not possible to specify the correct file name extension exactly. Resolves warnings in the log about webm segments not having webm extensions.
* lavf/dashenc: Add DASH segment type auto and make it the defaultAndrey Semashev2018-11-211-18/+54
| | | | | | | | | This commit restores the ability to create DASH streams with codecs that require different containers that was lost after commit 2efdbf7367989cf9d296c25fa3d2aff8d6e25fdd. It adds a new "auto" value for the dash_segment_type option and makes it the default. When in this mode, the segment format will be chosen based on the codec used in the stream: webm for Vorbis, Opus, VP8 or VP9, mp4 otherwise.
* lavf/hlsenc: Do not mix declarations and code.Carl Eugen Hoyos2018-11-161-5/+5
| | | | | | | | | | | | | | Fixes the following warnings: libavformat/hlsenc.c: In function 'hls_write_trailer': libavformat/hlsenc.c:2364:17: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] uint8_t *buffer = NULL; ^~~~~~~ libavformat/hlsenc.c:2372:17: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] int byterange_mode = (hls->flags & HLS_SINGLE_FILE) || (hls->max_seg_size > 0); ^~~ libavformat/hlsenc.c:2379:13: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] int range_length = 0; ^~~
* lavf/dashenc: set FLAC manifest codec string to "flac"Jan Ekström2018-11-141-0/+1
| | | | | | | | | | | | | | Internally in ISOBMFF the FLAC-in-ISOBMFF draft uses "fLaC" as the identifier for FLACSampleEntry, and there seems to be no MPEG-DASH specification for the in-manifest identifier for FLAC. After testing the browsers' implementations, it seems like all of the major browser vendors have decided to utilize the MIME type for FLAC ("audio/flac") as the identifier. This change set leads to that string being utilized for FLAC streams instead of the sample entry identifier ("fLaC"), which is the default behavior. Verified by auri_ on IRC to play with the major browsers.
* avformat/hlsenc: check dirname and fix vtt problemSteven Liu2018-11-121-5/+14
| | | | | | | | | fix ticket: 7527 check dirname before use it refine webvtt code in the hls_delete_old_segments Reported-by: caspy Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* lavf/apngdec: Return EOF for incomplete files.Carl Eugen Hoyos2018-11-081-0/+4
| | | | Fixes ticket #7536.
* flvdec: Export unknown metadata packets as opaque dataMartin Storsjö2018-11-053-5/+16
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* flvdec: Rename FLV_STREAM_TYPE_DATA into FLV_STREAM_TYPE_SUBTITLEMartin Storsjö2018-11-052-5/+5
| | | | | | This is always treated as a subtitle at the moment anyway. Signed-off-by: Martin Storsjö <martin@martin.st>
* avformat/ftp: allow nonstandard 202 reply to OPTS UTF8Marton Balint2018-11-041-2/+3
| | | | | | Fixes ticket #7481. Signed-off-by: Marton Balint <cus@passwd.hu>
* avformat/dashenc: Disable writing CODECS tag for HEVC streamskjeyapal@akamai.com2018-11-021-1/+5
| | | | | | For HEVC streams, only the FourCC tag is written without profile, level etc., This is breaking playout support in native Safari. Native Safari playout expects the full info in CODECS tag or None at all.
* avformat/ivfenc: use the av1_metadata bsf to insert Temporal Delimiter OBUs ↵James Almer2018-11-011-0/+2
| | | | | | | if needed Reviewed-by: Mark Thompson <sw@jkqxz.net> Signed-off-by: James Almer <jamrial@gmail.com>
* Bump minor version for master after 4.1 branchpointMichael Niedermayer2018-11-021-1/+1
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* Bump minor versions for branching 4.1Michael Niedermayer2018-11-021-2/+2
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/ftp: return AVERROR_EOF for EOFMarton Balint2018-11-011-2/+2
| | | | | | Without this FTP just hangs on eof... Signed-off-by: Marton Balint <cus@passwd.hu>
* avformat/hlsenc.c: fix the output's duration smaller than input's in ↵Charles Liu2018-10-301-2/+1
| | | | | | | | | | sub-range mode. In fmp4 & sub-range mode, the output's duration always smaller than expected, because the size of the last #EXT-X-BYTERANGE is too small. Signed-off-by: Charles Liu <liuchh83@gmail.com> Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* avformat/hlsenc.c: the size of init.mp4 is zero.Charles Liu2018-10-301-0/+19
| | | | | | | | | | The size of init.mp4 is zero in fmp4 mode, when the input duraton smaller than the expected segment time. fix ticket: 7166 Signed-off-by: Charles Liu <liuchh83@gmail.com> Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* avformat/hlsenc.c: remove the useless variable fmp4_init_mode.Charles Liu2018-10-301-4/+0
| | | | | Signed-off-by: Charles Liu <liuchh83@gmail.com> Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
OpenPOWER on IntegriCloud