Michael Niedermayer
5db111757c
avformat/movenc: Rename reshuffles return variable to ensure it is not mixed up
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
f66ca036bc
avformat/oggparseflac: Fix memleaks in old_flac_header()
Fixes CID1361953
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
9106cba22a
fate: Add fate-prores-gray
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Håvard Espeland
9c43703620
avcodec/proresdec2: Add support for grayscale videos
Signed-off-by: Håvard Espeland <espeland@mixedrealities.no>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
281caece46
avfilter/avfiltergraph: Clear graph pointers in ff_filter_graph_remove_filter()
When a filter is no longer part of a graph, its pointers should be cleared
so no stale pointers remain.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Luca Barbato
5264e7ba21
ac3: Check the array bound before dereferencing
CC: libav-stable@libav.org
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
9 years ago
Hendrik Leppkes
2dc954e0bd
Merge commit '44d16df413878588659dd8901bba016b5a869fd1'
* commit '44d16df413878588659dd8901bba016b5a869fd1':
h264_parser: eliminate H264SliceContext usage
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
9 years ago
Mark Thompson
a86aa16088
vaapi_h264: Add trivial support for low-power encoding
Experimental; requires Skylake and VAAPI 0.39.1 (not yet released).
Also increases the allowed range of the quality option - in low-power
mode, the Intel driver supports levels 1-8 (and 0 meaning default).
9 years ago
Mark Thompson
b51c7c6b8a
vaapi_h264: Fix frame_num after non-reference frames
Non-reference frames (nal_ref_idc == 0) should be discardable, so
frame_num does not advance after them. Before this change, a stream
containing unreferenced B-frames would be rejected by the reference
decoder.
9 years ago
Mark Thompson
2bfa067d0b
vaapi_encode: Check config attributes before creating config
This prevents attempts to use unsupported modes, such as low-power
H.264 mode on non-Skylake targets. Also fixes a crash on invalid
configuration, when trying to destroy an invalid VA config/context.
9 years ago
Diego Biurrun
6641819fee
build: Ignore generated mapfile and remove it on distclean
9 years ago
Gregor Riepl
d970f7ba31
ffserver: fixed deallocation bug in build_feed_streams
Signed-off-by: Gregor Riepl <onitake@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
7f5c6ea511
avformat/utils: Fix use of uninitialized variable
Fixes CID1361961
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
foo86
a0f76b825c
avcodec/dca: move EXSS sampling frequency arrays to dca.c
Avoids unwanted parser dependency on dcadata.
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
Anton Khirnov
f5c4388419
FATE: drop the audio stream from the dxtory test
This is a video test and there are no audio packets in the sample
anyway.
9 years ago
Anton Khirnov
fe7b21c8f1
avconv: fix parsing bitstream filters
The current code modifies the user-supplied string, which is shared for
the whole output file. So a bitstream filter specification applied to
multiple streams would not work correctly.
9 years ago
Anton Khirnov
80fb19bc23
avconv: fix a check for av_bsf_get_by_name() return value
9 years ago
Anton Khirnov
9f7590f4e4
avconv_vaapi: use the hwcontext device creation API
9 years ago
Anton Khirnov
18c506e9e6
avconv_dxva2: use the hwcontext device creation API
9 years ago
Anton Khirnov
f72db3f2f3
avconv_vdpau: use the hwcontext device creation API
9 years ago
Anton Khirnov
b8bf9194af
hwcontext_vaapi: implement device creation
9 years ago
Anton Khirnov
8e70385a8e
hwcontext_dxva2: implement device creation
9 years ago
Anton Khirnov
2e219b491b
hwcontext_cuda: implement device creation
9 years ago
Anton Khirnov
38392b2af8
hwcontext_vdpau: implement device creation
9 years ago
Anton Khirnov
1c9e8616c5
hwcontext: add a function for opening devices
9 years ago
Andrey Turkin
24b5cff01b
lavc: handle hw_frames_ctx where necessary
avcodec_copy_context() didn't handle hw_frames_ctx references correctly
which could cause crashes.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
9 years ago
Paul B Mahol
d93495c954
avcodec/vble: add frame threading support
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Michael Niedermayer
89e9393022
doc/developer.texi: Add a code of conduct
See: [FFmpeg-devel] [Vote] Code of Conduct
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Muhammad Faiz
defab0825f
avfilter/src_movie: add various commands
add seek command
add get_duration command
Update to codecpar by commiter
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Matthieu Bouron
d14deeb6bc
lavc/mediacodec: add missing MediaCodec.Get{Input,Output}Buffer() checks
9 years ago
Matthieu Bouron
fbc9359d85
lavc/mediacodec: factorize static fields initialization
9 years ago
Diego Biurrun
4024b566d6
golomb: Give svq3_get_se_golomb()/svq3_get_ue_golomb() better names
9 years ago
James Almer
493db04c4e
avcodec/Makefile: add missing dependencies to dca parser
They are needed starting with the previous commit
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
foo86
cb55c5b49e
avcodec/dca_parser: set duration for core-less streams
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
foo86
72a9a7e9cb
avcodec/dca_exss: prepare to be called from parser context
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
Diego Biurrun
7ca4fdc046
fate: More fine-grained dependencies for demuxer tests
9 years ago
Diego Biurrun
07377fb557
fate: More fine-grained dependencies for voice codec tests
9 years ago
Timo Rothenpieler
24fcb23351
avcodec/nvenc: Require Maxwell for lossless
9 years ago
Andrey Turkin
a8cf25dd92
avcodec/nvenc: CUDA frames support
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
9 years ago
Andrey Turkin
cfb49fc6f7
avcodec/nvenc: replace custom FIFOs with AVFifos
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
9 years ago
Andrey Turkin
e1691c44f0
avcodec/nvenc: combine input and output surface structures
There is no point in separate structures as they have 1:1 relationship,
they are always used together and they have same lifetime.
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
9 years ago
Andrey Turkin
82d705e245
avcodec/nvenc: split large functions into smaller ones
Functions names and scopes are from libav. This commit basically moves
code around without changing it; it shouldn't change any functionality
except some small leak fixes on error paths.
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
9 years ago
Martin Storsjö
3fdffc032e
rtsp: Use avcodec_descriptor_get instead of avcodec_find_decoder
This is only used for logging a human readable codec name for
debugging.
Signed-off-by: Martin Storsjö <martin@martin.st>
9 years ago
Michael Niedermayer
9591ca704b
avformat/udp: Close the socket after destroying the thread using the socket
for send() this cannot work and even for recv() it feels very wrong and hackish
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
9b7a8bddac
avformat/udp: redesign threaded udp tx code
This fixes partially completed send()
Avoids holding the mutex during send()
fixes race conditions in error handling
removes copied non thread specific blocking code
Fixes deadlocks on closure
Fixes data loss on closure
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Pavel Nikiforov
413c842a69
avformat/udp: Add a delay between packets for streaming to clients with short buffer
This commit enables sending UDP packets in a background thread with specified delay.
When sending packets without a delay some devices with small RX buffer
( MAG200 STB, for example) will drop tail packets in bursts causing
decoding errors.
To use it specify "fifo_size" with "packet_gap" .
The output url will looks like udp://xxx:yyy?fifo_size=<output fifo
size>&packet_gap=<delay in usecs>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
dsmudhar
49640ae315
libavcodec/dv_tablegen: fixed wrong printf format
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
dsmudhar
04d35004c3
libavfilter/vf_hwdownload: show error when ff_formats_ref fails
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
35b37591c0
avfilter/af_hdcd: Replace complexer expression by litteral constant
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Diego Biurrun
e47b8bbf0b
avcodec: Bump micro version after changing public JPEG 2000 defines
9 years ago