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

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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>
2017-04-15avdevice/decklink: remove pthread dependencyAaron Levinson
Purpose: avdevice/decklink: Removed pthread dependency by replacing semaphore used in code appropriately. Doing so makes it easier to build ffmpeg using Visual C++ on Windows. This is a contination of Kyle Schwarz's "avdevice/decklink: Remove pthread dependency" patch that is available at https://patchwork.ffmpeg.org/patch/2654/ . This patch wasn't accepted, and as far as I can tell, there was no follow-up after it was rejected. Notes: Used Visual Studio 2015 (with update 3) for this. Comments: -- configure: Eliminated pthreads dependency for decklink_indev_deps and decklink_outdev_deps and replaced with threads dependency -- libavdevice/decklink_common.cpp / .h: a) Eliminated semaphore and replaced with a combination of a mutex, condition variable, and a counter (frames_buffer_available_spots). b) Removed include of pthread.h and semaphore.h and now using libavutil/thread.h instead. -- libavdevice/decklink_dec.cpp: Eliminated include of pthread.h and semaphore.h. -- libavdevice/decklink_enc.cpp: a) Eliminated include of pthread.h and semaphore.h. b) Replaced use of semaphore with the equivalent using a combination of a mutex, condition variable, and a counter (frames_buffer_available_spots). In theory, libavutil/thread.h and the associated code could have been modified instead to add cross-platform implementations of the sem_ functions, but an inspection of the ffmpeg source base indicates that there are only two cases in which semaphores are used (including this one that was replaced), so it was deemed to not be worth the effort. Signed-off-by: Marton Balint <cus@passwd.hu>
2017-04-09Merge commit '4a1ef543983b7480e2822f6ac281ba361d1f893d'Clément Bœsch
* commit '4a1ef543983b7480e2822f6ac281ba361d1f893d': build: Drop support for old versions of libdc1394 Merged-by: Clément Bœsch <u@pkh.me>
2017-04-02Bump versions for master after 3.3Michael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-04-02Bump minor for 3.3Michael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-03-31Bump minor versions for master after release/3.3 branchpointMichael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-03-31Bump minor versions for staring release/3.3 branchMichael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-03-31Merge commit '67deba8a416d818f3d95aef0aa916589090396e2'Clément Bœsch
* commit '67deba8a416d818f3d95aef0aa916589090396e2': Use avpriv_report_missing_feature() where appropriate Merged-by: Clément Bœsch <cboesch@gopro.com>
2017-03-28avdevice/decklink: deprecate @mode syntax in device name to specify modeMarton Balint
Signed-off-by: Marton Balint <cus@passwd.hu>
2017-03-28avdevice/decklink_enc: convert to std::atomicMarton Balint
Signed-off-by: Marton Balint <cus@passwd.hu>
2017-03-24Merge commit '2f806622e1270d3ed1d41a53049a19673dafbe70'Clément Bœsch
* commit '2f806622e1270d3ed1d41a53049a19673dafbe70': bktr: Use memset(0) instead of zero initialization for struct sigaction Merged-by: Clément Bœsch <u@pkh.me>
2017-03-22Merge commit '3a165c187da7d74f46f6c1778294e8c5a3a7151f'Clément Bœsch
* commit '3a165c187da7d74f46f6c1778294e8c5a3a7151f': v4l2: convert to stdatomic Merged-by: Clément Bœsch <u@pkh.me>
2017-03-22avdevice/decklink: new option 'format_code' to set video format by fourCCMatthias Hunstock
Signed-off-by: Matthias Hunstock <atze@fem.tu-ilmenau.de> Signed-off-by: Marton Balint <cus@passwd.hu>
2017-03-22avdevice/decklink: add format_code of display mode to list_format outputMatthias Hunstock
Signed-off-by: Matthias Hunstock <atze@fem.tu-ilmenau.de> Signed-off-by: Marton Balint <cus@passwd.hu>
2017-03-19Merge commit '93fed46a92bab8be176d3e67be4354189a8dbe7f'Clément Bœsch
* commit '93fed46a92bab8be176d3e67be4354189a8dbe7f': timefilter: test: Drop some disabled debug cruft Merged-by: Clément Bœsch <u@pkh.me>
2017-03-16Merge commit '5ed4644d6de7f6112431dc2d9a5cfe9a0a75a688'Clément Bœsch
* commit '5ed4644d6de7f6112431dc2d9a5cfe9a0a75a688': x11grab: Rename internal component to "xcbgrab" Merged-by: Clément Bœsch <u@pkh.me>
2017-03-16Merge commit '4fef648d10bf3bcfd4b8fa5755c1128966a2427c'Clément Bœsch
* commit '4fef648d10bf3bcfd4b8fa5755c1128966a2427c': Remove the legacy X11 screen grabber Merged-by: Clément Bœsch <u@pkh.me>
2017-03-07avdevice/alldevices: make avdevice_register_all thread safeMuhammad Faiz
use ff_thread_once Suggested-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
2017-02-27avdevice/decklink_dec: remove AVFMT_RAWPICTUREMarton Balint
It has no effect for input devices. Signed-off-by: Marton Balint <cus@passwd.hu>
2017-02-27avdevice/decklink_enc: convert AVFMT_RAWPICTURE to AV_CODEC_ID_WRAPPED_AVFRAMEMarton Balint
Signed-off-by: Marton Balint <cus@passwd.hu>
2017-02-27avdevice/decklink_enc: add support to specify field orderMarton Balint
Signed-off-by: Marton Balint <cus@passwd.hu>
2017-02-27avdevice/decklink_enc: convert to codecparMarton Balint
Signed-off-by: Marton Balint <cus@passwd.hu>
2017-02-23lavd/opengl_enc: Fix a typo.Carl Eugen Hoyos
2017-02-22lavd/opengl_enc: Support BGR48.Carl Eugen Hoyos
2017-02-19avdevice/iec61883: free packet on buffer allocation errorMarton Balint
Fixes Coverity CID 1396416. Signed-off-by: Marton Balint <cus@passwd.hu>
2017-01-31Merge commit '5d0f85f1b2469b60d0838330aabe5353fdd9ef1d'Clément Bœsch
* commit '5d0f85f1b2469b60d0838330aabe5353fdd9ef1d': libdc1394: Fill in packet data directly Merged-by: Clément Bœsch <cboesch@gopro.com>
2017-01-25Cosmetics: Reindent after last commit.Carl Eugen Hoyos
2017-01-25lavd/v4l2: Avoid setting frame_size to a negative value.Carl Eugen Hoyos
2017-01-12lavd/lavfi: use buffersink accessors.Nicolas George
2016-12-27avdevice/decklink_enc: do not reference this after freeing itMarton Balint
Fixes Coverity CID 1396863. Signed-off-by: Marton Balint <cus@passwd.hu>
2016-12-27avdevice/decklink_dec: properly initialize no_video variableMarton Balint
Fixes Coverity CID 1396859. Signed-off-by: Marton Balint <cus@passwd.hu>
2016-12-22build: Generate pkg-config files from Make and not from configureDiego Biurrun
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
2016-12-19v4l2: use codec descriptors for mapping a codec name to idAnton Khirnov
This mapping has nothing to do with decoder implementations, so using decoder names is wrong.
2016-12-09build: Fix dependencies for alsa/jack/sndio supportDiego Biurrun
These components should depend on the availability of the respective libraries, not just on the availability of the respective headers.
2016-12-03build: Drop support for old versions of libdc1394Diego Biurrun
The libdc1394 API transition was finished close to a decade ago.
2016-11-18Merge commit '0b1bd1b2057d41fd0ccba7317911c484a50f9207'Hendrik Leppkes
* commit '0b1bd1b2057d41fd0ccba7317911c484a50f9207': lavd: Drop unneeded av_init_packet()s Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2016-11-08Use avpriv_report_missing_feature() where appropriateDiego Biurrun
2016-11-03lavd/xcbgrab: do not try to create refcounted packets.Nicolas George
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.
2016-10-26Bump minor versions after 3.2 branchpoint to seperate releaseMichael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>