Michael Niedermayer
e85c4a4706
avformat/flvenc: Add () around &
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Clément Bœsch
415f907ce8
lavf/utils: add missing ismv in MOV-like formats
8 years ago
Clément Bœsch
9112822e71
lavf/utils: simplify matching MOV-like formats
8 years ago
Clément Bœsch
ae1dd0c9a6
lavf: add avformat_transfer_internal_stream_timing_info() and use it in ffmpeg
...
In lavf we have access to st->internal->avctx so it's a better place
than in ffmpeg*.c and will allow moving to codecpar.
8 years ago
Jon Toohill
7f386bbe2a
ffmpeg: copy trailing_padding when using -acodec copy
...
Signed-off-by: James Almer <jamrial@gmail.com>
8 years ago
Steven Liu
84aebfc74e
avformat/flvenc: add FLVFlags for flvflags options
...
add FLVFlags type, be used to add new FLVFlags options
Signed-off-by: Steven Liu <lingjiujianke@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Michael Niedermayer
9f18a970b2
avformat/hlsenc: Assume UTC if "%z" is unsupported in strftime()
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Michael Niedermayer
22ba9a3cb8
avformat/hlsenc: Avoid "%T" "%F" in strftime() to improve compatibility
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Marton Balint
025db5afaf
avfilter/af_amerge: allow merging 1 input only
...
Useful when the amerge filter parameters are generated from a script based on
the number of input streams, by allowing 1 input it does not have to be handled
specially.
The split filter also allows 1 output, so it is more consistent to allow
merging 1 input as well.
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Marton Balint <cus@passwd.hu>
8 years ago
Vittorio Giovara
d41bfa9c0b
vf_colorspace: Add BT-names for gamma22/28 transfer option
...
Allows to use values returned from API and from ffprobe directly.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
8 years ago
Jonathan Campbell
c19da0cfd8
avcodec/mpeg12dec: add comments documenting the format of the DVD CC user-data packet.
...
this is to aid development and maintenance of that code.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Rodger Combs
1f6d7eb470
lavf: add a flag to enable/disable automatic bitstream filtering
...
This is mostly useful for muxers that wrap other muxers, such as dashenc
and segment. The actual duplicated bitstream filtering is largely harmless,
but delaying the header can cause problems when the muxer intended the header
to be written to a separate file.
8 years ago
Michael Niedermayer
5e1bf9d8c0
avcodec/avpacket: clear side_data_elems
...
Fixes null pointer dereference
Found-by: 连一汉 <lianyihan@360.cn>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Rodger Combs
dca03ec5f4
ass_split: reindent
8 years ago
Rodger Combs
3b32e1313c
ass_split: fix handling of streams with no [Events] or Format: line
8 years ago
Paul B Mahol
a50ca6b357
avfilter/vf_convolution: add slice threading support
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
afeffd891f
avfilter: add sobel and prewitt filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
b791d0e4e0
avfilter/vf_vaguedenoiser: calculate dimensions at init
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
dc669d5fbe
avfilter/vf_vaguedenoiser: change thresholding to function pointers
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Michael Niedermayer
5bbffe3412
avcodec/h264_refs: Change default case to av_assert0() to suppress warning
...
Should fix "libavcodec/h264_refs.c:372:13: warning: variable 'i' is used uninitialized whenever switch default is taken"
Found-by: durandal_17
Suggested-by: jkqxz
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Matthieu Bouron
025f75c3ad
lavc/ffjni: do not error out if the last non-mandatory field/method cannot be found
8 years ago
Jens Ziller
bc7066fd5d
libavcodec/mmaldec.c: set AVFrame interlaced_frame and top_field_first, AVCodecContext framerate
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Jan Sebechlebsky
b7760dd8d4
avformat/tee: Use BSF list API
...
Signed-off-by: Jan Sebechlebsky <sebechlebskyjan@gmail.com>
8 years ago
Michael Niedermayer
cb114ed464
avformat/mux: implement AVFMT_FLAG_SHORTEST
...
This will allow fixing several bugs with the -shortest option
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Alex Converse
09317e3e06
ivfenc: Add VPX codec tags.
...
This fixes remuxing VPX from MP4 without manually overwriting the tag.
8 years ago
Paul B Mahol
97297fb144
avfilter/vf_overlay: inline yuv output formats
...
Overall speedup ~10-20%
Tested-by: Michael on mingw32 mingw64 linux32 mips and arm
8 years ago
Paul B Mahol
140a0485d3
avfilter/vf_overlay: split blend_image into functions for each overlay format
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Michael Niedermayer
054f912c0d
avfilter/avf_concat: Make independent of the channel layout
...
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Philip Langdale
4029f05c8b
avcodec/cuvid: Always check for internal errors during parsing
...
The cuvid parser is basically undocumented, and although you'd
think that a failed callback would result in the overall parse
call returning an error, that is not true.
So, we end up silently trying to keep going as if nothing is wrong,
which doesn't achieve anything.
Solution: check the internal error flag every time.
Signed-off-by: Philip Langdale <philipl@overt.org>
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
8 years ago
Paul B Mahol
b257266ee8
avfilter/af_amix: use ff_all_channel_counts() instead of ff_all_channel_layouts()
...
Adds support for filtering frames with unknown channel layouts.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Rodger Combs
7c5fed15a8
lavc/Makefile: add missing ADPCM_THP_LE objs
8 years ago
Rodger Combs
1177e42121
lavc/Makefile: g729dec: fix missing file
8 years ago
Michael Niedermayer
ae7d4e17eb
fate: Add copy-trac2211-avi test
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Michael Niedermayer
24b3918901
tests/fate-run.sh: Analyze file generated in transcode()
...
This should be much more informative than a plain md5 difference
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Michael Niedermayer
68f4c2163e
avformat/movenc: Check first DTS similar to dts difference
...
Fixes assertion failure
Fixes: b84b53855a0b74560e64c6f45f505a13/signal_sigabrt_7ffff6ae7c37_3837_ef4e243ea5b4fa8d0becf4afe9166604.avi
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Paul B Mahol
c784b5cfdc
avfilter/vf_histogram: set foreground alpha if possible in destination format
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Lou Logan
915abab25c
doc/filters: add missing palette* options
...
Introduced in b7e78c7
and 93ae68d
.
Fixes #5835 .
The paletteuse debug options that are not part of the official API are
not included (debug_kdtree and color_search).
Signed-off-by: Lou Logan <lou@lrcd.com>
8 years ago
Timo Rothenpieler
b91e0e5987
avcodec/cuvid: check for and warn about invalid pkt_timebase
8 years ago
Timo Rothenpieler
132adf73af
avcodec/cuvid: use pkt_timebase instead of time_base
8 years ago
Thilo Borgmann
4d48add89b
lavc/alsdec: use get_bitsz() to simplify reading of the mantissa
...
Signed-off-by: James Almer <jamrial@gmail.com>
8 years ago
Clément Bœsch
6d60770247
tests/fate/ffmpeg: regroup stream copy tests under a fate-streamcopy rule
8 years ago
Matthieu Bouron
bf011695fd
lavc/hevc: store VPS/SPS/PPS data
8 years ago
Paul B Mahol
7055b28d98
avfilter/vf_datascope: cleanup code a little
...
Make few helper functions.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
5556392b3b
fate: add hstack and vstack
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
653ca05807
avfilter/vf_weave: do not leak unused frame
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
ac3f9be330
fate: add weave
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Michael Niedermayer
752e6dfa3e
avcodec/ccaption_dec: Use simple array instead of AVBuffer
...
This is simpler and fixes an out of array read, fixing it with AVBuffers
would be more complex
Fixes: e00d9e6e50e5495cc93fea41147b97bb/asan_heap-oob_12dcdbb_8798_b32a97ea722dd37bb5066812cc674552.mov
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Matthew Gregan
7b3bc365f9
avformat/mov: Enable stream parsing for VP9.
...
MP4 media containing VP9 using superframes (such as
https://github.com/Netflix/vp9-dash/raw/master/DASH-Samples/Fountain_2997_0560kbps_640x480_4x3PAR.ivf_DashUnencrypted.ismv )
does not decode correctly with the built-in VP9 decoder because
superframes are passed to the decoder whole rather than split into
individual frames.
Signed-off-by: Matthew Gregan <kinetik@flim.org>
8 years ago
Steven Liu
1da00be009
avformat/segment: give a warning message for remove initial_offset option
...
ffmpeg have a generic solution working with all muxer named
output_ts_offset, output_ts_offset will instead of initial_offset
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Steven Liu
fff4df7fba
MAINTAINERS: Add myself for hlsenc
...
Signed-off-by: Steven Liu <lingjiujianke@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago