summaryrefslogtreecommitdiff
path: root/libavformat
Commit message (Collapse)AuthorAge
...
* | avformat/mxfdec: do not use sound essence descriptor quantization bits for ↵Marton Balint2018-09-05
| | | | | | | | | | | | | | | | | | | | | | | | | | bits_per_coded_sample It refers to the uncompressed quantization, therefore is not correct for AAC. Also change mxf_set_pts to work based on current edit unit if bits_per_coded_sample is not available. Fixes error messages in the sample of ticket #7366. Signed-off-by: Marton Balint <cus@passwd.hu>
* | avformat/dashdec: refine compute current fragment for ↵Steven Liu2018-09-05
| | | | | | | | | | | | | | | | | | presentation_timeoffset mode fix ticket id: #7369 #7382. use ((wallclock - availability_start_time) * timescale -presentation_timeoffset) / duration Signed-off-by: Steven Liu <lq@onvideo.cn>
* | avformat/dashdec: reindent code for previous commitSteven Liu2018-09-05
| | | | | | | | Signed-off-by: Steven Liu <lq@onvideo.cn>
* | avformat/dashdec: add min_buffer_time process logicSteven Liu2018-09-05
| | | | | | | | | | | | | | if there have min_buffer_time in playlist, use the min_buffer_time value for realtime. Signed-off-by: Steven Liu <lq@onvideo.cn>
* | avformat/dashdec: add trace message for get the logic output messageSteven Liu2018-09-05
| | | | | | | | Signed-off-by: Steven Liu <lq@onvideo.cn>
* | avformat/dashdec: reindent code for previous commitSteven Liu2018-09-05
| | | | | | | | Signed-off-by: Steven Liu <lq@onvideo.cn>
* | avformat/dashdec: remove redundant codeSteven Liu2018-09-05
| | | | | | | | Signed-off-by: Steven Liu <lq@onvideo.cn>
* | avformat/dashdec: refine adaptionset attribute membersSteven Liu2018-09-05
| | | | | | | | Signed-off-by: Steven Liu <lq@onvideo.cn>
* | avformat/dashdec: refine mpd element of attribute name availabilityEndTimeSteven Liu2018-09-05
| | | | | | | | Signed-off-by: Steven Liu <lq@onvideo.cn>
* | avformat/hlsenc: rename option from use_localtime to strftimeSteven Liu2018-09-05
| | | | | | | | | | | | | | fix ticket: 7393 indent option name to segment Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* | avformat/libsrt: fix merge of payload_size optionMarton Balint2018-09-03
| | | | | | | | | | | | Fixes a compile error and re-adds pkt_size as a url?option as well. Signed-off-by: Marton Balint <cus@passwd.hu>
* | avformat/av1: zero initialize the seq_params structJames Almer2018-09-02
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | Merge commit 'f25117a4286505b38c12466ef04459471de3c1b0'James Almer2018-09-02
|\| | | | | | | | | | | | | * commit 'f25117a4286505b38c12466ef04459471de3c1b0': libsrt: Pass the correct pointer for the passphrase Merged-by: James Almer <jamrial@gmail.com>
| * libsrt: Pass the correct pointer for the passphraseSven Dueking2018-07-13
| | | | | | | | | | | | The passphrase field is a pointer already. Bug-Id: https://github.com/Haivision/srt/issues/416
* | Merge commit 'a507af97eef468238d545ff954a39d7432832e54'James Almer2018-09-02
|\| | | | | | | | | | | | | * commit 'a507af97eef468238d545ff954a39d7432832e54': avformat/libsrt: add latency options and deprecate tspbdelay Merged-by: James Almer <jamrial@gmail.com>
| * avformat/libsrt: add latency options and deprecate tspbdelaySven Dueking2018-06-04
| | | | | | | | | | Signed-off-by: Sven Dueking <sven.dueking@nablet.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | Merge commit 'ea8ae27a5e112d06fd5625f640e40849e6313f0c'James Almer2018-09-02
|\| | | | | | | | | | | | | * commit 'ea8ae27a5e112d06fd5625f640e40849e6313f0c': avformat/libsrt: add payload size option Merged-by: James Almer <jamrial@gmail.com>
| * avformat/libsrt: add payload size optionSven Dueking2018-06-03
| | | | | | | | | | Signed-off-by: Sven Dueking <sven.dueking@nablet.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | Merge commit 'e368b0cbfa3fdc627c331e34556f8e39296d04d5'James Almer2018-09-02
|\| | | | | | | | | | | | | * commit 'e368b0cbfa3fdc627c331e34556f8e39296d04d5': tls_mbedtls: Use non-deprecated header file Merged-by: James Almer <jamrial@gmail.com>
| * tls_mbedtls: Use non-deprecated header fileDiego Biurrun2018-04-26
| | | | | | | | /usr/include/mbedtls/net.h:29:2: warning: #warning "Deprecated header file: Superseded by mbedtls/net_sockets.h" [-Wcpp]
| * libavformat: add mbedTLS based TLSThomas Volkert2018-04-25
| | | | | | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | Merge commit '23be4eebf8aaa7519b12b2a49e5c5c6c4d076e6a'James Almer2018-09-02
|\| | | | | | | | | | | | | * commit '23be4eebf8aaa7519b12b2a49e5c5c6c4d076e6a': build: Group external library protocols separately Merged-by: James Almer <jamrial@gmail.com>
| * build: Group external library protocols separatelyDiego Biurrun2018-04-20
| |
* | lavf/libsmbclient: return AVERROR_EOF for EOF.Nicolas George2018-09-02
| | | | | | | | Fix trac ticket #7387.
* | avformat/libsrt: add pkt_size parameter to libsrtMarton Balint2018-09-01
| | | | | | | | | | | | | | | | Also make sure we set the URL context max packet size accordingly. Based on a patch by Tudor Suciu <tudor.suciu@gmail.com> Signed-off-by: Marton Balint <cus@passwd.hu>
* | avformat/mov: Error on too large stsd entry counts.Dale Curtis2018-09-01
| | | | | | | | | | | | | | | | | | | | | | | | Entries are always at least 8 bytes per the parsing code, so if we see an impossible entry count avoid massive allocations. This is similar to an existing check in mov_read_stsc(). Since ff_mov_read_stsd_entries() does eof checks, an alternative approach could be to clamp the entry count to atom.size / 8. Signed-off-by: Dale Curtis <dalecurtis@chromium.org> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/dashdec: Add a re-entrance check point after an interrupt operationColin NG2018-08-29
| |
* | avformat/dashdec: Fix calc_cur_seg_no if availability_start_time notJacek Jendrzej2018-08-29
| | | | | | | | Reviewed-by: Steven Liu <lq@chinaffmpeg.org>
* | avcodec: add WinCAM Motion Video decoderPaul B Mahol2018-08-27
| |
* | avcodec: add MatchWare Screen Capture CodecPaul B Mahol2018-08-27
| |
* | avformat/mpegts: add missing null pointer checks in ff_parse_mpeg2_descriptor()Michael Niedermayer2018-08-25
| | | | | | | | | | | | | | | | Fixes: null pointer dereference Fixes: wtv-crash-75fa58662ded1c1d349f3d1df89394fd690cf92f Found-by: Paul Ch <paulcher@icloud.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec: add Brooktree ProSumer Video decoderPaul B Mahol2018-08-24
| |
* | avformat/movenc: implicitly enable negative CTS offsets for ismvJan Ekström2018-08-24
| | | | | | | | | | | | | | | | | | | | | | ISMV lacks any sort of edit list support, as well as tfxd is effectively the PTS of the fragment for most intents and purposes. Thus, if b-frames are requested without negative CTS offsets you end up with N frames' worth of delay (tfxd PTS plus the CTS offset of the first sample). Negative CTS offsets enable the first sample to have CTS=DTS, and thus a/v desync due to b-frame reorder delay is avoided.
* | avformat/flvdec: don't propagate empty extradataJames Almer2018-08-24
| | | | | | | | | | | | | | Fixes ticket #7379 Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* | avformat/movenc: support Opus packets with more than 60ms of audio when ↵James Almer2018-08-24
| | | | | | | | | | | | | | | | | | | | writing the Sample Group Description Since libopus 1.2, packets of sizes 80ms, 100ms and 120ms are allowed. Fixes assertion failures when trying to mux such streams. Signed-off-by: James Almer <jamrial@gmail.com>
* | lavf/Makefile: Fix standalone compilation of the matroska and webm muxers.Carl Eugen Hoyos2018-08-24
| | | | | | | | Reported-by: irc user Kam_
* | avformat/mov: Correct opus-in-mp4 pre-skip to be uint16_t versus int16_t.Dale Curtis2018-08-23
| | | | | | | | | | | | | | | | | | This field is a uint16_t, see docs: http://opus-codec.org/docs/opus_in_isobmff.html#4.3.2 Signed-off-by: Dale Curtis <dalecurtis@chromium.org> Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/utils: avoid undefined integer overflow behavior in ↵Fredrik Hubinette2018-08-22
| | | | | | | | | | | | update_stream_timings() Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/mov: Allow saio/saiz in clear content.Jacob Trimble2018-08-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | If there is a saio/saiz in clear content, we shouldn't create the encryption index if we don't already have one. Otherwise it will confuse the cenc_filter. The changed method is also used for senc atoms, but they should not appear in clear content. Found by Chromium's ClusterFuzz: https://crbug.com/873432 Signed-off-by: Jacob Trimble <modmaker@google.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/mxfenc: automatically update descriptors klv sizeBaptiste Coudurier2018-08-22
| |
* | avformat/hls: support decryption AES128 fmp4 m3u8 listSteven Liu2018-08-22
| | | | | | | | Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* | lavf/hlsenc: fix mixed declarations and code warning.Jun Zhao2018-08-22
| | | | | | | | | | | | | | fix the build warning for "ISO C90 forbids mixed declarations and code" Reviewed-by: Steven Liu <lq@chinaffmpeg.org> Signed-off-by: Jun Zhao <mypopydev@gmail.com>
* | avformat/mxfenc: fix muxing when audio tracks are longer than video trackBaptiste Coudurier2018-08-21
| |
* | avformat/audiointerleave: pad last audio frameBaptiste Coudurier2018-08-21
| |
* | avformat/avidec: fix demuxing of all keyframes of sample 200707170736151.aviPaul B Mahol2018-08-21
| |
* | avcodec: add IMM4 decoderPaul B Mahol2018-08-21
| | | | | | | | This work is sponsored by VideoLAN.
* | avformat/nsvdec: Do not parse multiple NSVfMichael Niedermayer2018-08-20
| | | | | | | | | | | | | | | | | | | | The specification states "NSV files may contain a single file header. " Fixes: out of array access Fixes: nsv-asan-002f473f726a0dcbd3bd53e422c4fc40b3cf3421 Found-by: Paul Ch <paulcher@icloud.com> Tested-by: Paul Ch <paulcher@icloud.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/matroskaenc: handle AV1 extradata in packet side dataJames Almer2018-08-18
| | | | | | | | | | | | | | This is a temporary workaround for transcoding scenarious using libaom-av1 encoder, which currently can't propagate extradata during initialization. Signed-off-by: James Almer <jamrial@gmail.com>
* | Improve hls VOD mode hls performance problem.Ronak Patel2018-08-19
| | | | | | | | | | | | | | | | | | | | | | | | This fixes the creation of the hls manifest in hlsenc.c by writing the entire manifest at the end for VOD playlists. Live & Event Playlists are unaffected. This also fixes the behavior with HLS_TEMP_FILE to work correctly when -hlsflags temp_file is specified, instead of always relying on use_rename, which caused these problems. Files that would previously take over a week to fragment now take 1 minute on the same hardware. This was a 153 hour audio file (2.2GB of audio). Signed-off-by: Ronak Patel <ronak2121@yahoo.com>
* | avformat/dashdec: Fix strlen(rep_id_val) with it being NULLMichael Niedermayer2018-08-19
| | | | | | | | | | | | | | | | Fixes: dash-crash-da39a3ee5e6b4b0d3255bfef95601890afd80709.xml Found-by: Paul Ch <paulcher@icloud.com> Reviewed-by: Steven Liu <lq@chinaffmpeg.org> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>