summaryrefslogtreecommitdiff
path: root/libavformat
Commit message (Collapse)AuthorAge
* avcodec/agm: add support for non-dct codingPaul B Mahol2019-04-11
|
* avcodec/agm: add support for higher compressionPaul B Mahol2019-04-11
|
* libavformat/dashenc : Prevent writing manifest files multiple timesjoepadmiraal2019-04-10
|
* avformat/matroskaenc: fix leak on errorTristan Matthews2019-04-09
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* lavf/movenc: Pass correct pointer to av_log().Carl Eugen Hoyos2019-04-09
|
* lavf/matroskaenc: Fix memory leak after write trailerJun Zhao2019-04-09
| | | | | | | | | | | | | | | | | | | Fix memory leak after write trailer for #7827, only store a audio packet whose buffer has size greater than zero in cur_audio_pkt. Audio packets with size zero, but with side-data currently lead to memleaks, in the Matroska muxer, because they are not properly freed: They are currently put into an AVPacket in the MatroskaMuxContext to ensure that the necessary audio is always available for a new cluster, but are only written and freed when their size is > 0. As the only use we have for such packets consists in updating the CodecPrivate it makes no sense to store these packets at all and this is how this commit solves the memleak. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@googlemail.com> Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
* avformat/av1: Initialize padding in ff_isom_write_av1cJeremy Dorfman via ffmpeg-devel2019-04-08
| | | | | | | | Otherwise, AV1 encodes with FFmpeg trigger use-of-uninitialized-value warnings under MemorySanitizer, and the output buffer potentially changes from run to run. Signed-off-by: James Almer <jamrial@gmail.com>
* avformat/riffdec: pass correct pointer to av_logPaul B Mahol2019-04-07
|
* lavf/Makefile: Fix kux demuxer standalone compilation.Carl Eugen Hoyos2019-04-07
|
* lavf/flvdec: added support for KUX containerSwaraj Hota2019-04-06
| | | | | | | | Fixes ticket #4519. The metadata starting at 0xe00004 is encrypted with the password "meta" but zlib does not support decryption, so no kux metadata is read.
* avformat/matroskadec: Improve length checkAndreas Rheinhardt via ffmpeg-devel2019-04-05
| | | | | | | | | | | | | | | | | | | | | The earlier code had three flaws: 1. The case of an unknown-sized element inside a finite-sized element (which is against the specifications) was not caught. 2. The error message wasn't helpful: It compared the length of the child with the offset of the end of the parent and claimed that the first exceeds the latter, although that is not necessarily true. 3. Unknown-sized elements that are not parsed can't be skipped. Given that according to the Matroska specifications only the segment and the clusters can be of unknown-size, this is handled by not allowing any other units to have infinite size whereas the earlier code would seek back by 1 byte upon encountering an infinite-size element that ought to be skipped. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@googlemail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavf/movenc: fix tmcd writing for non-MP4/MOV modesGyan Doshi2019-04-03
| | | | | | | write_tmcd allows tmcd track to be created with any mode but in mov_write_header, index for first tmcd track is only set for modes MP4 or MOV, causing a crash if tmcd creation is attempted with other modes.
* lavf/hashenc: Correct the hash/MD5 muxer class nameJun Zhao2019-04-03
| | | | | | Follow the name style to correct the hash/md5 muxer class name Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
* avformat/dashenc: Add support for Global SIDXKarthick J2019-04-02
|
* avformat/movenc: Fix skip_trailer when global_sidx is enabledKarthick J2019-04-02
|
* avformat/hls: make different warning message between open url and parse playlistSteven Liu2019-04-02
| | | | Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* lavf/mov: skip extradata check in esds for MPEG-1/2 audioGyan Doshi2019-04-01
| | | | | | As per 14496-3 9.D.2.2, it's not defined for these audio object types. Fixes #7817.
* avformat/movenc: free eac3 private data only when closing the streamJames Almer2019-03-31
| | | | | | | | | This makes sure the data is available when writing the moov atom during the second pass triggered by the faststart movflag. Fixes ticket #7780 Signed-off-by: James Almer <jamrial@gmail.com>
* avformat/doc, http, icecast, rtsp: Add option to disable send-expect-100Jun Li2019-03-31
| | | | | | | | | | Fix ticket #7297 The current setting for send-expect-100 option is either enabled if applicable or forced enabled, no option to force disable the header. This change is to expand the option setting to provide more flexibility, which is useful for rstp case. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavf/flvdec: Cosmetics: Fix indentation for flv_read_packetJun Zhao2019-03-31
| | | | | | Commit e34ba5ec53b missed the indent Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
* lavf/flvdec: add AMF date type supportJun Zhao2019-03-31
| | | | | | Support AMF date type when parse the FLV metadata. Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
* avcodec: add Amuse Graphics decoderPaul B Mahol2019-03-31
| | | | This work is sponsored by VideoLAN.
* lavf/latmenc: Return the correct error for wrong codec.Carl Eugen Hoyos2019-03-27
| | | | Requested-by: Nicolas George
* avformat/avformat.h: Update the comment for AVInputFormat.flagsJun Zhao2019-03-26
| | | | | | | AVFMT_NOTIMESTAMPS may be using in AVInputFormat.flags for demuxing Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
* avformat/mov: Fix potential integer overflow in entry check in mov_read_trun()Michael Niedermayer2019-03-25
| | | | | | No testcase Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/rtsp: Add https tunneling supportJun Li2019-03-25
| | | | | Add https based tunneling for RTSP/RTP. Tested on Axis and Bosch cameras. Https is widely used for security consideration.
* avformat/avformat.h: update the comment from deprecated to new APISteven Liu2019-03-23
| | | | Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* lavf/flvdec: fix typo in log messageJun Zhao2019-03-23
| | | | | | fix typo in log message, it's come from cd141e71bd3 Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
* lavf: Constify the probe function argument.Carl Eugen Hoyos2019-03-21
| | | | | Reviewed-by: Lauri Kasanen Reviewed-by: Tomas Härdin
* lavf/latmenc: Error out for unsupported codecs.Carl Eugen Hoyos2019-03-21
|
* lavf/allformats: Remove an accidentally committed line.Carl Eugen Hoyos2019-03-20
| | | | | Regression since 3aa6208d. Reported-by: Lou Logan
* lavf: Constify AVProbeData* in av_probe_input_format().Carl Eugen Hoyos2019-03-20
|
* lavf/avformat: Add a warning that ff_const59 is not part of the public api.Carl Eugen Hoyos2019-03-20
|
* lavf: Constify AVInputFormat pointer.Carl Eugen Hoyos2019-03-20
|
* lavf: Constify AVOutputFormat pointer.Carl Eugen Hoyos2019-03-20
|
* lavf/http: Print metadata updates with -loglevel verbose.Carl Eugen Hoyos2019-03-20
| | | | Simplifies metadata debugging.
* lavf/spdifenc: Do not overwrite buffer when muxing TrueHD.Carl Eugen Hoyos2019-03-20
| | | | | | Fixes ticket #7733. Tested-by: Moritz Barsnick
* lavf/sdp: Change pointer to configuration from char* to uint8_t*.Carl Eugen Hoyos2019-03-20
| | | | | | | | This is also what av_base64_encode() expects. Fixes the following warnings with clang: libavformat/sdp.c:394:40: warning: implicit conversion from 'int' to 'char' changes value from 254 to -2 libavformat/sdp.c:395:40: warning: implicit conversion from 'int' to 'char' changes value from 205 to -51 libavformat/sdp.c:396:40: warning: implicit conversion from 'int' to 'char' changes value from 186 to -70
* avformat/smoothstreamingenc:add bitrate calculateJun Li2019-03-20
| | | | | | | | Calculate bitrate based on fragment size, only applied when bitrate is not set, for example rtsp source. Reviewed-by: Steven Liu <lq@chinaffmpeg.org> Signed-off-by: Jun Li <junli1026@gmail.com>
* libavformat/movenc: mov: added subtitle codec tags to codec tag listPaweł Wegner2019-03-18
| | | | | | | | This fixes avformat_query_codec incorrectly returning 0 for mov container and mov_text subtitles. Signed-off-by: Paweł Wegner <pawel.wegner95@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* avformat/gdv: Check fpsMichael Niedermayer2019-03-14
| | | | | | | | Fixes: Division by 0 Fixes: ffmpeg_zero_division.bin Found-by: Anatoly Trosinenko <anatoly.trosinenko@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/rtpdec.h remove unused variableJun Li2019-03-13
| | | | | | | | | Looks like the variable 'cur_timestamp' is not used anywhere. So remove this variable. Signed-off-by: Jun Li <junli1026@gmail.com> Reviewed-by: Steven Liu <lq@chinaffmpeg.org> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/mxfenc: allow user comments for opatom muxerMark Reid2019-03-13
| | | | | Reviewed-by: Tomas Härdin <tjoppen@acc.umu.se> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavf/matroskaenc: Allow dvdsub remuxing from some containers.Carl Eugen Hoyos2019-03-10
| | | | Fixes ticket #7783.
* avformat/mpegts: Simplify score compareMichael Niedermayer2019-03-09
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/mpegts: reduce buffering during initializationAndriy Gelman2019-03-09
| | | | | | | Reduces buffering latency with low bitrate streams, where 8192 bytes can mean several seconds. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* Add the Canon XF-HEVC UL to the picture essence container UL listMatthew McKenna2019-03-08
|
* avformat/dashenc: Added #EXT-X-PROGRAM-DATE-TIME to HLS playlistsjoepadmiraal2019-03-06
|
* avformat/utils: fix indentationMarton Balint2019-03-01
| | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* avformat/utils: be even more strict about stream specifiersMarton Balint2019-03-01
| | | | | | | | | After this change we always parse the full specifier even if we know the result in the middle of the parsing. Sligtly slower, but this is needed to consistently reject incorrect specifiers in both matching and non-matching cases. Signed-off-by: Marton Balint <cus@passwd.hu>