summaryrefslogtreecommitdiff
path: root/libavformat
Commit message (Collapse)AuthorAge
* avformat/mpegenc: extend muxing PCM-DVD to other depthsPaul B Mahol2018-12-01
| | | | Fixes #6783.
* avformat/ac3dec: always skip junk bytes before sync bytesPaul B Mahol2018-11-30
| | | | Fixes #7278.
* avformat/dashdec: add subtitle stream supportSteven Liu2018-11-30
| | | | 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-28
| | | | Improves "ffmpeg -i" output for raw dvbsub files.
* lavf/Makefile: Fix demuxer dependencies: dvbsub, dvbtxtCarl Eugen Hoyos2018-11-27
| | | | Allow standalone compilation of the dvbsub and the dvbtxt demuxer.
* lavf/dashdec: Add webm to the list of allowed extensions.Andrey Semashev2018-11-27
| | | | | | 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-26
| | | | | 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-25
| | | | | | | 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-25
|
* avformat/pcmdec: audio/L16 should be in network byte order by default (rfc 2586)Igor Derzhavin2018-11-25
|
* avformat/pcmdec: mime-type should be case insensitive (audio/L16)Igor Derzhavin2018-11-25
|
* avformat/dhav: improve A/V syncPaul B Mahol2018-11-24
| | | | Actual stored timestamps take only 16bits.
* avformat: add DHAV demuxerPaul B Mahol2018-11-24
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lavf/dashenc: Fix segment duration overflow on fine time bases.Andrey Semashev2018-11-23
| | | | | | 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-22
| | | | Update fate test.
* avformat/movenc: fix size calculation in mov_write_eac3_tag()Paul B Mahol2018-11-22
| | | | Otherwise it would assert when flushing bits.
* avformat/http : Added check for valid URL context before calling shutdownkjeyapal@akamai.com2018-11-22
|
* avformat/dashenc : Handled error from ff_http_do_new_request() cleanlykjeyapal@akamai.com2018-11-22
|
* lavf/dashenc: Fix AVDictionary leaks in case of various init errors.Andrey Semashev2018-11-21
|
* lavf/dashenc: Add support for format-specific file extensions.Andrey Semashev2018-11-21
| | | | | | | | | | 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-21
| | | | | | | | | 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-16
| | | | | | | | | | | | | | 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-14
| | | | | | | | | | | | | | 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-12
| | | | | | | | | 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-08
| | | | Fixes ticket #7536.
* flvdec: Export unknown metadata packets as opaque dataMartin Storsjö2018-11-05
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* flvdec: Rename FLV_STREAM_TYPE_DATA into FLV_STREAM_TYPE_SUBTITLEMartin Storsjö2018-11-05
| | | | | | 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-04
| | | | | | Fixes ticket #7481. Signed-off-by: Marton Balint <cus@passwd.hu>
* avformat/dashenc: Disable writing CODECS tag for HEVC streamskjeyapal@akamai.com2018-11-02
| | | | | | 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-01
| | | | | | | 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-02
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* Bump minor versions for branching 4.1Michael Niedermayer2018-11-02
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/ftp: return AVERROR_EOF for EOFMarton Balint2018-11-01
| | | | | | 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-30
| | | | | | | | | | 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-30
| | | | | | | | | | 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-30
| | | | | Signed-off-by: Charles Liu <liuchh83@gmail.com> Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* avformat/hlsenc.c: fix memory leak in fmp4 mode.Charles Liu2018-10-30
| | | | | Signed-off-by: Charles Liu <liuchh83@gmail.com> Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* avformat/hlsenc: fix the duration of m4s segment is unusually smaller than ↵Charles Liu2018-10-30
| | | | | | | | | | expected. In fmp4 mode, the duration of the second m4s segment is unusually smaller than the expected segment time. Signed-off-by: Charles Liu <liuchh83@gmail.com> Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* avformat/rpl: Support files containing 8 bit PCM or VIDC audioCameron Cawley2018-10-26
| | | | Signed-off-by: Cameron Cawley <ccawley2011@gmail.com>
* avcodec: Implement Archimedes VIDC encoder/decoderCameron Cawley2018-10-26
| | | | Signed-off-by: Cameron Cawley <ccawley2011@gmail.com>
* avformat/dashenc: Support HTTP persistent for init segments as wellkjeyapal@akamai.com2018-10-26
|
* avformat/mxfenc: simplify dnxhd handling and add more flavorsBaptiste Coudurier2018-10-24
|
* avformat/libsrt: add several options supported in srt 1.3.0Matsuzawa Tomohiro2018-10-23
| | | | | | | | | | Several SRT options are missing. Since pkg_config requires libsrt v1.3.0 and above, it should be able to support options added in libsrt v1.3.0 and below. This commit adds 8 SRT options. sndbuf, rcvbuf, lossmaxttl, minversion, streamid, smoother, messageapi and transtype The keys of option are equivalent to stransmit. https://github.com/Haivision/srt/blob/v1.3.0/apps/socketoptions.hpp#L196-L223 Signed-off-by: Marton Balint <cus@passwd.hu>
* lavf/vc1test: add rcv to vc1test demuxer extensionsJun Zhao2018-10-22
| | | | | | rcv is commonly used as extension for vc1 test stream files. Signed-off-by: Jun Zhao <jun.zhao@intel.com>
* lavf/vc1test: fix vc1test can't probe some RCV file.Jun Zhao2018-10-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | case 1: use the hexdump -C SMM0005.rcv get: size skip (size - 4) | | V V 00000000 18 00 00 c5 05 00 00 00 4d f1 0a 11 00 e0 01 00 00000010 00 d0 02 00 00 0c 00 00 00 88 13 00 00 c0 65 52 ^ | size + 16 case 2: same the command for SMM0015.rcv get: size | V 00000000 19 00 00 c5 04 00 00 00 41 f3 80 01 40 02 00 00 00000010 d0 02 00 00 0c 00 00 00 00 00 00 10 00 00 00 00 ^ | size + 16 There are different the RCV file format for VC-1, vc1test just handle the case 2 now, this fix will support the case 1. (Both of test clips come from: SMPTE Recommended Practice - VC-1 Decoder and Bitstream Conformance). And I think I got a older VC-1 test clip in the case 1. Reviewed-by: Carl Eugen Hoyos <ceffmpeg@gmail.com> Reviewed-by: Jerome Borsboom <jerome.borsboom@carpalis.nl> Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Jun Zhao <jun.zhao@intel.com> Signed-off-by: Yan, FengX <fengx.yan@intel.com>
* avformat/dashenc: URL close unconditionally after DELETE segmentskjeyapal@akamai.com2018-10-21
| | | | | | Fixes bug with HTTP DELETE when HTTP Persistent is ON. Right now, HTTP Persistent connections is supported only for POSTs and PUTs. HTTP DELETE will still open a new connection every time.
* avformat/dashenc: Support HTTP Persistent for master.m3u8 as wellkjeyapal@akamai.com2018-10-21
|
* lavf/matroskadec: Simplify string length calculation.Carl Eugen Hoyos2018-10-19
| | | | FFmpeg relies on sizeof(char) == 1.
* lavf/dump: Fix a typo: comentary -> commentary.Carl Eugen Hoyos2018-10-19
| | | | Fixes ticket #7499.
* avformat/dashenc: Dont ignore the codec tag from codec parametersKarthick Jeyapal2018-10-18
|