Marton Balint
80b644c6ee
avdevice/decklink_dec: remove AVFMT_RAWPICTURE
...
It has no effect for input devices.
Signed-off-by: Marton Balint <cus@passwd.hu>
8 years ago
Marton Balint
418ce91507
avdevice/decklink_enc: convert AVFMT_RAWPICTURE to AV_CODEC_ID_WRAPPED_AVFRAME
...
Signed-off-by: Marton Balint <cus@passwd.hu>
8 years ago
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
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
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
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
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
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>
8 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>
8 years ago
Patrick Felt
e9659d1a0b
decklink: Remove unneeded spaces in initializers
8 years ago
Timothy Gu
58c7bf789f
doxygen: Standardize root-level modules
8 years ago
Patrick Felt
5469293758
cosmetics: Correct comments in decklink_dec
...
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
8 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
8 years ago
Josh de Kock
384251daff
lavd/libdc1394: distinguish between enumeration errors and no cameras found
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Vittorio Giovara
5d0f85f1b2
libdc1394: Fill in packet data directly
...
Drop the packet embedded in the context.
8 years ago
James Almer
d688f39dc4
cosmetics: fix some misspelled words
...
Signed-off-by: James Almer <jamrial@gmail.com>
8 years ago
Vittorio Giovara
0b1bd1b205
lavd: Drop unneeded av_init_packet()s
...
The input packet is already unref'd by the calling function.
8 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
Marton Balint
e22760aafd
avdevice/decklink: always free decklink resources on error
...
Reviewed-by: Deti Fliegl <deti@fliegl.de>
Signed-off-by: Marton Balint <cus@passwd.hu>
9 years ago
Marton Balint
38d75fe906
avdevice/decklink: factorize device finder function
...
Reviewed-by: Deti Fliegl <deti@fliegl.de>
Signed-off-by: Marton Balint <cus@passwd.hu>
9 years ago
Marton Balint
4ce0a77ec8
avdevice/decklink: remove unused itermode iterators
...
Reviewed-by: Deti Fliegl <deti@fliegl.de>
Signed-off-by: Marton Balint <cus@passwd.hu>
9 years ago
Marton Balint
1fc85d8511
avdevice/decklink: factorize cleanup function to common code
...
Reviewed-by: Deti Fliegl <deti@fliegl.de>
Signed-off-by: Marton Balint <cus@passwd.hu>
9 years ago
Marton Balint
340cea9f22
avdevice/decklink_dec: fix bitrate calculations
...
Reviewed-by: Deti Fliegl <deti@fliegl.de>
Signed-off-by: Marton Balint <cus@passwd.hu>
9 years ago
rogerdpack
bfbffbd7d8
dshow: avoid duplicate NULL check before free
...
Signed-off-by: rogerdpack <rogerpack2005@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
rogerdpack
9e907c040d
dshow: don't add two instances of same device to graphs
...
Signed-off-by: rogerdpack <rogerpack2005@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Niklas Söderlund
6fd4145a1e
lavd/v4l2: allow devices not implementing VIDIOC_G_PARM
...
Not all v4l2 devices implement the VIDIOC_G_PARM ioctl. This patch allow
ffmpeg to open such device and treat it the same as devices that do
implement the ioctl but returns that it do not implement the
V4L2_CAP_TIMEPERFRAME capability.
Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Benoit Fouet <benoit.fouet@free.fr>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Diego Biurrun
a2ddfadc2d
avdevice: Ignore timefilter test program
9 years ago