Broadcast
  1. Broadcast

ffmpeg

Public

Network

 
AuthorCommitMessageCommit Date
Anton SchubertAnton Schubert
e977b5f844adashenc: remove metadata in output stream context to avoid tags in webm init segments Some browsers fail to parse webm tags correctly
Anton SchubertAnton Schubert
bf8864618b4reduce warning about pts difference
Peter GroßePeter Große
ed3194cd7b3ffmpeg.c: fix code style in seek_to_start Signed-off-by: Peter Große <pegro@friiks.de> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Peter GroßePeter Große
90741f3d263ffmpeg.c: fix calculation of input file duration in seek_to_start() Fixes looping files without audio or when using stream_copy, where ist->nb_samples is not set since no decoding is done. This fixes ticket #5719 and also fixes an endless loop with the sample in ticket #6139. Signed-off-by: Peter Große <pegro@friiks.de> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Jonas LichtJonas Licht
a5c61717d12libavformat/mov.c: use calculated dts offset when seeking in streams Subtract the calculated dts offset from the requested timestamp before seeking. This fixes an error "Error while filtering: Operation not permitted" observed with a short file which contains only one key frame and starts with negative timestamps. Then, av_index_search_timestamp() returns a valid negative timestamp, but mov_seek_stream bails out with AVERROR_INVALIDDATA. Fixes ticket #6139. Signed-off-by: Jonas Licht <jon...
Anton SchubertAnton Schubert
e9d644b30b3decklink: use device number as device_name for selecting decklink devices by index
Anton SchubertAnton Schubert
0943ec9cc0ddoc: add duplex_mode option for decklink output
Anton SchubertAnton Schubert
1bfcce293c4decklink_enc: Add option for setting the duplex_mode also on output
Anton SchubertAnton Schubert
d79cb1fa02adecklink_common: try to set duplex_mode for the paired device if the current one doesn't support duplex-configuration
Peter GroßePeter Große
755a5d613cadoc: add dash muxer Signed-off-by: Peter Große <pegro@friiks.de> Signed-off-by: Martin Storsjö <martin@martin.st>
Peter GroßePeter Große
c667ba79d7edashenc: copy stream frame rate to output stream Leads to setting of DefaultDuration in Matroska muxer based on frame rate instead of timebase. Fixes playback in Chrome. Signed-off-by: Peter Große <pegro@friiks.de>
Anton SchubertAnton Schubert
8181a19b944dashenc: Don't output frameRates at both AS and Representation-level. Only output maxFrameRate at AS-level. Fix conformance regarding section "3.2.4. Presence of Attributes and Element" of the "Guidelines for Implementation: DASH-IF Interoperability Points V4.1" (http://dashif.org/guidelines/) Signed-off-by: Anton Schubert <ischluff@mailbox.org> Signed-off-by: Peter Große <pegro@friiks.de> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Peter GroßePeter Große
67046e6968edashenc: allow AdaptaionSets to have different average frame rates Signed-off-by: Peter Große <pegro@friiks.de>
Peter GroßePeter Große
b35df556a44dashenc: don't write header data before the first packet arrives Fixes: 1b8ef01f04ab ("dashenc: add webm support") Signed-off-by: Peter Große <pegro@friiks.de>
Peter GroßePeter Große
998af56d15fdashenc: set DASH related options for the subsequent matroska muxer when using webm This patch is inspired by the ffmpeg webm_chunk muxer and fixes that all resulting tracks have the same track number. Signed-off-by: Peter Große <pegro@friiks.de> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Anton SchubertAnton Schubert
a85f5c15a4cdashenc: fix bitrate estimation with correct scaling Signed-off-by: Anton Schubert <ischluff@mailbox.org> Signed-off-by: Peter Große <pegro@friiks.de> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Peter GroßePeter Große
f4a6ff3fd74dashenc: move UTCTiming element to the end of the manifest Required by comformance XSD [1]. [1] https://github.com/Dash-Industry-Forum/Conformance-and-reference-source/blob/master/conformance/MPDValidator/schemas/DASH-MPD.xsd Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Peter GroßePeter Große
6b1de4faa4bdashenc: use av_dict_set_int instead of static function Signed-off-by: Peter Große <pegro@friiks.de>
Mark ThompsonMark Thompson
01e291a5924hwcontext_vaapi: Remove use of vaExportSurfaceHandle() It is not present in libva 2.0.
Michael NiedermayerMichael Niedermayer
03351cce884Update versions for 3.4 release Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael NiedermayerMichael Niedermayer
46abeb1c322avcodec/snowdec: Check mv_scale Fixes: runtime error: signed integer overflow: 2 * -1094995530 cannot be represented in type 'int' Fixes: 3512/clusterfuzz-testcase-minimized-4812747210489856 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 393d6fc7395611a38792e3c271b2be42ac45e672) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael NiedermayerMichael Niedermayer
35e36046f1aavcodec/pafvideo: Check for bitstream end in decode_0() Fixes: Timeout Fixes: 3529/clusterfuzz-testcase-5057068371279872 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 9c85329cd02e9284892bf263ce6133b2fc479792) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Sasi InguvaSasi Inguva
8500de89ea9ffmpeg.c: Fallback to duration_dts, when duration_pts can't be determined. This is required for FLV files, for which duration_pts comes out to be zero. Signed-off-by: Sasi Inguva <isasi@google.com> Reviewed-by: Thomas Mundt <tmundt75@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 2b006ccf8318d84101ed83b75df4c9682a963217) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Ivan KalvachevIvan Kalvachev
a11a18b284aFix visual glitch with XvMC, caused by wrong idct permutation. In the past XvMC forced simple_idct since it was using FF_IDCT_PERM_NONE. However now we have SIMD variants of simple_idct that are using FF_IDCT_PERM_TRANSPOSE and if they are selected XvMC would get coefficients in the wrong order. The patch creates new FF_IDCT_NONE that is used only for this kind of hardware decoding and that fallbacks to the old C only simple idct. Signed-off-by: Ivan Kalvachev <ikalvachev@gmail.com> Signed...
James AlmerJames Almer
7deb7e6acd4configure: force erroring out in check_disable_warning() if an option doesn't exists Should prevent some options from being added to cflags when they don't exist and the compiler only warns about it. Reviewd-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com> (cherry picked from commit ad56e8057d8af0201ed0cb65acc12e5889d4afcc)
Ivan KalvachevIvan Kalvachev
7fb85ad3607Fix crash if av_vdpau_bind_context() is not used. The public functions av_alloc_vdpaucontext() and av_vdpau_alloc_context() are allocating AVVDPAUContext structure that is supposed to be placed in avctx->hwaccel_context. However the rest of libavcodec/vdpau.c uses avctx->hwaccel_context as struct VDPAUHWContext, that is bigger and does contain AVVDPAUContext as first member. The usage includes write to the new variables in the bigger stuct, without checking for block size. Fix by always a...
Marton BalintMarton Balint
c8642473e0bconfigure: remove libdl dependency from libndi_newtek We are not using dynamic loading for libndi. Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: Marton Balint <cus@passwd.hu> (cherry picked from commit 58143b15adda6391ec07f3eb19e80ed91d801edd)
Michael NiedermayerMichael Niedermayer
b1ec41a64f2add release notes based on release 3.3 Name suggestion was from Helmut K. C. Tessarek Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 07e7ebf52de9257fef1398c1dc5edb847b78ab21) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Peter GroßePeter Große
9d1bdb459b2avcodec/libvpx: set profile field in codec context
Peter GroßePeter Große
5908e986f7bavformat/mov: read codec profile and level from VP Codec Configuration Box
Peter GroßePeter Große
6c16034a5a3dashenc: use MP4 muxer for VP9 According to the "VP Codec ISO Media File Format Binding" specification [1] the VP encoded video can be muxed into ISO ISO-BMFF containers. ffmpeg supports for muxing VP9 in MP4, so add an option to enable it when muxing DASH: -mux_vp9_in_mp4 1 [1] https://www.webmproject.org/vp9/mp4/
Anton SchubertAnton Schubert
70e3c282a72decklink: use device number as device_name for selecting decklink devices by index
Anton SchubertAnton Schubert
52c74ea5190doc: add duplex_mode option for decklink output
Anton SchubertAnton Schubert
d9b8c79f420decklink_enc: Add option for setting the duplex_mode also on output
Anton SchubertAnton Schubert
21b687e0d6fdecklink_common: try to set duplex_mode for the paired device if the current one doesn't support duplex-configuration
Karthick JKarthick J
da49cdf6401avformat/hlsenc: Modularized playlist creation to allow reuse
Pan BianPan Bian
eb69e7bed80avcodec/nvenc: set correct error code In function process_output_surface(), the return value is 0 on the path that av_mallocz() returns a NULL pointer. 0 indicates success, which deviates from the fact. Return "AVERROR(ENOMEM)" instead of "0". Signed-off-by: Pan Bian <bianpan2016@163.com> Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
Jeyapal, KarthickJeyapal, Karthick
815e34b5b4elibavformat/hlsenc: Persistent HTTP connections supported as an option
Jeyapal, KarthickJeyapal, Karthick
4ddf7476c00libavformat/http: Handled multiple_requests option during write
Jeyapal, KarthickJeyapal, Karthick
62f63b24bfelibavformat/avio: Utility function to return URLContext
Dale CurtisDale Curtis
c5fd57f483dDon't manipulate duration when it's AV_NOPTS_VALUE. This leads to signed integer overflow. Signed-off-by: Dale Curtis <dalecurtis@chromium.org> Signed-off-by: James Almer <jamrial@gmail.com>
Dale CurtisDale Curtis
a3a0b5bd0aaavformat/oggparseopus: Free opus extradata before reallocating. Otherwise ff_alloc_extradata() just leaks any existing allocated memory. Signed-off-by: Dale Curtis <dalecurtis@chromium.org> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
James ZernJames Zern
86cead52563libvpxenc,vp9: add corpus-complexity option Corpus VBR mode is a variant of standard VBR where the complexity distribution midpoint is passed in rather than calculated for a specific clip or chunk. The valid range is [0, 10000]. 0 (default) uses standard VBR. Signed-off-by: James Zern <jzern@google.com>
Carl Eugen HoyosCarl Eugen Hoyos
ed4a0c7923effmpeg_opt: Constify hwaccel pointer. Fixes a warning: fftools/ffmpeg_opt.c:804:29: warning: assignment discards ‘const’ qualifier from pointer target type
Mikhail MironovMikhail Mironov
9ea6607d294Add HW H.264 and HEVC encoding for AMD GPUs based on AMF SDK Requires AMF headers for at least version 1.4.4.1. Signed-off-by: Mikhail Mironov <mikhail.mironov@amd.com> Signed-off-by: Mark Thompson <sw@jkqxz.net>
Jun ZhaoJun Zhao
23db3a1ae6dexamples: Add a VA-API encode example. Supports only raw NV12 input. Example use: ./vaapi_encode 1920 1080 test.yuv test.h264 Signed-off-by: Jun Zhao <jun.zhao@intel.com> Signed-off-by: Liu, Kaixuan <kaixuan.liu@intel.com> Signed-off-by: Mark Thompson <sw@jkqxz.net>
Mark ThompsonMark Thompson
c5f3e85792dChangelog: add VAAPI VP8 decoder
Pan BianPan Bian
f63450c8e4cavformat/mov: return correct value in mov_read_cmov On some failure paths, the error code is not correctly set. Signed-off-by: Pan Bian <bianpan2016@163.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Pan BianPan Bian
3f81259f337avformat/mov: set correct error code in mov_read_custom In function mov_read_custom(), it returns 0 on the path that av_malloc() returns a NULL pointer. 0 indicates success. An error code should be assigned to ret. Signed-off-by: Pan Bian <bianpan2016@163.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Mark ReidMark Reid
62f7f40caa7avformat/mxfenc: pass MXFPackage around instead of type Reviewed-by: Tomas Härdin <tjoppen@acc.umu.se> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>