| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Improves jpeg auto-detection.
|
|
|
|
|
| |
This option is typically useful when cross-compiling dynamic libraries
for iOS, with something such as --install-name-dir=@rpath
|
|
|
|
|
|
|
| |
optimize draw_bar_yuv (slightly faster)
optimize draw_axis (about 2x faster)
Signed-off-by: Muhammad Faiz <[email protected]>
|
|
|
|
| |
Signed-off-by: Michael Niedermayer <[email protected]>
|
|
|
|
| |
Signed-off-by: Michael Niedermayer <[email protected]>
|
|
|
|
|
|
| |
Fixes regression with ticket2451
Signed-off-by: Michael Niedermayer <[email protected]>
|
|
|
|
| |
Signed-off-by: Michael Niedermayer <[email protected]>
|
|
|
|
|
|
| |
reference test sample is tiny
Signed-off-by: Michael Niedermayer <[email protected]>
|
|
|
|
|
|
| |
The reference file is very small, and there was no previous test for the -vsync values
Signed-off-by: Michael Niedermayer <[email protected]>
|
|
|
|
| |
Signed-off-by: Michael Niedermayer <[email protected]>
|
|
|
|
| |
Signed-off-by: Paul B Mahol <[email protected]>
|
|
|
|
| |
Signed-off-by: Michael Niedermayer <[email protected]>
|
|
|
|
|
| |
Reviewed-by: Michael Niedermayer <[email protected]>
Signed-off-by: Marton Balint <[email protected]>
|
|
|
|
|
|
|
|
|
| |
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]>
|
|
|
|
|
|
|
| |
Use avpriv_io_move instead of ff_rename to support more than only
the file protocol.
Signed-off-by: Michael Niedermayer <[email protected]>
|
|
|
|
|
|
| |
it only requires the rename function from os_support.h.
Signed-off-by: Michael Niedermayer <[email protected]>
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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]>
|
|
|
|
|
|
| |
Previously used the luma size only.
Signed-off-by: Rostislav Pehlivanov <[email protected]>
|
|
|
|
|
|
|
| |
The encoder crashed on verly low bitrates since there wasn't enough
space allocated.
Signed-off-by: Rostislav Pehlivanov <[email protected]>
|
|
|
|
|
|
|
| |
The encoder crashed on verly low bitrates since there wasn't enough
space allocated.
Signed-off-by: Rostislav Pehlivanov <[email protected]>
|
|
|
|
|
|
|
|
| |
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]>
|
|
|
|
|
|
|
| |
16 bits were definitely not enough and caused artifacts to appear on
images at barely compressed images.
Signed-off-by: Rostislav Pehlivanov <[email protected]>
|
|
|
|
|
|
| |
Needed for following commits, also a speed increase.
Signed-off-by: Rostislav Pehlivanov <[email protected]>
|
|
|
|
|
|
| |
saturation
Signed-off-by: Paul B Mahol <[email protected]>
|
|
|
|
|
|
| |
Fixes: ebd58db6-dc86-11e5-91c2-59daeddf50c7.jpg
Signed-off-by: Michael Niedermayer <[email protected]>
|
|
|
|
|
| |
The changes in "Incompatible libraries" section are strictly based on
what our configure script says.
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
header
Fixes large amounts of seeking past EOF, which could be extremely
slow over a network.
Signed-off-by: Derek Buitenhuis <[email protected]>
|
|
|
|
| |
Signed-off-by: Michael Niedermayer <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
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]>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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]>
|
|
|
|
| |
Signed-off-by: Michael Niedermayer <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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]>
|
|
|
|
|
|
|
|
| |
av_image_fill_linesizes() still succeeds
Fixes CID1271742
Signed-off-by: Michael Niedermayer <[email protected]>
|
| |
|
|
|
|
| |
This caused issues when seeking in some unusual MPEGTS files
|
| |
|
| |
|
|
|
|
|
|
| |
This does obviously not work.
(Additions based on vf_crop.c.)
|
|
|
|
| |
Signed-off-by: Paul B Mahol <[email protected]>
|
| |
|
|
|
|
| |
Plays all known samples
|
|
|
|
| |
Fixes some, but not all, of the threading fuzz crashes
|
|
|
|
|
|
|
|
|
| |
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]>
|
|
|
|
|
|
| |
first
Signed-off-by: Michael Niedermayer <[email protected]>
|