summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* avformat/concatdec: Check file variable before dereferencingMichael Niedermayer2015-09-031-0/+5
| | | | | | | | Fixes CID1322328 Reviewed-by: Ganesh Ajjanagadde <[email protected]> Reviewed-by: Nicolas George <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* AAC: MIPS: Add missing codebooks in quantize funcsClaudio Freire2015-09-031-1/+59
| | | | | Add entries on the quantize function tables for the missing codebooks (which all behave like ZERO)
* AAC: Increase fuzziness of fate-aac testsClaudio Freire2015-09-031-1/+3
| | | | Needed to make them pass in mips
* doc: Explain how to use the fps and the fieldmatch filter together.Carl Eugen Hoyos2015-09-031-2/+3
| | | | Fixes ticket #3968.
* avformat/file: Fix copy and paste errorMichael Niedermayer2015-09-031-1/+1
| | | | Signed-off-by: Michael Niedermayer <[email protected]>
* avfilter/vf_sab: use the name 's' for the pointer to the private contextGanesh Ajjanagadde2015-09-031-29/+29
| | | | Signed-off-by: Ganesh Ajjanagadde <[email protected]>
* avcodec/fraps: use init_get_bits8()Paul B Mahol2015-09-031-1/+3
| | | | Signed-off-by: Paul B Mahol <[email protected]>
* avformat/hlsenc: Fix memleak of pathMichael Niedermayer2015-09-031-2/+4
| | | | | Fixes: CID1322343 Signed-off-by: Michael Niedermayer <[email protected]>
* avformat/hlsenc: Initialize vtt_oc to help static analyzersMichael Niedermayer2015-09-031-1/+1
| | | | | | This is also more robust in case it ever is used Signed-off-by: Michael Niedermayer <[email protected]>
* avformat/latmenc: Add assert to avoid coverity warningMichael Niedermayer2015-09-031-1/+2
| | | | | | Fixes CID1322323 Signed-off-by: Michael Niedermayer <[email protected]>
* avfilter/vf_drawgraph: add rscroll slide modePaul B Mahol2015-09-032-5/+16
| | | | Signed-off-by: Paul B Mahol <[email protected]>
* avcodec/vorbisdec: use init_get_bits8()Paul B Mahol2015-09-031-3/+8
| | | | Signed-off-by: Paul B Mahol <[email protected]>
* avfilter/vf_vectorscope: constify more variablesPaul B Mahol2015-09-031-7/+8
| | | | Signed-off-by: Paul B Mahol <[email protected]>
* avfilter/vf_vectorscope: support more formats for color4 mode in common casePaul B Mahol2015-09-032-11/+15
| | | | Signed-off-by: Paul B Mahol <[email protected]>
* avfilter/vf_elbg: make it possible to output to pal8 pixel formatPaul B Mahol2015-09-032-5/+58
| | | | Signed-off-by: Paul B Mahol <[email protected]>
* avformat/swfdec: Check return value of init_get_bits8()Michael Niedermayer2015-09-031-1/+2
| | | | | | Fixes: CID1322320 Signed-off-by: Michael Niedermayer <[email protected]>
* swresample/swresample: Fix integer overflow in seed calculationMichael Niedermayer2015-09-031-1/+1
| | | | | | Fixes CID1322333 Signed-off-by: Michael Niedermayer <[email protected]>
* avformat/mov: Fix integer overflow in FFABSMichael Niedermayer2015-09-031-1/+1
| | | | | | | Fixes: unknown_unknown_19e_414_cov_764838672_bellhamlam.mov Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
* avutil/common: Add FFNABS()Michael Niedermayer2015-09-031-0/+9
| | | | | | | This macro avoids the undefined corner case with the *_MIN values Previous version Reviewed-by: Ganesh Ajjanagadde <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* avformat/dump: Fix integer overflow in aspect ratio calculationMichael Niedermayer2015-09-031-2/+2
| | | | | | | Fixes: unknown_unknown_19e_414_cov_764838672_bellhamlam.mov Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
* avutil/common: Document FFABS() corner caseMichael Niedermayer2015-09-031-0/+6
| | | | Signed-off-by: Michael Niedermayer <[email protected]>
* lavf: add V as a video stream specifier which is not an attached pictureMarton Balint2015-09-022-5/+13
| | | | | Reviewed-by: Michael Niedermayer <[email protected]> Signed-off-by: Marton Balint <[email protected]>
* avcodec/mpeg12dec: Fix integer overflowMichael Niedermayer2015-09-021-2/+2
| | | | | | | Fixes: signal_sigabrt_7ffff6ac8cc9_686_cov_1897408623_microsoft_new_way_to_shove_mpeg2_in_asf.dvr_ms Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
* avcodec/mpegvideo: change bit_rate to 64bitMichael Niedermayer2015-09-026-9/+9
| | | | | | | | | 32bit is not sufficient for all cases Fixes: signal_sigabrt_7ffff6ac8cc9_686_cov_1897408623_microsoft_new_way_to_shove_mpeg2_in_asf.dvr_ms Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
* avcodec/mpegvideo_parser: Fix integer overflowMichael Niedermayer2015-09-021-2/+2
| | | | | | | Fixes: signal_sigabrt_7ffff6ac8cc9_686_cov_1897408623_microsoft_new_way_to_shove_mpeg2_in_asf.dvr_ms Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
* avcodec/truemotion1: Fix undefined behavior (left shift of negative value)Michael Niedermayer2015-09-021-4/+4
| | | | | | | Fixes: asan_heap-oob_26f6853_862_cov_585961513_sonic3dblast_intro-partial.avi Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
* avcodec: loongson optimize mpeg2 dct unquantize intra and denoise dct周晓勇2015-09-023-0/+148
| | | | | | Change-Id: I2f391ae912a079fb32f0703841dca86358aac72a Signed-off-by: ZhouXiaoyong <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* lavfi/colormatrix: Add a bt601 aliasVittorio Giovara2015-09-021-0/+1
| | | | | | | Matches what av_get_colorspace_name() and av_color_space_name() report. Signed-off-by: Vittorio Giovara <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* ffmpeg: Improve help text for -target.Carl Eugen Hoyos2015-09-021-2/+2
| | | | Fixes ticket #1057.
* avcodec/mips/aaccoder_mips: disable optimizatios which break fate-aac-pns-encodeMichael Niedermayer2015-09-021-2/+3
| | | | | | These should be re enabled once the issue is fixed Signed-off-by: Michael Niedermayer <[email protected]>
* fate: increase fuzziness for the AAC encoder prediction testRostislav Pehlivanov2015-09-021-1/+1
| | | | | | Fails on x86_64 using ICC 13.1. Signed-off-by: Rostislav Pehlivanov <[email protected]>
* fate: add fuzziness to the AAC Encode prediction testRostislav Pehlivanov2015-09-021-0/+1
| | | | | | Fails on ppc64 architecture under Ubuntu. Signed-off-by: Rostislav Pehlivanov <[email protected]>
* fate: update AAC encoder testsRostislav Pehlivanov2015-09-021-3/+3
| | | | | | | | | TNS had both IS and PNS switched on when it makes more sense to have them both off. Prediction had a redundant argument. Signed-off-by: Rostislav Pehlivanov <[email protected]>
* aacenc: reorder coding toolsRostislav Pehlivanov2015-09-021-63/+88
| | | | | | | | | | | | | | | | | | | | | | | | | This commit reorders the coding tools such that they're doing what the decoder does in reverse order. The very first thing the decoder does is to decode M/S stereo if that's signalled, then prediction, IS, and finally TNS and PNS in another function. adjust_frame_information()'s application of IS and M/S was taken out into two separate functions since prediction doesn't expect to get the raw coefficients but rathe the coefficients at that part of the encoding process. The results show a much better PSNR when any combination of Intensity Stereo, Mid/Side stereo and Prediction is used, which is a sign of an increased encoder efficiency as well as the fact that the decoder gets what it expects. Otherwise, with only IS, PNS or prediction there are neither regressions nor improvements except in the case of IS, which now by itself (or with PNS) is less prone to artifacts. Enabling M/S (using stereo_mode) as well will also reduce stereo artifacts induced by IS, so in the very near future M/S may be enabled by default. Signed-off-by: Rostislav Pehlivanov <[email protected]>
* avformat/hlsenc: add a use_localtime option to expand the segment filename ↵LiuQi2015-09-021-4/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | with localtime test examples: ./ffmpeg -re -i ~/Movies/objectC/facebook.mp4 -v verbose -c copy -f hls -hls_segment_filename test-%s.ts -use_localtime 1 -bsf:v h264_mp4toannexb aaa.m3u8 [StevenLiu@localhost ffmpeg]$ cat aaa.m3u8;ll test-*.ts test-1441052221.ts test-1441052231.ts test-1441052235.ts test-1441052243.ts test-1441052249.ts -rw-r--r-- 1 StevenLiu staff 1310736 9 1 04:15 test-1441052131.ts -rw-r--r-- 1 StevenLiu staff 495192 9 1 04:15 test-1441052141.ts -rw-r--r-- 1 StevenLiu staff 1310736 9 1 04:17 test-1441052212.ts -rw-r--r-- 1 StevenLiu staff 1067840 9 1 04:17 test-1441052221.ts -rw-r--r-- 1 StevenLiu staff 235564 9 1 04:17 test-1441052231.ts -rw-r--r-- 1 StevenLiu staff 1187220 9 1 04:17 test-1441052235.ts -rw-r--r-- 1 StevenLiu staff 694848 9 1 04:17 test-1441052243.ts -rw-r--r-- 1 StevenLiu staff 526588 9 1 04:17 test-1441052249.ts [StevenLiu@localhost ffmpeg]$ ./ffmpeg -re -i ~/Movies/objectC/facebook.mp4 -v verbose -c copy -f hls -hls_segment_filename test-%s.ts -use_localtime 1 -bsf:v h264_mp4toannexb aaa.m3u8 [StevenLiu@localhost ffmpeg]$ cat aaa.m3u8;ll aaa-*.ts aaa-1441052417.ts aaa-1441052427.ts aaa-1441052437.ts aaa-1441052440.ts aaa-1441052449.ts -rw-r--r-- 1 StevenLiu staff 1310736 9 1 04:19 aaa-1441052382.ts -rw-r--r-- 1 StevenLiu staff 277300 9 1 04:19 aaa-1441052392.ts -rw-r--r-- 1 StevenLiu staff 1310736 9 1 04:20 aaa-1441052417.ts -rw-r--r-- 1 StevenLiu staff 1067840 9 1 04:20 aaa-1441052427.ts -rw-r--r-- 1 StevenLiu staff 235564 9 1 04:20 aaa-1441052437.ts -rw-r--r-- 1 StevenLiu staff 1187220 9 1 04:20 aaa-1441052440.ts -rw-r--r-- 1 StevenLiu staff 338776 9 1 04:20 aaa-1441052449.ts [StevenLiu@localhost ffmpeg]$ Signed-off-by: Michael Niedermayer <[email protected]>
* avcodec/hevc_parser: fix split function of parserRainer Hochecker2015-09-021-7/+18
| | | | Signed-off-by: Michael Niedermayer <[email protected]>
* avcodec/ffv1dec: Print CRCs at picture debug levelMichael Niedermayer2015-09-021-2/+8
| | | | Signed-off-by: Michael Niedermayer <[email protected]>
* avcodec/ffv1dec: Check that there is enough space for the CRC in the global ↵Michael Niedermayer2015-09-021-1/+1
| | | | | | header Signed-off-by: Michael Niedermayer <[email protected]>
* avcodec/h264_slice: replace assert by normal error checkMichael Niedermayer2015-09-021-1/+4
| | | | | | | | Fixes assertion failure Fixes: c6075771557e4f3b7b74e63d2d24fb01/signal_sigabrt_7ffff6ac8cc9_133_cov_2853689970_CREDITS.FST Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
* lavf/dv: Do not return EIO for every error (like EOF).Carl Eugen Hoyos2015-09-021-1/+6
| | | | | | | Fixes ticket #4818. Reviewed-by: Ronald S. Bultje Reviewed-by: Paul B Mahol
* avfilter/vf_subtitles: allow setting fonts directoryRicardo Constantino2015-09-022-0/+8
| | | | | | | This is mostly useful if libass was compiled with a font provider other than fontconfig, but is still useful in that case. Signed-off-by: Ricardo Constantino <[email protected]>
* avcodec/version: Minor version bump due to ↵Michael Niedermayer2015-09-011-1/+1
| | | | | | | 5d12d7de2ce548a3c9f5c175a9d1c5bfbdbcbfa8 Found-by: ubitux Signed-off-by: Michael Niedermayer <[email protected]>
* avformat/mxg: Use memmove()Michael Niedermayer2015-09-011-1/+1
| | | | | | | | Fixes undefined behavior Fixes: 1700002963a49da13542e0726b7bb758/unknown_unknown_292_658_cov_2141972066_m1.mxg Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
* mpegts: demux BluRay text subtitlesPetri Hintukainen2015-09-013-0/+9
| | | | | Reviewed-by: Paul B Mahol <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* mpegts: fix demuxing PES private stream 2Petri Hintukainen2015-09-011-0/+1
| | | | | | | PES header size is 6 bytes (00 00 01 bf XX XX), not 0. BluRay text subtitles use private stream 2. Signed-off-by: Michael Niedermayer <[email protected]>
* avfilter/vf_spp: use the name 's' for the pointer to the private contextGanesh Ajjanagadde2015-09-011-49/+49
| | | | Signed-off-by: Ganesh Ajjanagadde <[email protected]>
* rtmp: support the AMF_DATE tagAndrew Stone2015-09-011-0/+1
| | | | | | | | Instead of returning EINVAL, which can cause a stream to fail to load, this allows the tag to be passed through to the flv demuxer, where it's summarily ignored. Signed-off-by: Michael Niedermayer <[email protected]>
* aacenc: disable bandtype modifying extensions when coder != twoloopRostislav Pehlivanov2015-09-011-0/+5
| | | | | | | | | If the selected coder isn't twoloop, this commit temporarily disables IS and PNS. The problem is in the encode_window_bands_info() being confused and setting invalid band_types for non-marked (normal) bands. Signed-off-by: Rostislav Pehlivanov <[email protected]>
* avfilter/vf_waveform: support envelope for all filtersPaul B Mahol2015-09-011-37/+52
| | | | Signed-off-by: Paul B Mahol <[email protected]>
* avfilter/vf_waveform: simplify memory allocationsPaul B Mahol2015-09-011-14/+12
| | | | Signed-off-by: Paul B Mahol <[email protected]>