summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* lavc/pcxenc: Update format description link.Carl Eugen Hoyos2016-02-291-1/+1
|
* lavf/img2dec: Skip SOS when auto-detecting jpeg.Carl Eugen Hoyos2016-02-291-0/+1
| | | | Improves jpeg auto-detection.
* build: add --install-name-dir=DIR Darwin optionClément Bœsch2016-02-291-1/+5
| | | | | This option is typically useful when cross-compiling dynamic libraries for iOS, with something such as --install-name-dir=@rpath
* avfilter/avf_showcqt: optimize draw routinesMuhammad Faiz2016-02-291-97/+115
| | | | | | | optimize draw_bar_yuv (slightly faster) optimize draw_axis (about 2x faster) Signed-off-by: Muhammad Faiz <[email protected]>
* fate/mpeg4: add mpeg4-es with codec timestamps (vlc ticket 7571)Michael Niedermayer2016-02-293-0/+90
| | | | Signed-off-by: Michael Niedermayer <[email protected]>
* fate/vp8: add test for Ticket2451Michael Niedermayer2016-02-292-0/+111
| | | | Signed-off-by: Michael Niedermayer <[email protected]>
* avformat/utils: Be slightly more tolerant with fps vs. stream timebaseMichael Niedermayer2016-02-291-1/+2
| | | | | | Fixes regression with ticket2451 Signed-off-by: Michael Niedermayer <[email protected]>
* fate/gif: add Test for Ticket3052Michael Niedermayer2016-02-292-0/+30
| | | | Signed-off-by: Michael Niedermayer <[email protected]>
* fate/filter-video: add test for Ticket1578Michael Niedermayer2016-02-294-0/+248
| | | | | | reference test sample is tiny Signed-off-by: Michael Niedermayer <[email protected]>
* tests/fate/lossless-video: Add test for ticket4119Michael Niedermayer2016-02-296-0/+98
| | | | | | The reference file is very small, and there was no previous test for the -vsync values Signed-off-by: Michael Niedermayer <[email protected]>
* avcodec/libzvbi-teletextdec: Remove unused variableMichael Niedermayer2016-02-281-1/+0
| | | | Signed-off-by: Michael Niedermayer <[email protected]>
* avfilter/avf_showvolume: support unknown channel layouts tooPaul B Mahol2016-02-281-7/+13
| | | | Signed-off-by: Paul B Mahol <[email protected]>
* ffmpeg_vdpau: Remove unused variableMichael Niedermayer2016-02-281-1/+0
| | | | Signed-off-by: Michael Niedermayer <[email protected]>
* avformat/mov: do not leak memory on ffio_read_size failureMarton Balint2016-02-281-3/+3
| | | | | Reviewed-by: Michael Niedermayer <[email protected]> Signed-off-by: Marton Balint <[email protected]>
* avformat/mov: merge mov_read_custom functionsMarton Balint2016-02-281-38/+12
| | | | | | | | | This also fixes reading gapless metadata when the entries do not start with the mean atom. Such samples can be found here: https://hydrogenaud.io/index.php/topic,93310.0.html Reviewed-by: Michael Niedermayer <[email protected]> Signed-off-by: Marton Balint <[email protected]>
* avformat/dashenc: Enable dash output to work when the output isn't a local fileRaymond Hilseth2016-02-281-2/+2
| | | | | | | Use avpriv_io_move instead of ff_rename to support more than only the file protocol. Signed-off-by: Michael Niedermayer <[email protected]>
* avformat/file: enable file_move() without unistd.hRaymond Hilseth2016-02-281-4/+0
| | | | | | it only requires the rename function from os_support.h. Signed-off-by: Michael Niedermayer <[email protected]>
* lavf/mov: downgrade sidx errors to non-fatal warnings; fixes trac #5216Rodger Combs2016-02-281-3/+3
|
* lavf/mov: fix sidx with edit listsRodger Combs2016-02-281-1/+1
|
* vc2enc: redistribute leftover bytesRostislav Pehlivanov2016-02-281-5/+55
| | | | | | | | | | | This commit redistributes the leftover bytes amongst the top 150 slices in terms of size (in the hopes that they'll be the ones pretty bitrate starved). A more perceptual method would probably need to cut bits off from slices which don't need much, but that'll be implemented later. Signed-off-by: Rostislav Pehlivanov <[email protected]>
* vc2enc: allocate the DWT context with the current plane sizeRostislav Pehlivanov2016-02-281-2/+2
| | | | | | Previously used the luma size only. Signed-off-by: Rostislav Pehlivanov <[email protected]>
* 2enc: clip and warn when user bitrate set too lowRostislav Pehlivanov2016-02-281-2/+2
| | | | | | | The encoder crashed on verly low bitrates since there wasn't enough space allocated. Signed-off-by: Rostislav Pehlivanov <[email protected]>
* vc2enc: clip and warn when user bitrate set too lowRostislav Pehlivanov2016-02-281-0/+23
| | | | | | | The encoder crashed on verly low bitrates since there wasn't enough space allocated. Signed-off-by: Rostislav Pehlivanov <[email protected]>
* vc2enc: carry over quantization index across frames as a starting pointRostislav Pehlivanov2016-02-281-6/+6
| | | | | | | | Previously a global average was used. Using the previous quantizer resulted in a fairly significant speedup as slice size selection settled down quicker. Signed-off-by: Rostislav Pehlivanov <[email protected]>
* vc2enc: use 32 bits for quantized coefficients LUTRostislav Pehlivanov2016-02-281-9/+9
| | | | | | | 16 bits were definitely not enough and caused artifacts to appear on images at barely compressed images. Signed-off-by: Rostislav Pehlivanov <[email protected]>
* vc2enc: cache bits per quantizer, calculate wasted bitsRostislav Pehlivanov2016-02-281-5/+32
| | | | | | Needed for following commits, also a speed increase. Signed-off-by: Rostislav Pehlivanov <[email protected]>
* avfilter/vf_vectorscope: add color5 mode, mode like color but with higher ↵Paul B Mahol2016-02-282-4/+32
| | | | | | saturation Signed-off-by: Paul B Mahol <[email protected]>
* avcodec/mjpegdec: Fix decoding slightly odd progressive jpegMichael Niedermayer2016-02-281-6/+4
| | | | | | Fixes: ebd58db6-dc86-11e5-91c2-59daeddf50c7.jpg Signed-off-by: Michael Niedermayer <[email protected]>
* LICENSE: Thorough editingTimothy Gu2016-02-281-26/+38
| | | | | The changes in "Incompatible libraries" section are strictly based on what our configure script says.
* x86/vf_blend: Add SSE2 optimization for divideTimothy Gu2016-02-282-0/+32
| | | | | | 4.5x faster than C float version with autovectorization 10 x faster than C int version 25 x faster than C float version without autovectorization
* lavf/mp3: Properly check return values of seeks and reads while reading the ↵Derek Buitenhuis2016-02-281-10/+39
| | | | | | | | | header Fixes large amounts of seeking past EOF, which could be extremely slow over a network. Signed-off-by: Derek Buitenhuis <[email protected]>
* avformat/Makefile: Fixed missing rawutils.o reference (required by movenc.c)Roman Ryltsov2016-02-281-1/+2
| | | | Signed-off-by: Michael Niedermayer <[email protected]>
* Document and validate AVFrame plane pointers.Reimar Döffinger2016-02-284-1/+36
| | | | | | | | | | Check that the required plane pointers and only those are set up. Currently does not enforce anything for the palette pointer of pseudopal formats as I am unsure about the requirements. Signed-off-by: Reimar Döffinger <[email protected]>
* mjpegdec: Do not assume unused plane pointer are NULL.Reimar Döffinger2016-02-281-3/+8
| | | | | | | | | | | | | We do neither document nor check such a requirement and for application-provided get_buffer2 they could contain the result of a malloc(0) or whatever value they had previously. This fixes a use-after-free in e.g. MPlayer: https://trac.mplayerhq.hu/ticket/2262 We might want to consider changing the (documented) API in addition though. Signed-off-by: Reimar Döffinger <[email protected]>
* mss2: Fix buffer overflow.Reimar Döffinger2016-02-281-2/+2
| | | | | | | | | | | | | | | | | Reported as https://trac.mplayerhq.hu/ticket/2264 but have not been able to reproduce with FFmpeg-only. I have no idea what coded_height is used for here exactly, so this might not be the best fix. Fixes the following chain of events: ff_mss12_decode_init sets coded_height while not setting height. ff_mpv_decode_init then copies coded_height into MpegEncContext height. This is then used by init_context_frame to allocate the data structures. However the wmv9rects are validated/initialized based on avctx->height, not avctx->coded_height. Thus the decode_wmv9 function will try to decode a larger video that we allocated data structures for, causing out-of-bounds writes. Signed-off-by: Reimar Döffinger <[email protected]>
* tests/lavf-regression: Add mp4 timecode testMichael Niedermayer2016-02-282-0/+10
| | | | Signed-off-by: Michael Niedermayer <[email protected]>
* movenc: Timecode in MP4 Although MP4 does not have a concrete specification ↵Syed Andaleeb Roomy2016-02-281-3/+6
| | | | | | | | | | | | | | | | to store timecode information, the following technical note from Apple describes a way to achieve this via timecode track, similar to how it is done for MOV files. https://developer.apple.com/library/mac/technotes/tn2174/_index.html - Enabled creation of timecode tracks for MP4 in the same way as MOV. - Used nmhd as media information header of timecode track of MP4 instead of gmhd used in MOV, thus avoiding tcmi also, as recommended above. - Bypassed adding source reference field for MP4, as suggested above. Issue: https://trac.ffmpeg.org/ticket/4704 Signed-off-by: Syed Andaleeb Roomy <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* configure: add direct detection of libopencvAndreas Cadhalpun2016-02-281-1/+2
| | | | | | | | | | | | | | | | The pkg-config file contains all opencv libraries, not only the neccessary ones. This change makes it possible to use the libopencv-imgproc-dev Debian package instead of libopencv-dev, saving about 200 MB of useless build-dependencies. In particular one doesn't need to install the parts of opencv that depend on ffmpeg libraries. Signed-off-by: Andreas Cadhalpun <[email protected]> Reviewed-by: James Almer <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* avutil/imgutils: Assert that the 2nd av_image_fill_linesizes() call in ↵Michael Niedermayer2016-02-281-1/+4
| | | | | | | | av_image_fill_linesizes() still succeeds Fixes CID1271742 Signed-off-by: Michael Niedermayer <[email protected]>
* lavc/aac_ac3_parser: reindentRodger Combs2016-02-271-22/+23
|
* lavc/aac_ac3_parser: avoid zeroing codec parameters if we haven't read a frameRodger Combs2016-02-271-0/+4
| | | | This caused issues when seeking in some unusual MPEGTS files
* probe TrueHD in MPEGTSRodger Combs2016-02-271-0/+1
|
* lavc/Makefile: dnxhd demuxer depends on dnxhddata.oRodger Combs2016-02-271-0/+1
|
* vf_copy: exclude hwaccel formatswm42016-02-271-0/+18
| | | | | | This does obviously not work. (Additions based on vf_crop.c.)
* avfilter/avf_showwolume: add orientation and step optionPaul B Mahol2016-02-272-40/+110
| | | | Signed-off-by: Paul B Mahol <[email protected]>
* lavfi/ass: fix version check for sub_text_format optionClément Bœsch2016-02-271-1/+1
|
* avcodec/cfhd: Add support for 12-bit RGBA.Kieran Kunhya2016-02-271-9/+15
| | | | Plays all known samples
* cfhd: reallocate internal buffers on format change.Kieran Kunhya2016-02-272-6/+14
| | | | Fixes some, but not all, of the threading fuzz crashes
* avcodec/utils: Check that the video data[] arrays are NULL on the input to ↵Michael Niedermayer2016-02-271-0/+5
| | | | | | | | | get_buffer_internal() This should return an error to the decoder if the struct it tried to getbuffer is dirty Reviewed-by: Reimar Döffinger <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* avcodec/utils: Check all data[] pointers in video_get_buffer() not just the ↵Michael Niedermayer2016-02-271-2/+2
| | | | | | first Signed-off-by: Michael Niedermayer <[email protected]>