summaryrefslogtreecommitdiff
path: root/libavdevice
Commit message (Collapse)AuthorAge
...
* api: add missing version bumps and APIChanges entriesJames Almer2018-02-06
| | | | | | | | | avcodec bump missed in 7e8eba2d8755962d9dca5eade57bf8f591a73c0c avformat bump missed in ff46124b0df17a1d35249e09ae8eae9a61f16e04 and 0694d8702421e7aff1340038559c438b61bb30dd avdevice bump missed in 0fd475704e871ef3a535947596a012894bae3cbd Signed-off-by: James Almer <jamrial@gmail.com>
* lavd: add new API for iterating input and output devicesJosh de Kock2018-02-06
| | | | | This also adds an avpriv function to register devices in libavformat
* avdevice: migrate to AVFormatContext->urlMarton Balint2018-01-28
| | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* avdevice/decklink: Fix compilation of module on OSXDevin Heitmueller2018-01-20
| | | | | | | | | | | | | Clang applies the missing-prototypes warning on C++ files, whereas gcc only applies it to C. As a result, the decklink_common.cpp file fails to build because of missing prototypes in DecklinkDispatch.cpp (which is #included by decklink_common.cpp). We don't want to change the actual Blackmagic SDK sources, so suppress the warning just for that one #include. Signed-off-by: Devin Heitmueller <dheitmueller@ltnglobal.com> Signed-off-by: Marton Balint <cus@passwd.hu>
* avdevice/decklink: Suppress warning about misuse of struct instead of classDevin Heitmueller2018-01-20
| | | | | | | | | | | | | When building with Clang, the following warning is shown: warning: struct 'IDeckLinkVideoFrame' was previously declared as a class [-Wmismatched-tags] The function incorrectly casts IDeckLinkVideoFrame as a struct instead of a class pointer. Signed-off-by: Devin Heitmueller <dheitmueller@ltnglobal.com> Signed-off-by: Marton Balint <cus@passwd.hu>
* avdevice/decklink: addition of absolute wallclock option for pts sourceVishwanath Dixit2018-01-20
| | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* avdevice/decklink: addition of PTS_SRC_NB in enum DecklinkPtsSourceVishwanath Dixit2018-01-20
| | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* avdevice/decklink: addition of copyts optionVishwanath Dixit2018-01-20
| | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* avdevice/gdigrab: Fix screen size and mouse position calculations on hi-DPI ↵Harald Gaechter2018-01-12
| | | | | | | screens Signed-off-by: Harald Gaechter <harald.gaechter@wolfvision.net> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavd/alsa: Double maximum alsa buffer size.Carl Eugen Hoyos2017-11-27
| | | | | | Fixes recording from ATI Wonder 600 USB adapter, regression since e35c674d. Reported and analyzed by: Marco Paolieri, paolieri at gmail
* avdevice/decklink_dec: autodetect the video input formatKarthick J2017-11-22
| | | | | | When -format_code is not specified autodetection will happen. Signed-off-by: Marton Balint <cus@passwd.hu>
* avdevice/decklink: refactor ff_decklink_set_format functionKarthick J2017-11-21
| | | | | | This is done to enable input format autodetection in decklink_dec. Signed-off-by: Marton Balint <cus@passwd.hu>
* Merge commit 'b586903ae1b89e2d8b99c79f33cabe9b3ca03784'James Almer2017-11-11
|\ | | | | | | | | | | | | * commit 'b586903ae1b89e2d8b99c79f33cabe9b3ca03784': build: Drop redundant check for soundcard.h Merged-by: James Almer <jamrial@gmail.com>
| * build: Drop redundant check for soundcard.hDiego Biurrun2017-10-10
| | | | | | | | It should be sys/soundcard.h nowadays.
| * avfoundation: update to use AVCodecParametersVittorio Giovara2017-04-26
| |
* | avdevice/decklink_dec: make some function staticJames Almer2017-11-09
| | | | | | | | | | Reviewed-by: Aaron Levinson <alevinsn_dev@levland.net> Signed-off-by: James Almer <jamrial@gmail.com>
* | avdevice/libndi_newtek_dec: remove extra bracketJames Almer2017-10-30
| | | | | | | | | | | | Fixes compilation broken in 2245476e5c451552f8f32a4a881f6b4968898a47 Signed-off-by: James Almer <jamrial@gmail.com>
* | avdevice/decklink_dec: remove extra bracketJames Almer2017-10-30
| | | | | | | | | | | | | | | | Fixes compilation broken in 2245476e5c451552f8f32a4a881f6b4968898a47 Fixes ticket #6791 Signed-off-by: James Almer <jamrial@gmail.com>
* | avdevice: remove usage of deprecated setter and getter functionsJames Almer2017-10-29
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | Merge commit 'f5950b8fd61ec85e0ad8790bea56b37ceea19436'James Almer2017-10-26
|\| | | | | | | | | | | | | * commit 'f5950b8fd61ec85e0ad8790bea56b37ceea19436': lavfi: Drop unused and empty header file Merged-by: James Almer <jamrial@gmail.com>
* | Merge commit '5a969f64b9cf40bad923c73b66c3031b0018e848'James Almer2017-10-24
|\| | | | | | | | | | | | | * commit '5a969f64b9cf40bad923c73b66c3031b0018e848': jack: Drop support for old (2012) JACK versions Merged-by: James Almer <jamrial@gmail.com>
| * jack: Drop support for old (2012) JACK versionsDiego Biurrun2017-03-28
| |
* | lavd/lavfi: Constify two variables.Carl Eugen Hoyos2017-10-21
| | | | | | | | | | | | Fixes the following warnings: libavdevice/lavfi.c:136:16: warning: assignment discards 'const' qualifier from pointer target type libavdevice/lavfi.c:137:17: warning: assignment discards 'const' qualifier from pointer target type
* | Merge commit '07a2b155949eb267cdfc7805f42c7b3375f9c7c5'James Almer2017-10-21
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '07a2b155949eb267cdfc7805f42c7b3375f9c7c5': Bump major versions of all libraries A few API deprecated ~2 years ago or more are also postponed here for varying reasons. FF_API_LOWRES: Since this functionality depends on AVStream->codec, i figure the two can be removed at the same time in the next bump or so. FF_API_AVCTX_TIMEBASE: Couldn't get this one to work. Not just libavcodec but apparently also libavformat and ffmpeg.c expect AVCodecContext->time_base to be set for decoding. Upon removal some tests report a different generic stream time base (like 1/25), and others lose packet duration values. I guess it's somehow tied to the AVStream->codec clusterfuck. It can be dealt with alongside FF_API_LAVF_AVCTX in the next bump. FF_API_OLD_FILTER_OPTS_ERROR: This one is meant to remain after FF_API_OLD_FILTER_OPTS is removed. Its purpose is displaying the corrected command line using the new syntax as a suggestion as part of the error message. Merged-by: James Almer <jamrial@gmail.com>
| * Bump major versions of all librariesVittorio Giovara2017-03-23
| | | | | | | | | | | | | | | | | | This disables everything that was deprecated at least 18 months ago. Readjust the minimum API version as needed, postponing any API-incompatible changes until the next bump. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | avdevice/decklink_dec: 32 bit audio supportDave Rice2017-10-18
| | | | | | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* | Bump version for master after 3.4 branchpointMichael Niedermayer2017-10-11
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Bump minor versions for branching 3.4Michael Niedermayer2017-10-11
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | libavdevice/decklink: add support for 10-bit output for Decklink SDIDevin Heitmueller2017-10-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Can be tested via the following command: ./ffmpeg -i foo.ts -f decklink -vcodec v210 'DeckLink Duo (1)' Note that the 8-bit support works as it did before, and setting the pix_fmt isn't required for 10-bit mode. The code defaults to operating in 8-bit mode when no vcodec is specified, for backward compatibility. Updated to reflect feedback from Marton Balint <cus@passwd.hu> Signed-off-by: Devin Heitmueller <dheitmueller@ltnglobal.com> Signed-off-by: Marton Balint <cus@passwd.hu>
* | libavdevice/decklink: add support for -sources and -sinks argumentsDevin Heitmueller2017-10-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for enumerating the sources/sinks via the ffmpeg command line options, as opposed to having to create a real pipeline and use the "-list_devices" option which does exit() after dumping out the options. Note that this patch preserves the existing "-list_devices" option, but now shares common code for the actual enumeration. Updated to reflect feedback from Marton Balint <cus@passwd.hu>. Signed-off-by: Devin Heitmueller <dheitmueller@ltnglobal.com> Signed-off-by: Marton Balint <cus@passwd.hu>
* | lavd/decklink_dec: Do not claim to output transparency information.Carl Eugen Hoyos2017-10-08
| |
* | avdevice/decklink_dec: fix extracting lumaMarton Balint2017-10-06
| | | | | | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* | avdevice/decklink: Fix segfault when running -list_devices on OSXDevin Heitmueller2017-10-04
| | | | | | | | | | | | | | | | | | | | The string is allocated with CFStringGetCString but was being deallocated with free(), which would intermittently result in a segmentation fault. Use the correct function for freeing the allocated CFString. Signed-off-by: Devin Heitmueller <dheitmueller@ltnglobal.com> Signed-off-by: Marton Balint <cus@passwd.hu>
* | avdevice/decklink_dec: fix multipacket op47 decodingMarton Balint2017-10-04
| | | | | | | | | | | | It was disabled by mistake. Signed-off-by: Marton Balint <cus@passwd.hu>
* | avdevice/decklink_dec: remove av_dup_packet() usageJames Almer2017-10-02
| | | | | | | | | | Reviewed-by: Marton Balint <cus@passwd.hu> Signed-off-by: James Almer <jamrial@gmail.com>
* | avdevice/decklink_dec: use av_packet_add_side_data()James Almer2017-10-02
| | | | | | | | | | | | | | It uses the existing buffer instead of allocating a new one. Reviewed-by: Marton Balint <cus@passwd.hu> Signed-off-by: James Almer <jamrial@gmail.com>
* | avdevice/decklink_dec: Used av_parity instead of duplicated functionKarthick J2017-10-01
| |
* | avdevice/decklink_dec: Added Closed caption decode from VANCKarthick J2017-09-28
| | | | | | | | | | Signed-off-by: Karthick J <kjeyapal@akamai.com> Signed-off-by: Marton Balint <cus@passwd.hu>
* | avdevice/decklink_dec: Extraction of luma from V210 VANC modularizedKarthick J2017-09-28
| | | | | | | | | | | | | | In preparation to support multiple VANC data decode Signed-off-by: Karthick J <kjeyapal@akamai.com> Signed-off-by: Marton Balint <cus@passwd.hu>
* | avdevice/decklink_dec: Added VANC search for all resolutionsKarthick J2017-09-28
| | | | | | | | | | | | | | In preparation to make VANC decode modular, to support multiple other VANC data. Signed-off-by: Karthick J <kjeyapal@akamai.com> Signed-off-by: Marton Balint <cus@passwd.hu>
* | avdevice/decklink_dec: add support for more pixel formatsGildas Fargeas2017-09-28
| | | | | | | | | | | | | | The decklink input pixel format can now be specified with the 'raw_format' option. The -bm_v210 option is now deprecated. Signed-off-by: Marton Balint <cus@passwd.hu>
* | lavf/version: Bump minor after dv1394 removal.Carl Eugen Hoyos2017-09-27
| |
* | lavd: remove deprecated dv1394 deviceJosh de Kock2017-09-27
| | | | | | | | | | | | | | Support for this device has been removed in kernel since v2.6.37. dv1394 has been superseded by libiec61883 which is functionally equivalent. Signed-off-by: Josh de Kock <josh@itanimul.li> Signed-off-by: wm4 <nfxjfg@googlemail.com>
* | libavdevice/v4l2: fix invalid access to struct v4l2_bufferJaroslav Beran2017-09-24
| | | | | | | | | | | | | | | | In case we are short of queued buffers, at first v4l2_buffer was enqueued to kernel so it's not owned by user-space anymore. After that it's timestamp field was read, but it might be overwritten by driver at that moment. It resulted in invalid timestamp sometimes. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Remove some unneeded casts of bit_rate.Carl Eugen Hoyos2017-09-22
| |
* | lavd/kmsgrab: Remove the mapping for AV_PIX_FMT_RGB8.Carl Eugen Hoyos2017-09-20
| | | | | | | | The definitions are different: 3:3:2 vs 2:3:3.
* | kmsgrab: Add more DRM plane formatsCarl Eugen Hoyos2017-09-19
| |
* | kmsgrab: Remove multiple-plane formatsMark Thompson2017-09-19
| | | | | | | | | | The planes are unlikely to be contiguous, assuming they are results in very broken output. (Tested with NV12/NV16 on Rockchip.)
* | kmsgrab: Fix DRM format definitionsMark Thompson2017-09-19
| | | | | | | | | | | | | | | | | | All DRM formats are defined in terms of little-endian words, so RGB formats like XRGB actually have the elements in the opposite order order in memory to the order they are in the name. This does not affect YUYV and similar YUV 4:2:2 formats, which are in the expected order.
* | kmsgrab: Fix build failure with old libdrmJun Zhao2017-09-14
| | | | | | | | | | | | | | | | DRM_FORMAT_R8 was added in libdrm 2.4.68. DRM_FORMAT_R16 was added in libdrm 2.4.82. Signed-off-by: Jun Zhao <jun.zhao@intel.com> Signed-off-by: Mark Thompson <sw@jkqxz.net>