Marton Balint
48f8ad3290
avdevice/decklink_enc: add support to specify field order
...
Signed-off-by: Marton Balint <cus@passwd.hu>
8 years ago
Marton Balint
e0eb0bdab9
avdevice/decklink_enc: convert to codecpar
...
Signed-off-by: Marton Balint <cus@passwd.hu>
8 years ago
Carl Eugen Hoyos
6a22d2459d
lavd/opengl_enc: Fix a typo.
8 years ago
Carl Eugen Hoyos
2ac381088d
lavd/opengl_enc: Support BGR48.
8 years ago
Marton Balint
4556dad2b7
avdevice/iec61883: free packet on buffer allocation error
...
Fixes Coverity CID 1396416.
Signed-off-by: Marton Balint <cus@passwd.hu>
8 years ago
Carl Eugen Hoyos
0b607228bf
Cosmetics: Reindent after last commit.
8 years ago
Carl Eugen Hoyos
9d5141d1fb
lavd/v4l2: Avoid setting frame_size to a negative value.
8 years ago
Nicolas George
063b1a42c6
lavd/lavfi: use buffersink accessors.
8 years ago
Marton Balint
a7946c8964
avdevice/decklink_enc: do not reference this after freeing it
...
Fixes Coverity CID 1396863.
Signed-off-by: Marton Balint <cus@passwd.hu>
8 years ago
Marton Balint
89a1471a72
avdevice/decklink_dec: properly initialize no_video variable
...
Fixes Coverity CID 1396859.
Signed-off-by: Marton Balint <cus@passwd.hu>
8 years ago
Diego Biurrun
92db508307
build: Generate pkg-config files from Make and not from configure
...
This moves work from the configure to the Make stage where it can
be parallelized and ensures that pkgconfig files are updated when
library versions change.
Bug-Id: 449
8 years ago
Anton Khirnov
0fea8555ae
v4l2: use codec descriptors for mapping a codec name to id
...
This mapping has nothing to do with decoder implementations, so using
decoder names is wrong.
8 years ago
Diego Biurrun
1818a640cf
build: Fix dependencies for alsa/jack/sndio support
...
These components should depend on the availability of the respective
libraries, not just on the availability of the respective headers.
8 years ago
Diego Biurrun
4a1ef54398
build: Drop support for old versions of libdc1394
...
The libdc1394 API transition was finished close to a decade ago.
8 years ago
Diego Biurrun
67deba8a41
Use avpriv_report_missing_feature() where appropriate
8 years ago
Nicolas George
0bd1be65e8
lavd/xcbgrab: do not try to create refcounted packets.
...
The framework will allocate a buffer and copy the data to it,
that takes time. But it avoids constently creating and
destroyng the shared memory segment, and that saves more time.
On my setup,
from ~200 to ~300 FPS at full screen (1920×1200),
from ~1400 to ~3300 at smaller size (640×480),
similar to legacy x11grab and confirmed by others.
Plus, shared memory segments are a scarce resource,
allocating potentially many is a bad idea.
Note: if the application were to drop all references to the
buffer before the next call to av_read_frame(), then passing
the shared memory segment as a refcounted buffer would be
even more efficient, but it is hard to guarantee, and it does
not happen with the ffmpeg command-line tool. Using a small
number of preallocated buffers and resorting to a copy when
the pool is exhausted would be a solution to get the better
of both worlds.
8 years ago
Michael Niedermayer
1609935b6c
Bump minor versions after 3.2 branchpoint to seperate release
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Michael Niedermayer
3f3025205f
Bump minor versions for 3.2
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Diego Biurrun
2f806622e1
bktr: Use memset(0) instead of zero initialization for struct sigaction
...
sigaction is not defined in standards as a struct starting with another
struct. Some *BSD variants do however, resulting in a warning from the
zero initialization, which this change eliminates.
This partially reverts a92be9b856
.
8 years ago
Marton Balint
dfc561a38e
lavd/decklink_dec: fix indentation
...
Signed-off-by: Marton Balint <cus@passwd.hu>
8 years ago
Marton Balint
2f3015c25a
lavd/decklink_dec: add option to disable drawing bars on signal loss
...
Signed-off-by: Marton Balint <cus@passwd.hu>
8 years ago
Marton Balint
fbf8ac7d2a
lavd/openal: don't return zero sized packet if no samples are available
...
Signed-off-by: Marton Balint <cus@passwd.hu>
8 years ago
Anton Khirnov
3a165c187d
v4l2: convert to stdatomic
8 years ago
Josh de Kock
21344991c0
lavd/sdl2: add sdl alias
...
This commit also adds an sdl alias for the configure script.
8 years ago
Josh de Kock
fbb1fcd4d0
lavd/sdl2: remove unused code
8 years ago
Carl Eugen Hoyos
159aa1275e
lavd/sdl2: Fix 32bit rgb formats on little-endian hardware.
8 years ago
Carl Eugen Hoyos
1d92256d60
lavd/sdl2: Move unsupported formats SDL_PIXELFORMAT_xxx888 updwards.
...
There is a paragraph for unsupported SDL formats.
8 years ago
Josh de Kock
47ea6f5c9d
lavd: drop SDL1 device and SDL1 support
...
Signed-off-by: Josh de Kock <josh@itanimul.li>
8 years ago
Lukasz Marek
645353829f
lavd/opengl: use SDL2
...
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
Signed-off-by: Josh de Kock <josh@itanimul.li>
8 years ago
Josh de Kock
3877e3d8a8
lavd: Add SDL2 output device
...
Acked-by: Michael Niedermayer
Signed-off-by: Josh de Kock <josh@itanimul.li>
8 years ago
Josh de Kock
bc7399934d
libdc1394: Distinguish between enumeration errors and no cameras found
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
8 years ago
Roger Pack
18ce63a60e
avdevice/dshow: satisfy alloc contract better
...
prevent non-rgb24 crashes on windows 10 anniversary ed
Signed-off-by: Roger Pack <rogerpack2005@gmail.com>
8 years ago
Diego Biurrun
93fed46a92
timefilter: test: Drop some disabled debug cruft
8 years ago
Matthias Hunstock
d8ee02a071
decklink: enhancement: format selection with AVRational v2
...
When finding a video mode based on frame size and frame rate,
use AVRational methods instead of simple comparison. Add debug information.
Signed-off-by: Matthias Hunstock <atze@fem.tu-ilmenau.de>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Matthias Hunstock
8431a6e654
decklink: fix: set fps on video stream v2
...
Provide the stream with the correct fps information when capturing.
Signed-off-by: Matthias Hunstock <atze@fem.tu-ilmenau.de>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Patrick Felt
e9659d1a0b
decklink: Remove unneeded spaces in initializers
9 years ago
Timothy Gu
58c7bf789f
doxygen: Standardize root-level modules
9 years ago
Patrick Felt
5469293758
cosmetics: Correct comments in decklink_dec
...
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
9 years ago
Diego Biurrun
5ed4644d6d
x11grab: Rename internal component to "xcbgrab"
9 years ago
Diego Biurrun
4fef648d10
Remove the legacy X11 screen grabber
...
The XCB screen grabber is a drop-in replacement and not under GPL.
9 years ago
Josh de Kock
c2fcf4fa0b
avdev/jack: remove duplicated dispatch macros
...
The macros were moved to compat/dispatch_semaphore/semaphore.h after a libav merge, and were never removed from jack.c
9 years ago
Josh de Kock
384251daff
lavd/libdc1394: distinguish between enumeration errors and no cameras found
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Vittorio Giovara
5d0f85f1b2
libdc1394: Fill in packet data directly
...
Drop the packet embedded in the context.
9 years ago
James Almer
d688f39dc4
cosmetics: fix some misspelled words
...
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
Vittorio Giovara
0b1bd1b205
lavd: Drop unneeded av_init_packet()s
...
The input packet is already unref'd by the calling function.
9 years ago
Michael Niedermayer
c0cb53cd1f
avdevice/decklink_common: Replace rare spelling of Succesfully by 500 times more common one
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Marton Balint
b18d6c5800
avdevice/decklink: fix mingw portability
...
Fixes ticket #5669 .
Signed-off-by: Marton Balint <cus@passwd.hu>
9 years ago
Marton Balint
cf0a05668b
avdevice/decklink: add support for setting input packet timestamp source
...
Reviewed-by: Deti Fliegl <deti@fliegl.de>
Signed-off-by: Marton Balint <cus@passwd.hu>
9 years ago
Marton Balint
da89c6e37c
avdevice/decklink: add support for audio and video input selection
...
Reviewed-by: Deti Fliegl <deti@fliegl.de>
Signed-off-by: Marton Balint <cus@passwd.hu>
9 years ago
Marton Balint
8f9fa49bd8
avdevice/decklink: add support for setting duplex mode
...
This patch also makes BlackMagic drivers v10.6.1 a hard requirement.
Reviewed-by: Deti Fliegl <deti@fliegl.de>
Signed-off-by: Marton Balint <cus@passwd.hu>
9 years ago