]>
git.sesse.net Git - ffmpeg/log
Michael Niedermayer [Tue, 30 Dec 2014 00:57:17 +0000 (01:57 +0100)]
Merge commit '
8d54bacb789c7d37ca3cf48d9ac13083ad0c1ba7 '
* commit '
8d54bacb789c7d37ca3cf48d9ac13083ad0c1ba7 ':
dashenc: Remove some stray double spaces
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Tue, 30 Dec 2014 00:50:17 +0000 (01:50 +0100)]
Merge commit '
b91a5757fcbf723da99b05b298a6f820271dbc2b '
* commit '
b91a5757fcbf723da99b05b298a6f820271dbc2b ':
dashenc: Fix writing of timelines that don't start at t=0
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Tue, 30 Dec 2014 00:44:08 +0000 (01:44 +0100)]
Merge commit '
50036c30df83b609bc5a95276f1287f8b9b8bdd6 '
* commit '
50036c30df83b609bc5a95276f1287f8b9b8bdd6 ':
fate: Use bitexact conversions in the dpxparser test
Conflicts:
tests/fate/image.mak
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Carl Eugen Hoyos [Mon, 29 Dec 2014 21:47:04 +0000 (22:47 +0100)]
Fix decoding for little endian Aja Kona 10-bit RGB.
The little endian fourcc is r10k, big endian uses R10k.
Reported and analyzed by Jason Freets, jasonslife hotmail
Martin Storsjö [Mon, 29 Dec 2014 12:57:05 +0000 (14:57 +0200)]
dashenc: Remove some stray double spaces
Signed-off-by: Martin Storsjö <martin@martin.st>
Martin Storsjö [Mon, 29 Dec 2014 13:39:23 +0000 (15:39 +0200)]
dashenc: Fix writing of timelines that don't start at t=0
When writing an explicit time, reset the cur_time variable to this
value as well. This avoids writing excessive time attributes for each
segment in the timeline, as long as the segments are continuous.
Signed-off-by: Martin Storsjö <martin@martin.st>
Martin Storsjö [Sun, 28 Dec 2014 22:20:08 +0000 (00:20 +0200)]
fate: Use bitexact conversions in the dpxparser test
This fixes fate on e.g. ppc.
Signed-off-by: Martin Storsjö <martin@martin.st>
Michael Niedermayer [Mon, 29 Dec 2014 19:53:56 +0000 (20:53 +0100)]
libavformat/cdxl: fix duration in case of overflow
Fixes integer overflow
Fixes CID1260706
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Mon, 29 Dec 2014 14:52:34 +0000 (15:52 +0100)]
avutil/rational: Check that av_reduce() returns values within the requested max
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Mon, 29 Dec 2014 14:51:36 +0000 (15:51 +0100)]
avcodec/ituh263enc: Check den==0 in ff_h263_aspect_to_info()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Mon, 29 Dec 2014 13:06:26 +0000 (14:06 +0100)]
avcodec/ffwavesynth: Use av_freep() to avoid leaving stale pointers in memory
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Fri, 9 May 2014 14:02:30 +0000 (16:02 +0200)]
avformat/mux: 2 subtitle packets could have the same DTS
Fixes Ticket3514
See: ETSI EN 300 743 V1.3.1 (2006-11)
"In summary, all of the segments of a single display set shall be carried in one (or more) PES packets that have the same
PTS value."
with PTS = DTS and remuxing of such a stream it is to be expected that sometimes
multiple packets would have the same DTS
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Pedro E. M. Brito [Sun, 28 Dec 2014 07:35:34 +0000 (05:35 -0200)]
libavformat/segment.c: Add strftime expansion for segment filename templates
Allows expansion of the filename template with strftime() with the option
-strftime 1 (disabled by default). This allows segments to be named by time of
creation, adding some flexibility.
Fixes Ticket 4104 (add strftime to segment muxer)
Signed-off-by: Pedro E. M. Brito <pedroembrito@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Carl Eugen Hoyos [Sun, 28 Dec 2014 20:07:56 +0000 (21:07 +0100)]
Fix R10k blue channel output.
Makes R10k -> gbrp10 ffv1 -> R10k roundtrip bit-identical.
Simon Thelen [Sun, 28 Dec 2014 13:51:15 +0000 (14:51 +0100)]
doc/ffmpeg.texi: document the new -sdp_file option
Signed-off-by: Simon Thelen <ffmpeg-dev@c-14.de>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sun, 28 Dec 2014 17:17:12 +0000 (18:17 +0100)]
avdevice/dshow: Remove unneeded NULL checks
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sun, 28 Dec 2014 17:16:37 +0000 (18:16 +0100)]
avdevice/dshow: Use av_freep() to avoid leaving stale pointers in memory
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sun, 28 Dec 2014 17:16:02 +0000 (18:16 +0100)]
avdevice/dv1394: Use av_freep() to avoid leaving stale pointers in memory
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sat, 27 Dec 2014 03:27:07 +0000 (04:27 +0100)]
avfilter/vf_cropdetect: add max_outliers parameter
Fixes Ticket3030
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sun, 28 Dec 2014 01:56:02 +0000 (02:56 +0100)]
ffmpeg: Use av_freep(), avoid leaving stale pointers in memory
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Simon Thelen [Thu, 25 Dec 2014 21:56:06 +0000 (22:56 +0100)]
ffmpeg: add sdp_file option
Allow printing of sdp information to a file specified by -sdp_file
This allows users to print sdp information when at least one of the
outputs isn't an rtp stream.
Signed-off-by: Simon Thelen <ffmpeg-dev@c-14.de>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sun, 28 Dec 2014 00:47:05 +0000 (01:47 +0100)]
avcodec/vdpau: fix assertion failure and < vs > error
Fixes Ticket4211
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sat, 27 Dec 2014 22:17:21 +0000 (23:17 +0100)]
Merge remote-tracking branch 'rbultje/vp9-32bit-lpf'
* rbultje/vp9-32bit-lpf:
vp9/x86: add myself to copyright holders for loopfilter assembly.
vp9/x86: make filter_16_h work on 32-bit.
vp9/x86: make filter_48/84/88_h work on 32-bit.
vp9/x86: make filter_44_h work on 32-bit.
vp9/x86: make filter_16_v work on 32-bit.
vp9/x86: make filter_48/84_v work on 32-bit.
vp9/x86: make filter_88_v work on 32-bit.
vp9/x86: make filter_44_v work on 32-bit.
vp8/x86: save one register in SIGN_ADD/SUB.
vp9/x86: store unpacked intermediates for filter6/14 on stack.
vp8/x86: move variable assigned inside macro branch.
vp9/x86: simplify ABSSUM_CMP by inverting the comparison meaning.
vp8/x86: remove unused register from ABSSUB_CMP macro.
vp9/x86: slightly simplify 44/48/84/88 h stores.
vp9/x86: make cglobal statement more conservative in register allocation.
vp9/x86: save one register in loopfilter surface coverage.
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Reimar Döffinger [Sat, 27 Dec 2014 21:49:39 +0000 (22:49 +0100)]
r210enc.c: Simplify and never store more than 10 bits.
The r10k and avrp decoders would previously store 12 bit precision
for the blue channel, which is inconsistent and probably not a
desirable behaviour.
Now the 2 unused extra bits are set to 0.
This is possibly not ideal either as RGBA1010102 format has the same
layout but stores alpha in these bits, thus explicitly setting them
to 1 might be preferable.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Ronald S. Bultje [Sat, 27 Dec 2014 19:55:04 +0000 (14:55 -0500)]
vp9/x86: add myself to copyright holders for loopfilter assembly.
Ronald S. Bultje [Fri, 26 Dec 2014 22:50:38 +0000 (17:50 -0500)]
vp9/x86: make filter_16_h work on 32-bit.
Ronald S. Bultje [Fri, 26 Dec 2014 20:15:50 +0000 (15:15 -0500)]
vp9/x86: make filter_48/84/88_h work on 32-bit.
Ronald S. Bultje [Fri, 26 Dec 2014 19:48:01 +0000 (14:48 -0500)]
vp9/x86: make filter_44_h work on 32-bit.
Ronald S. Bultje [Fri, 26 Dec 2014 19:05:23 +0000 (14:05 -0500)]
vp9/x86: make filter_16_v work on 32-bit.
Ronald S. Bultje [Fri, 26 Dec 2014 17:10:26 +0000 (12:10 -0500)]
vp9/x86: make filter_48/84_v work on 32-bit.
Ronald S. Bultje [Sat, 27 Dec 2014 20:12:01 +0000 (15:12 -0500)]
vp9/x86: make filter_88_v work on 32-bit.
Ronald S. Bultje [Sat, 27 Dec 2014 20:08:48 +0000 (15:08 -0500)]
vp9/x86: make filter_44_v work on 32-bit.
Ronald S. Bultje [Sat, 27 Dec 2014 19:47:07 +0000 (14:47 -0500)]
vp8/x86: save one register in SIGN_ADD/SUB.
Ronald S. Bultje [Wed, 24 Dec 2014 19:17:28 +0000 (14:17 -0500)]
vp9/x86: store unpacked intermediates for filter6/14 on stack.
filter16 goes from 508 to 482 (h) or 346 to 314 (v) cycles; filter88
goes from 240 to 238 (h) or 174 to 165 (v) cycles, measured on TOS.
Ronald S. Bultje [Wed, 24 Dec 2014 19:22:19 +0000 (14:22 -0500)]
vp8/x86: move variable assigned inside macro branch.
The value is not used outside the branch.
Ronald S. Bultje [Mon, 22 Dec 2014 00:34:03 +0000 (19:34 -0500)]
vp9/x86: simplify ABSSUM_CMP by inverting the comparison meaning.
Ronald S. Bultje [Sat, 20 Dec 2014 16:13:06 +0000 (11:13 -0500)]
vp8/x86: remove unused register from ABSSUB_CMP macro.
Ronald S. Bultje [Sat, 20 Dec 2014 03:18:42 +0000 (22:18 -0500)]
vp9/x86: slightly simplify 44/48/84/88 h stores.
Ronald S. Bultje [Sat, 20 Dec 2014 03:09:30 +0000 (22:09 -0500)]
vp9/x86: make cglobal statement more conservative in register allocation.
Ronald S. Bultje [Sat, 20 Dec 2014 02:44:57 +0000 (21:44 -0500)]
vp9/x86: save one register in loopfilter surface coverage.
Clément Bœsch [Mon, 26 May 2014 19:08:32 +0000 (21:08 +0200)]
avutil/atomic: reuse ret to avoid dereferencing twice the same value.
Michael Niedermayer [Sat, 27 Dec 2014 03:18:44 +0000 (04:18 +0100)]
avfilter/vf_cropdetect: Factorize duplicated code using a macro
This simplifies subsequent changes
Reviewed-by: Benoit Fouet <benoit.fouet@free.fr>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sat, 27 Dec 2014 18:01:07 +0000 (19:01 +0100)]
avfilter/vf_blend: Fix AVClass
Fixes infinite loop
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Stefano Sabatini [Thu, 4 Dec 2014 11:27:53 +0000 (12:27 +0100)]
lavfi: add tblend filter
Michael Niedermayer [Sat, 27 Dec 2014 14:50:01 +0000 (15:50 +0100)]
avutil/hmac: use av_freep() to avoid leaving stale pointers in memory
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sat, 27 Dec 2014 14:49:13 +0000 (15:49 +0100)]
avutil/audio_fifo: use av_freep() to avoid leaving stale pointers in memory
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sat, 27 Dec 2014 14:48:32 +0000 (15:48 +0100)]
avutil/dict: Use av_freep() to avoid leaving stale pointers in memory
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sat, 27 Dec 2014 13:56:10 +0000 (14:56 +0100)]
Merge commit '
60d4c6ff76467d4d8f55c1cc61ab6c618e8ea2f3 '
* commit '
60d4c6ff76467d4d8f55c1cc61ab6c618e8ea2f3 ':
h264: restore a block mistakenly removed in
e10fd08a
See:
0ecb3075c1c243cfb656d1cbe0b19cdb91bde659
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sat, 27 Dec 2014 12:37:39 +0000 (13:37 +0100)]
Merge commit '
737d35e33408263c04d7730f5487eed0d04938ba '
* commit '
737d35e33408263c04d7730f5487eed0d04938ba ':
vdpau: add support for the H.264 High 4:4:4 Predictive profile
Conflicts:
libavcodec/vdpau_internal.h
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sat, 27 Dec 2014 12:25:52 +0000 (13:25 +0100)]
Merge commit '
1f9237f2ac46dfbed1bfa1f4f0f1314c2a1d62ec '
* commit '
1f9237f2ac46dfbed1bfa1f4f0f1314c2a1d62ec ':
avconv_vdpau: allocate video surface of VDPAU-specified size
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sat, 27 Dec 2014 12:16:46 +0000 (13:16 +0100)]
Merge commit '
ebd5320afd42d4315851f3e0ca7f5d4a6300eb68 '
* commit '
ebd5320afd42d4315851f3e0ca7f5d4a6300eb68 ':
vdpau: add support for 4:2:2 and 4:4:4 chroma sampling
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sat, 27 Dec 2014 12:06:25 +0000 (13:06 +0100)]
Merge commit '
c220a60f92dde9c7c118fc4deddff5c1f617cda9 '
* commit '
c220a60f92dde9c7c118fc4deddff5c1f617cda9 ':
vdpau: add helper for surface chroma type and size
Conflicts:
libavcodec/vdpau.c
libavcodec/version.h
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sat, 27 Dec 2014 11:52:59 +0000 (12:52 +0100)]
Merge commit '
6c99c92a42add7f6a462114d5a4a53c93c551058 '
* commit '
6c99c92a42add7f6a462114d5a4a53c93c551058 ':
libavcodec: add AV_HWACCEL_ALLOW_HIGH_DEPTH flag
Conflicts:
libavcodec/version.h
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sat, 27 Dec 2014 11:41:10 +0000 (12:41 +0100)]
Merge commit '
57b6704ecd0f56d6a3092e448687cfd837bb0ac1 '
* commit '
57b6704ecd0f56d6a3092e448687cfd837bb0ac1 ':
avcodec: add AVCodecContext.sw_pix_fmt
Conflicts:
doc/APIchanges
libavcodec/avcodec.h
libavcodec/version.h
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sat, 27 Dec 2014 11:15:34 +0000 (12:15 +0100)]
Merge commit '
4cfbeef31d4e6096c0596359d212f5d99a7ba4b5 '
* commit '
4cfbeef31d4e6096c0596359d212f5d99a7ba4b5 ':
h264: factor hwaccel pixel formats list
Conflicts:
libavcodec/h264_slice.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Anton Khirnov [Thu, 25 Dec 2014 21:46:39 +0000 (22:46 +0100)]
h264: restore a block mistakenly removed in
e10fd08a
CC: libav-stable@libav.org
Bug-ID: 781
Michael Niedermayer [Sat, 27 Dec 2014 03:52:03 +0000 (04:52 +0100)]
avfilter/vf_cropdetect: add yuv440p and yuv410p support
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Fri, 26 Dec 2014 22:26:33 +0000 (23:26 +0100)]
avfilter/vf_fspp: Add GBRP and gray8 support
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Reynaldo H. Verdejo Pinochet [Fri, 26 Dec 2014 22:01:31 +0000 (19:01 -0300)]
ffserver: check for EOF|error at loop condition
Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
Reynaldo H. Verdejo Pinochet [Fri, 26 Dec 2014 21:43:40 +0000 (18:43 -0300)]
ffserver: reflow close_connection()
Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
Reynaldo H. Verdejo Pinochet [Fri, 26 Dec 2014 21:34:52 +0000 (18:34 -0300)]
ffserver: minor formatting improvement to http_server()
Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
Reynaldo H. Verdejo Pinochet [Fri, 26 Dec 2014 21:17:47 +0000 (18:17 -0300)]
ffserver: reindent start_multicast()
Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
Reynaldo H. Verdejo Pinochet [Fri, 26 Dec 2014 21:03:25 +0000 (18:03 -0300)]
ffserver: reflow start_multicast()
Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
Reynaldo H. Verdejo Pinochet [Tue, 9 Dec 2014 06:03:41 +0000 (03:03 -0300)]
ffserver: reindent start_children()
Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
Reynaldo H. Verdejo Pinochet [Tue, 9 Dec 2014 05:57:02 +0000 (02:57 -0300)]
ffserver: reflow start_children()
Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
Reynaldo H. Verdejo Pinochet [Tue, 9 Dec 2014 05:04:10 +0000 (02:04 -0300)]
ffserver: break lines at 80 in func prototypes
Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
James Almer [Fri, 26 Dec 2014 20:09:02 +0000 (17:09 -0300)]
x86/vf_fspp: move pxor in store slice functions out of the loop
m7 is not overwritten, so we only need to clear it once.
Found by Christophe Gisquet.
Signed-off-by: James Almer <jamrial@gmail.com>
James Almer [Fri, 26 Dec 2014 18:37:54 +0000 (15:37 -0300)]
x86/vf_fspp: port inline asm to yasm
Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: James Almer <jamrial@gmail.com>
Michael Niedermayer [Fri, 26 Dec 2014 17:17:12 +0000 (18:17 +0100)]
avfilter/vf_fspp: clarify comment
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Kieran Kunhya [Fri, 26 Dec 2014 14:46:02 +0000 (14:46 +0000)]
swscale: Pass through chroma positions in sws_getCachedContext
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sun, 21 Dec 2014 16:38:17 +0000 (17:38 +0100)]
avfilter/vf_boxblur: generate supported pixfmt list instead of hardcoding
This adds support for several more >8bit planar formats
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Fri, 26 Dec 2014 13:59:29 +0000 (14:59 +0100)]
avformat/rtsp: Use av_freep() to avoid leaving stale pointers in memory
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Fri, 26 Dec 2014 11:11:58 +0000 (12:11 +0100)]
avformat/cache: remove ftruncate usage, its not always available
In case of errors the cache file will be slightly larger than needed,
this should have no practical relevance though
Should fix build on VS201*
Found-by: jamrial
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Stefano Sabatini [Thu, 4 Dec 2014 11:34:30 +0000 (12:34 +0100)]
lavfi/blend: add difference128 mode
Michael Niedermayer [Fri, 26 Dec 2014 00:36:00 +0000 (01:36 +0100)]
avformat/cache: Extend cache entries if possible instead of creating new ones
This reduces the number of cache entries and should significantly
reduce memory requirements
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Fri, 26 Dec 2014 00:23:54 +0000 (01:23 +0100)]
avformat/cache: avoid lseek() on reading from the cache if possible
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Fri, 26 Dec 2014 00:22:52 +0000 (01:22 +0100)]
avformat/cache: keep cache_pos updated
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Fri, 26 Dec 2014 00:13:49 +0000 (01:13 +0100)]
avformat/cache: cleanup cache file on cache write failure
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Thu, 25 Dec 2014 21:12:02 +0000 (22:12 +0100)]
Changelog: Mention non continuous cache protocol
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Clément Bœsch [Thu, 25 Dec 2014 22:36:48 +0000 (23:36 +0100)]
avfilter/xbr: reindent after previous commit
Clément Bœsch [Thu, 25 Dec 2014 22:34:25 +0000 (23:34 +0100)]
avfilter/xbr: refactor px calculation in FILT[234]
Clément Bœsch [Sun, 16 Nov 2014 11:12:40 +0000 (12:12 +0100)]
avfilter/xbr: move alpha blend assignment out of the macros
Clément Bœsch [Sun, 16 Nov 2014 10:55:25 +0000 (11:55 +0100)]
avfilter/xbr: remove unused mask
Clément Bœsch [Sun, 16 Nov 2014 10:55:08 +0000 (11:55 +0100)]
avfilter/xbr: refactor alpha blending macros
Michael Niedermayer [Thu, 25 Dec 2014 20:39:51 +0000 (21:39 +0100)]
avformat/cache: Support user specified read-ahead for non seekable media
Fixes Ticket2406
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Thu, 25 Dec 2014 20:30:10 +0000 (21:30 +0100)]
avformat/cache: Use the correct io handle in seeking
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Thu, 25 Dec 2014 20:28:27 +0000 (21:28 +0100)]
avformat/cache: more informative error message
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Thu, 25 Dec 2014 20:27:04 +0000 (21:27 +0100)]
avformat/cache: remember EOF point if hit and use it to handle SEEK_END
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Rémi Denis-Courmont [Fri, 19 Dec 2014 17:15:05 +0000 (19:15 +0200)]
vdpau: add support for the H.264 High 4:4:4 Predictive profile
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Rémi Denis-Courmont [Fri, 19 Dec 2014 17:15:11 +0000 (19:15 +0200)]
avconv_vdpau: allocate video surface of VDPAU-specified size
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Rémi Denis-Courmont [Fri, 19 Dec 2014 17:15:10 +0000 (19:15 +0200)]
vdpau: add support for 4:2:2 and 4:4:4 chroma sampling
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Rémi Denis-Courmont [Fri, 19 Dec 2014 17:15:09 +0000 (19:15 +0200)]
vdpau: add helper for surface chroma type and size
Since the VDPAU pixel format does not distinguish between different
VDPAU video surface chroma types, we need another way to pass this
data to the application.
Originally VDPAU in libavcodec only supported decoding to 8-bits YUV
with 4:2:0 chroma sampling. Correspondingly, applications assumed that
libavcodec expected VDP_CHROMA_TYPE_420 video surfaces for output.
However some of the new HEVC profiles proposed for addition to VDPAU
would require different depth and/or sampling:
http://lists.freedesktop.org/archives/vdpau/2014-July/000167.html
...as would lossless AVC profiles:
http://lists.freedesktop.org/archives/vdpau/2014-November/000241.html
To preserve backward binary compatibility with existing applications,
a new av_vdpau_bind_context() flag is introduced in a further change.
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Rémi Denis-Courmont [Fri, 19 Dec 2014 17:15:08 +0000 (19:15 +0200)]
libavcodec: add AV_HWACCEL_ALLOW_HIGH_DEPTH flag
This can be used by the application to signal its ability to cope with
video surface of types other than 8-bits YUV 4:2:0.
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Rémi Denis-Courmont [Fri, 19 Dec 2014 17:15:07 +0000 (19:15 +0200)]
avcodec: add AVCodecContext.sw_pix_fmt
This carries the pixel format that would be used if it were not for
hardware acceleration. This is equal to AVCodecContext.pix_fmt if
hardware acceleration is not in use.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Rémi Denis-Courmont [Fri, 19 Dec 2014 17:15:06 +0000 (19:15 +0200)]
h264: factor hwaccel pixel formats list
This is to avoid proliferation of similar tables in following changes.
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Michael Niedermayer [Thu, 25 Dec 2014 17:48:05 +0000 (18:48 +0100)]
avformat/cache: support non continuous caching
This allows using the cache protocol on top of seekable but slow protocols to
speed them up
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Timo Rothenpieler [Thu, 25 Dec 2014 13:55:31 +0000 (14:55 +0100)]
avcodec/nvenc: Remove special cases for cygwin
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Thu, 25 Dec 2014 11:42:22 +0000 (12:42 +0100)]
avformat/smoothstreamingenc: Use av_freep() avoid leaving stale pointers in memory
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Thu, 25 Dec 2014 11:41:36 +0000 (12:41 +0100)]
avformat/wtvdec: Use av_freep() avoid leaving stale pointers in memory
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Thu, 25 Dec 2014 11:38:20 +0000 (12:38 +0100)]
avformat/segment: Use av_freep() avoid leaving stale pointers in memory
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>