Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-06-18avdevice/decklink_dec: Fix ;;Michael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 75027066d8e85ccf42b83f6cf1c3085221148f42) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-04-19avdevice/iec61883: free the private context at the endJames Almer
Fixes part of ticket #7146. Signed-off-by: James Almer <jamrial@gmail.com> (cherry picked from commit 5079e96bcc7aaa9cae82a58397ce986e124028e4)
2018-04-19avdevice/iec61883: return reference counted packetsJames Almer
Fixes part of ticket #7146, dealing with leaks of packet data since commit 87c88122703f2befcf96383d05bdf14373c22df9. Signed-off-by: James Almer <jamrial@gmail.com> (cherry picked from commit b8629654c6460a28c507f816a977914e3a6f2520)
2017-10-11Bump minor versions for branching 3.4Michael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-10-10libavdevice/decklink: add support for 10-bit output for Decklink SDIDevin Heitmueller
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>
2017-10-10libavdevice/decklink: add support for -sources and -sinks argumentsDevin Heitmueller
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>
2017-10-08lavd/decklink_dec: Do not claim to output transparency information.Carl Eugen Hoyos
2017-10-06avdevice/decklink_dec: fix extracting lumaMarton Balint
Signed-off-by: Marton Balint <cus@passwd.hu>
2017-10-04avdevice/decklink: Fix segfault when running -list_devices on OSXDevin Heitmueller
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>
2017-10-04avdevice/decklink_dec: fix multipacket op47 decodingMarton Balint
It was disabled by mistake. Signed-off-by: Marton Balint <cus@passwd.hu>
2017-10-02avdevice/decklink_dec: remove av_dup_packet() usageJames Almer
Reviewed-by: Marton Balint <cus@passwd.hu> Signed-off-by: James Almer <jamrial@gmail.com>
2017-10-02avdevice/decklink_dec: use av_packet_add_side_data()James Almer
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>
2017-10-01avdevice/decklink_dec: Used av_parity instead of duplicated functionKarthick J
2017-09-28avdevice/decklink_dec: Added Closed caption decode from VANCKarthick J
Signed-off-by: Karthick J <kjeyapal@akamai.com> Signed-off-by: Marton Balint <cus@passwd.hu>
2017-09-28avdevice/decklink_dec: Extraction of luma from V210 VANC modularizedKarthick J
In preparation to support multiple VANC data decode Signed-off-by: Karthick J <kjeyapal@akamai.com> Signed-off-by: Marton Balint <cus@passwd.hu>
2017-09-28avdevice/decklink_dec: Added VANC search for all resolutionsKarthick J
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>
2017-09-28avdevice/decklink_dec: add support for more pixel formatsGildas Fargeas
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>
2017-09-27lavf/version: Bump minor after dv1394 removal.Carl Eugen Hoyos
2017-09-27lavd: remove deprecated dv1394 deviceJosh de Kock
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>
2017-09-24libavdevice/v4l2: fix invalid access to struct v4l2_bufferJaroslav Beran
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>
2017-09-22Remove some unneeded casts of bit_rate.Carl Eugen Hoyos
2017-09-20lavd/kmsgrab: Remove the mapping for AV_PIX_FMT_RGB8.Carl Eugen Hoyos
The definitions are different: 3:3:2 vs 2:3:3.
2017-09-20kmsgrab: Add more DRM plane formatsCarl Eugen Hoyos
2017-09-20kmsgrab: Remove multiple-plane formatsMark Thompson
The planes are unlikely to be contiguous, assuming they are results in very broken output. (Tested with NV12/NV16 on Rockchip.)
2017-09-20kmsgrab: Fix DRM format definitionsMark Thompson
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.
2017-09-15kmsgrab: Fix build failure with old libdrmJun Zhao
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>
2017-09-14lavd/kmsgrab: Fix packet flag settingMark Thompson
Found-by: James Almer <jamrial@gmail.com>
2017-09-14lavd: Add KMS screen grabberMark Thompson
2017-09-04lavd: drop QTKit indevClément Bœsch
QTKit has been deprecated in favor of AVFoundation for years, and we have an avfoundation input device. See https://developer.apple.com/documentation/qtkit
2017-09-03lavd: drop disabled v4l codeClément Bœsch
This code is disabled since 2012. V4L1 was dropped from the kernel more than 10 years ago.
2017-09-02build: make sndio part of the autodetected librariesClément Bœsch
sndio is already autodetected, this commit makes sure --disable-autodetect actually disable it unless --enable-sndio is specified.
2017-09-02build: make alsa part of the autodetected librariesClément Bœsch
alsa libs are already autodetected, this commit makes sure --disable-autodetect actually disable it unless --enable-alsa is specified.
2017-09-02build: replace use of HAVE_SDL2 with existing CONFIG_SDL2Clément Bœsch
There is no need for duplication.
2017-08-27lavd: implement NewTek NDI input/output device supportMaksym Veremeyenko
Signed-off-by: Marton Balint <cus@passwd.hu>
2017-08-27avdevice/decklink_enc: enable 16 output channelpkviet
Decklink devices can output 2, 8 or 16 audio channels along video. The code was limited to 2 or 8 channels. The commit enables 16 audio channels (relevant for SDI outputs). Signed-off-by: Marton Balint <cus@passwd.hu>
2017-08-27avdevice/decklink_dec: fix signed and unsigned comparison warningMarton Balint
Signed-off-by: Marton Balint <cus@passwd.hu>
2017-08-22libavdevice/decklink: configurablity to set max queue sizeRavindra
Signed-off-by: Ravindra Patagar <rpatagar@akamai.com> Signed-off-by: Marton Balint <cus@passwd.hu>
2017-08-18lavd/libdc1394: Do not crash if dc1394_camera_new() fails.Carl Eugen Hoyos
Fixes Ubuntu bug 1710849
2017-07-30avdevice/decklink_dec: set field order via codecparMarton Balint
Signed-off-by: Marton Balint <cus@passwd.hu>
2017-07-20avdevice: make ff_reverse available on shared buildsJames Almer
Should fix compilation failures introduced by 9b937958907daaddade139c36ce33c6eac269631.
2017-07-18avdevice/decklink_dec: add support for receiving op47 teletextMarton Balint
v2: - use uint16_t instead of int to store 10-bit ancillary data - fix ancillary line numbers for 1080p - some comments and clarifications as requested by Aaron Levinson Signed-off-by: Marton Balint <cus@passwd.hu>
2017-07-18avdevice/decklink_dec: add support for decoding teletext from 10bit ↵Marton Balint
ancillary data This also add supports for 4K DeckLink cards because they always output the ancillary data in 10-bit. v2: - only try teletext decoding for 576i PAL mode - some comments as requested by Aaron Levinson Signed-off-by: Marton Balint <cus@passwd.hu>
2017-05-22Use AVOnce as a static variable consistentlyHendrik Leppkes
Using AVOnce as a stack variable makes no sense as the state is lost when the function exits. This fixes repeated calls to av(filter/device)_register_all
2017-05-08avdevice/decklink: fix MSVC build issuesAaron Levinson
Purpose: Made minor changes to get the decklink avdevice code to build using Visual C++. Notes: Made changes to configure per Hendrik Leppkes's review of first and second versions of patch. Also made slight alterations per Marton Balint's reviews. Comments: -- configure: Added if enabled decklink section and setting decklink_indev_extralibs and decklink_outdev_extralibs here for both mingw and Windows. Also eliminated the setting of these variables in the mingw section earlier in the file. -- libavdevice/decklink_common.cpp: Switched the order of the include of libavformat/internal.h to workaround build issues with Visual C++. See comment in file for more details. -- libavdevice/decklink_dec.cpp: a) Rearranged the include of libavformat/internal.h (for reasons as described above). b) Made slight alteration to an argument for call to av_rescale_q() to workaround a compiler error with Visual C++. This appears to only be an issue when building C++ files with Visual C++. See comment in code for more details. -- libavdevice/decklink_enc.cpp: Rearranged the include of libavformat/internal.h (for reasons as described above). Signed-off-by: Aaron Levinson <alevinsn@aracnet.com> Signed-off-by: Marton Balint <cus@passwd.hu>
2017-05-07avdevice/alsa: wait until playback buffers are drained before closingTakayuki 'January June' Suwa
This fixes early abort on ALSA playback Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-05-05Merge commit '92db5083077a8b0f8e1050507671b456fd155125'James Almer
* commit '92db5083077a8b0f8e1050507671b456fd155125': build: Generate pkg-config files from Make and not from configure build: Store library version numbers in .version files Includes cherry-picked commits 8a34f3659371680ca523aecfd9098c28f0f809eb and ee164727dd64c199b87118917e674b17c25e0da3 to fix issues. Changes were also made to retain support for raise_major and build_suffix. Reviewed-by: ubitux Merged-by: James Almer <jamrial@gmail.com>
2017-05-03Merge commit '11a9320de54759340531177c9f2b1e31e6112cc2'Clément Bœsch
* commit '11a9320de54759340531177c9f2b1e31e6112cc2': build: Move build-system-related helper files to a separate subdirectory "ffbuild" directory name is used instead of "avbuild". Merged-by: Clément Bœsch <u@pkh.me>
2017-04-26Merge commit '0fea8555ae25124c21f4c4f55a5fa76e9169aa03'Clément Bœsch
* commit '0fea8555ae25124c21f4c4f55a5fa76e9169aa03': v4l2: use codec descriptors for mapping a codec name to id Merged-by: Clément Bœsch <u@pkh.me>
2017-04-23avdevice: do not use AVFrame accessorMuhammad Faiz
Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
2017-04-17Merge commit '1818a640cfdccd52e97edf13564f45bc3d0d93eb'Clément Bœsch
* commit '1818a640cfdccd52e97edf13564f45bc3d0d93eb': build: Fix dependencies for alsa/jack/sndio support Added explicit enable (which will be automatically added later on in ee480790c) to actually fix this commit. Without the explicit enables, alsa, jack and sndio gets disabled. Also added jack, alsa and sndio to the have list so the HAVE_* are populated to make (this fixes the SKIPHEADERS chunks). Merged-by: Clément Bœsch <u@pkh.me>