Paul B Mahol
11bc4fd653
avcodec/dvaudiodec: only stereo makes sense
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Luca Barbato
eafb05fcf3
v210: x86: Add the correct guards around the asm code
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
9 years ago
Paul B Mahol
e9e623369d
avcodec: add Ulead DV audio decoder
Fixes #1564 .
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
df7b165e87
avfilter/vf_zscale: make it possible to override input frame parameters
Mostly useful when there is no such parameters present at all.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Ivan
a0174f6729
avformat/flvenc: copyts in FLV muxer
The purpose of this patch is to preserve timestamps when using ffmpeg for publishing RTMP streams, e.g. ffmpeg -i rtmp://source/stream -f flv rtmp://target/stream.
There is a setting "copyts" for that purpose. Unfortunately it doesn't work with FLV muxer because it has its own timestamp correction which makes global setting "copyts" ineffective.
This patch removes timestamp correction in FLV muxer. This means FLV will rely on ffmpeg timestamp correction which makes it possible to use copyts.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Vittorio Gambaletta (VittGam)
74658a8b4d
ffmpeg_opt: Allow -metadata option to set metadata on programs.
Signed-off-by: Vittorio Gambaletta <ffmpeg-dev@vittgam.net>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Vittorio Gambaletta (VittGam)
6e448fb97e
ffmpeg_opt: Move the 'process manually set programs' block above 'process manually set metadata' in open_output_file().
Signed-off-by: Vittorio Gambaletta <ffmpeg-dev@vittgam.net>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
f3ace85d88
avutil/opt: check for and handle errors in av_opt_set_dict2()
Previously errors could result in random entries to be lost.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Hendrik Leppkes
2e31434d84
swscale: add P010 input support
10 years ago
Hendrik Leppkes
c2869b4640
avutil: add P010 pixel format
P010 is the 10-bit variant of NV12 (planar luma, packed chroma), using two
bytes per component to store 10-bit data plus 6-bit zeroes in the LSBs.
10 years ago
Andreas Cadhalpun
38622007c4
vf_libopencv: add support for opencv 3
It dropped the old headers, but the replacements are already available
with opencv 2.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
9 years ago
Marton Balint
73e4565dff
lavc/libzvbi-teletextdec: add support for setting background opacity
Signed-off-by: Marton Balint <cus@passwd.hu>
9 years ago
Marton Balint
92f2a9dbc5
lavc/libzvbi-teletextdec: remove cmax variable
Use VBI_NB_COLORS instead.
Signed-off-by: Marton Balint <cus@passwd.hu>
9 years ago
Marton Balint
fe4a2cbd4d
lavc/libzvbi-teletextdec: use the built-in transparent color for transparent background
Signed-off-by: Marton Balint <cus@passwd.hu>
9 years ago
Andreas Cadhalpun
b46aae0936
build: use a link instead of changing current directory when compiling
If links don't work, fall back to using the full source path as was
previously done.
This should fix build failures with MSVC.
Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
9 years ago
Vittorio Gambaletta (VittGam)
8b02af1e6f
avformat/mpegtsenc: Fix multi program so that it supports adding the same stream to multiple programs.
Signed-off-by: Vittorio Gambaletta <ffmpeg-dev@vittgam.net>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Mats Peterson
191ec55c9f
lavc/rawdec: Use 16-byte line alignment for AV_PIX_FMT_MONOWHITE
The line alignment for 1 bpp raw AV_PIX_FMT_MONOWHITE video (currently
used for AVI) was previously 4 bytes, which generated alignment warning
messages, not only for odd-width files. The alignment is now 16 bytes.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
James Almer
209f50e16b
avcodec/synth_filter: split off remaining code from dcadec files
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
Vittorio Giovara
4709f72115
lavfi: Use AV_CEIL_RSHIFT where needed
9 years ago
Vittorio Giovara
e80307140f
yuv4mpegenc: Use AV_CEIL_RSHIFT where needed
9 years ago
Vittorio Giovara
6695f178a5
pixdesc: Use AV_CEIL_RSHIFT in documentation
9 years ago
Vittorio Giovara
1546a41ada
pixdesc: Drop unneeded deprecation warning guards
9 years ago
Vittorio Giovara
9cac1b4b4f
qsvenc: Add private option to replace coder_type
Missing from be00ec832c .
9 years ago
Paul B Mahol
5dc37a5d8a
avcodec/dcaenc: do not change user requested bitrate
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
06f65fd026
avcodec/dcaenc: return correct number of bytes in output packet
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Michael Niedermayer
ed0c550564
avcodec/utils: run ff_frame_thread_encoder_init() only for encoders
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
46f67f4a34
avcodec/rawdec: Check height and packet size
Avoids potential division by 0
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Mats Peterson
82325dbec1
lavc/rawdec: Use 16-byte line alignment for 1, 2, 4 and 8 bpp
This patch aligns the lines of 1 bpp depth for QuickTime, and 2, 4 and 8
bpp depths for AVI and QuickTime, on 16-byte boundaries. At the same
time, the packet row stride is properly catered for.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Mats Peterson
fe7639b1c8
avcodec/rawdec: initialize palette for mono
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Luca Barbato
eef9f06508
avplay: Allow to override the codec
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
9 years ago
Luca Barbato
6fa464f8d2
avplay: Statically allocate the player state
And move the resource deallocation in stream_open failure path.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
9 years ago
Luca Barbato
611ba89b89
avplay: Rename cur_stream to player
The name was misleading.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
9 years ago
Luca Barbato
21bbc345cc
avplay: Rename VideoState to PlayerState
The structure is not video-specific.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
9 years ago
Luca Barbato
fdd464cb70
avplay: Allocate the refresh thread next to the decode thread
It does not belong to the stream setup.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
9 years ago
Luca Barbato
f22f900594
avplay: Move the stream setup in the main thread
And refactor the code in preparation of the following
patches.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
9 years ago
James Almer
1d8f9b7d1a
avcodec/webp: fix decoder dependencies
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
Michael Niedermayer
cde57eee98
avformat/hls: Check that filename is not "" in probe before checking its extension
Possibly the check as a whole causes more problems than it helps, if so dont
hesitate to remove it
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Paul B Mahol
3e7d684912
avcodec/flacenc: fix calculation of bits required in case of custom sample rate
Sample rate of 11025 takes 16 bits but previous code would pick only 8.
Fixes assertion failure.
Reviewed-by: Rostislav Pehlivanov <atomnuker@gmail.com>
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Timothy Gu
ce36cb08ed
Revert "decklink: Header cleanup"
This reverts commit 61fb70c386 .
Reported in #5183 to break the build. Further investigation needed.
9 years ago
Paul B Mahol
f42eae96b2
avfilter/vf_zoompan: fix pts handling
Now output pts have some sense.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
8a34344379
avfilter/vf_zoompan: unbreak filtering with video input
Inserting fifo appears to be working solution to not get
filter_frame request we do not want.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Timothy Gu
794b015035
Changelog: Add entry on libquvi being removed
9 years ago
Timothy Gu
fe71fde246
configure: Maintain alphabetical order of components
This is not "pure" alphabetical order since some components are
intentionally kept together.
9 years ago
Paul B Mahol
3b9f41a9c6
avfilter/vf_zoompan: rewrite so it doesn't cache all output frames
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Ronald S. Bultje
9cf81e573c
lavfi: recognize GBR9-14P as RGB in ff_fill_rgba_map().
9 years ago
Kieran Kunhya
2d40a09b6e
avformat: Remove support for libquvi
libquvi has not been updated since 2013.
It also has a number of security issues.
9 years ago
Michael Niedermayer
a7305c780b
Print the whitelists if entities are not found on them
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
3130556c0e
avformat: Document urls a bit
Spell-checked-by: Moritz Barsnick <barsnick@gmx.net>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Anton Khirnov
81306fd4bd
hls: eliminate ffurl_* usage
Now all IO should go through the IO callbacks and be interceptable by
the caller.
9 years ago
Anton Khirnov
9f61abc811
lavf: allow custom IO for all files
Some (de)muxers open additional files beyond the main IO context.
Currently, they call avio_open() directly, which prevents the caller
from using custom IO for such streams.
This commit adds callbacks to AVFormatContext that default to
avio_open2()/avio_close(), but can be overridden by the caller. All
muxers and demuxers using AVIO are switched to using those callbacks
instead of calling avio_open()/avio_close() directly.
(de)muxers that use the URLProtocol layer directly instead of AVIO
remain unconverted for now. This should be fixed in later commits.
9 years ago