- 05 Feb, 2015 4 commits
-
-
Michael Niedermayer authored
Found-by: ubitux Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Fixes null pointer dereference Fixes: signal_sigsegv_db2c1f_3108_cov_163322880_pikmin2_opening1_partial.thp Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Lukasz Marek authored
ff_avc_write_annexb_extradata() allocates extradata, but don't add FF_INPUT_BUFFER_PADDING_SIZE value Signed-off-by:
Lukasz Marek <lukasz.m.luki2@gmail.com>
-
Philip Langdale authored
For reasons we are not privy to, nvidia decided that the nvenc encoder should apply aspect ratio compensation to 'DVD like' content, assuming that the content is not bt.601 compliant, but needs to be bt.601 compliant. In this context, that means that they make the following, questionable, assumptions: 1) If the input dimensions are 720x480 or 720x576, assume the content has an active area of 704x480 or 704x576. 2) Assume that whatever the input sample aspect ratio is, it does not account for the difference between 'physical' and 'active' dimensions. From, these assumptions, they then conclude that they can 'help', by adjusting the sample aspect ratio by a factor of 45/44. And indeed, if you wanted to display only the 704 wide active area with the same aspect ratio as the full 720 wide image - this would be the correct adjustment factor, but what if you don't? And more importantly, what if you're used to ffmpeg not making this kind of adjustment at encode time - because none of the other encoders do this! And, what if you had already accounted for bt.601 and your input had the correct attributes? Well, it's going to apply the compensation anyway! So, if you take some content, and feed it through nvenc repeatedly, it will keep scaling the aspect ratio every time, stretching your video out more and more and more. So, clearly, regardless of whether you want to apply bt.601 aspect ratio adjustments or not, this is not the way to do it. With any other ffmpeg encoder, you would do it as part of defining your input paramters or do the adjustment at playback time, and there's no reason by nvenc should be any different. This change adds some logic to undo the compensation that nvenc would otherwise do. nvidia engineers have told us that they will work to make this compensation mechanism optional in a future release of the nvenc SDK. At that point, we can adapt accordingly. Signed-off-by:
Philip Langdale <philipl@overt.org> Reviewed-by:
Timo Rothenpieler <timo@rothenpieler.org> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 04 Feb, 2015 36 commits
-
-
Michael Niedermayer authored
Fixes out of array read Fixes: asan_heap-oob_1fb2f9b_3780_cov_3984375136_usf.mkv Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Fixes integer overflow and out of array read Fixes: asan_heap-oob_1fb2f9b_3780_cov_3984375136_usf.mkv Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
James Almer authored
As with sao_band_filter, pass instead the two variables from the struct needed in the function. This simplifies writing asm optimized versions. Reviewed-by:
Mickaël Raulet <mraulet@insa-rennes.fr> Signed-off-by:
James Almer <jamrial@gmail.com>
-
James Almer authored
Reviewed-by:
Christophe Gisquet <christophe.gisquet@gmail.com> Reviewed-by:
Mickaël Raulet <mraulet@insa-rennes.fr> Signed-off-by:
James Almer <jamrial@gmail.com>
-
Seppo Tomperi authored
Reviewed-by:
Christophe Gisquet <christophe.gisquet@gmail.com> Reviewed-by:
Mickaël Raulet <mraulet@insa-rennes.fr>
-
Seppo Tomperi authored
Reviewed-by:
Michael Niedermayer <michaelni@gmx.at> Reviewed-by:
Christophe Gisquet <christophe.gisquet@gmail.com> Reviewed-by:
Mickaël Raulet <mraulet@insa-rennes.fr>
-
Michael Niedermayer authored
Fixes out of array accesses Fixes: asan_heap-oob_1c1a4ea_1242_cov_2274415971_TESTcmyk.jpg Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Fixes assertion failure Fixes: asan_heap-oob_1c1a4ea_1242_cov_2274415971_TESTcmyk.jpg Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
This also avoids droping the frame which is closest to the target timestamp Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Hendrik Leppkes authored
The scaling list can be specified in either the SPS or PPS. Additionally, compensate for the diagonal scan permutation applied in the decoder. Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Paul B Mahol authored
Signed-off-by:
Paul B Mahol <onemda@gmail.com>
-
Michael Niedermayer authored
* commit '8c1ce778': aacsbr: silence message for SBR extension "padding". See: 1ac606baMerged-by:
Michael Niedermayer <michaelni@gmx.at>
-
Paul B Mahol authored
Signed-off-by:
Paul B Mahol <onemda@gmail.com>
-
Michael Niedermayer authored
* commit 'd615187f': aacdec: Support for ER AAC ELD 480. Conflicts: libavcodec/aacdec.c Merged-by:
Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
* commit '7640c4a3': aacdec: Tables for length 480 AAC ELD. Merged-by:
Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
* commit '0ee25733': aacdec: Support for ER AAC in LATM Conflicts: libavcodec/aacdec.c Merged-by:
Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
* commit 'edd9ea3f': aacdec: Refactor aac_er_decode_frame. Merged-by:
Michael Niedermayer <michaelni@gmx.at>
-
Stefano Sabatini authored
-
Liviu Oniciuc authored
Update after b37858ea.
-
Michael Niedermayer authored
* commit '82bd8a57': aacdec: Refactor decode_ics_info. Merged-by:
Michael Niedermayer <michaelni@gmx.at>
-
Carl Eugen Hoyos authored
-
Paul B Mahol authored
Signed-off-by:
Paul B Mahol <onemda@gmail.com>
-
Paul B Mahol authored
Signed-off-by:
Paul B Mahol <onemda@gmail.com>
-
Paul B Mahol authored
Signed-off-by:
Paul B Mahol <onemda@gmail.com>
-
Paul B Mahol authored
Signed-off-by:
Paul B Mahol <onemda@gmail.com>
-
Paul B Mahol authored
Signed-off-by:
Paul B Mahol <onemda@gmail.com>
-
Paul B Mahol authored
Signed-off-by:
Paul B Mahol <onemda@gmail.com>
-
Paul B Mahol authored
Signed-off-by:
Paul B Mahol <onemda@gmail.com>
-
Reimar Döffinger authored
Some files contain a few additional, all-0 bits. Check for that case and don't print incorrect "not supported" message. Signed-off-by:
Reimar Döffinger <Reimar.Doeffinger@gmx.de> Signed-off-by:
Alex Converse <alex.converse@gmail.com>
-
Alex Converse authored
Based in part on work from Niel van der Westhuizen <espes@pequalsnp.com>.
-
Niel van der Westhuizen authored
-
Niel van der Westhuizen authored
-
Alex Converse authored
-
Alex Converse authored
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-