summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | avformat/segment: set format options for all segmentsMarton Balint2016-03-261-1/+5
| | | | | | | | | | | | | | Fixes ticket #5318. Reviewed-by: Stefano Sabatini <[email protected]> Signed-off-by: Marton Balint <[email protected]>
* | fate: Remove vsync drop from some h264 testsMichael Niedermayer2016-03-261-16/+16
| | | | | | | | | | | | | | | | Note some tests need vsync drop to produce exact timestamps, these seem not to need it. quite likely many more dont need it either, ive not checked beyond finding one that needs it and the ones which have it removed Signed-off-by: Michael Niedermayer <[email protected]>
* | fate: Modify a random h264 test to also test the -framerate optionMichael Niedermayer2016-03-262-2/+5
| | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | avcodec/audiotoolboxenc: Fix compile error on OS X 10.8.Dan Dennedy2016-03-261-0/+2
| | | | | | | | | | | | | | | | | | | | Fixes error "libavcodec/audiotoolboxenc.c:294:50: error: use of undeclared identifier 'kAudioCodecPropertyPacketSizeLimitForVBR'." That was added to 10.9: https://developer.apple.com/library/mac/releasenotes/General/APIDiffsMacOSX10_9/AudioUnit.html Signed-off-by: Michael Niedermayer <[email protected]>
* | lavc/flicvideo: Implement padding in COPY chunks.Carl Eugen Hoyos2016-03-261-2/+6
| | | | | | | | Reviewed-by: Reimar
* | avformat/rtpdec: Remove stray debug av_log()Michael Niedermayer2016-03-261-1/+0
| | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | avcodec/exr: add support for B44 and B44A compressionMartin Vignali2016-03-261-0/+119
| |
* | avcodec/jpeg2000dec: add slice threading supportPaul B Mahol2016-03-251-7/+8
| | | | | | | | Signed-off-by: Paul B Mahol <[email protected]>
* | avcodec/jpeg2000dec: account two last bytes from end of bytestream as EOC markerPaul B Mahol2016-03-251-2/+2
| | | | | | | | | | | | This silences missing EOC marker when decoding j2k files with Psot set to 0. Signed-off-by: Paul B Mahol <[email protected]>
* | lavfi: Add coreimage filter for GPU based image filtering on OSX.Thilo Borgmann2016-03-258-1/+865
| |
* | lavu/dict: Add new flag to allow multiple equal keys.Thilo Borgmann2016-03-252-3/+7
| |
* | sws/aarch64/yuv2rgb: save a few mul and addClément Bœsch2016-03-251-14/+11
| | | | | | | | 27ms to 26ms with UHD 2160 input.
* | avcodec/libopenjpegenc: fix mixed declarations and codeJames Almer2016-03-251-1/+2
| | | | | | | | Signed-off-by: James Almer <[email protected]>
* | avcodec/libopenjpegdec: fix mixed declarations and codeJames Almer2016-03-251-2/+6
| | | | | | | | Signed-off-by: James Almer <[email protected]>
* | avcodec/libutvideodec: copy frame so it has reference counters when ↵Michael Niedermayer2016-03-241-1/+11
| | | | | | | | | | | | | | refcounted_frames is set Reviewed-by: maintainer Signed-off-by: Michael Niedermayer <[email protected]>
* | avutil/parseutils: mark args as static constMichael Niedermayer2016-03-241-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | Added more tests to libavutil/parseutils.cPetru Rares Sincraian2016-03-242-0/+187
| | | | | | | | | | | | | | - Added tests for av_find_info_tag(). - Added test for av_get_known_color_name() Signed-off-by: Michael Niedermayer <[email protected]>
* | avformat/rtpdec_jpeg: fix low contrast image on low quality settingIco Doornekamp2016-03-241-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original mail and my own followup on ffmpeg-user earlier today: I have a device sending out a MJPEG/RTP stream on a low quality setting. Decoding and displaying the video with libavformat results in a washed out, low contrast, greyish image. Playing the same stream with VLC results in proper color representation. Screenshots for comparison: http://zevv.nl/div/libav/shot-ffplay.jpg http://zevv.nl/div/libav/shot-vlc.jpg A pcap capture of a few seconds of video and SDP file for playing the stream are available at http://zevv.nl/div/libav/mjpeg.pcap http://zevv.nl/div/libav/mjpeg.sdp I believe the problem might be in the calculation of the quantization tables in the function create_default_qtables(), the attached patch solves the issue for me. The problem is that the argument 'q' is of the type uint8_t. According to the JPEG standard, if 1 <= q <= 50, the scale factor 'S' should be 5000 / Q. Because the create_default_qtables() reuses the variable 'q' to store the result of this calculation, for small values of q < 19, q wil subsequently overflow and give wrong results in the calculated quantization tables. The patch below uses a new variable 'S' (same name as in RFC2435) with the proper range to store the result of the division. Signed-off-by: Michael Niedermayer <[email protected]>
* | vc2enc: optimize and simplify quantizationRostislav Pehlivanov2016-03-241-7/+8
| | | | | | | | | | | | Everything except ORing the sign is now done in the LUT. Signed-off-by: Rostislav Pehlivanov <[email protected]>
* | avformat/mpegtsenc: Fix used serviceMichael Niedermayer2016-03-242-1/+13
| | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | avformat/mpegtsenc: Keep track of the program for each serviceMichael Niedermayer2016-03-241-9/+8
| | | | | | | | | | | | Simplifies code Signed-off-by: Michael Niedermayer <[email protected]>
* | Refactor libavutil/parseutils.cPetru Rares Sincraian2016-03-241-163/+175
| | | | | | | | | | | | | | | | | | | | All tests were in the main method which produces a long main. Now, each test is in his own method. I think this produces a more clear code and follows more with the main priority of FFmpeg "simplicity and small code size" Signed-off-by: Michael Niedermayer <[email protected]>
* | fate: Add test that also decodes packed_bframes.aviMichael Niedermayer2016-03-232-0/+20
| | | | | | | | | | | | | | No new reference samples are needed for this as the file already exists for testing the bitstream filter Signed-off-by: Michael Niedermayer <[email protected]>
* | vc2enc: simplify calc_slice_sizes()Rostislav Pehlivanov2016-03-231-19/+13
| | | | | | | | Signed-off-by: Rostislav Pehlivanov <[email protected]>
* | vc2enc: correctly zero out the slice size cacheRostislav Pehlivanov2016-03-231-1/+1
| | | | | | | | Signed-off-by: Rostislav Pehlivanov <[email protected]>
* | vc2enc: macro out slice size roundingRostislav Pehlivanov2016-03-231-6/+9
| | | | | | | | Signed-off-by: Rostislav Pehlivanov <[email protected]>
* | lavc/psymodel: check for av_malloc failureGanesh Ajjanagadde2016-03-231-1/+6
| | | | | | | | | | | | | | | | | | | | No idea why in commit 01ecb7172b684f1c4b3e748f95c5a9a494ca36ec the checks were removed; this can lead to NULL pointer dereferences. This effectively reverts that portion of the commit. Reviewed-by: Benoit Fouet <[email protected]> Reviewed-by: Rostislav Pehlivanov <[email protected]> Signed-off-by: Ganesh Ajjanagadde <[email protected]>
* | avcodec/dvaudiodec: now that we got samples, fix 12bit casePaul B Mahol2016-03-231-1/+1
| | | | | | | | Signed-off-by: Paul B Mahol <[email protected]>
* | lavc: add AudioToolbox encodersRodger Combs2016-03-226-6/+493
| | | | | | | | Fixes trac #4828
* | lavc: add AudioToolbox decodersRodger Combs2016-03-226-2/+389
| | | | | | | | Part of trac #4828
* | all: move ff_exp10, ff_exp10f, ff_fast_powf to lavu/ffmath.hGanesh Ajjanagadde2016-03-2220-50/+85
| | | | | | | | | | | | | | | | | | | | | | The idea is to use ffmath.h for internal implementations of math functions. Currently, it is used for variants of libm functions, but is by no means limited to such things. Note that this is not exported; use lavu/mathematics for such purposes. Reviewed-by: Ronald S. Bultje <[email protected]> Signed-off-by: Ganesh Ajjanagadde <[email protected]>
* | Added a selftest to libavutil/display.cPetru Rares Sincraian2016-03-225-0/+65
| | | | | | | | | | | | | | | | - Check if av_display_rotation_get() gets the correct degrees - Check if av_display_rotation_set() sets the correct matrix - Check if av_display_matrix_flip() changes correct the matrix Signed-off-by: Michael Niedermayer <[email protected]>
* | vc2enc: add non-experimental support for all video formats from specRostislav Pehlivanov2016-03-221-35/+59
| | | | | | | | | | | | | | | | | | Until now, for formats which were in the spec but not in the encoder's list of supported formats required the -strict -1 flag. This enables support for all video formats which are specified, all the way from QSIF525 to 8K. Signed-off-by: Rostislav Pehlivanov <[email protected]>
* | swresample/swresample: Remove "less than" comparissions of enumsMichael Niedermayer2016-03-221-4/+4
| | | | | | | | | | Found-by: wm4 Signed-off-by: Michael Niedermayer <[email protected]>
* | lavf/img2dec: Skip COM when auto-detecting jpeg.Carl Eugen Hoyos2016-03-221-0/+1
| | | | | | | | It could theoretically contain invalid data that gets ignored by decoders.
* | fate: add audiomatchMichael Niedermayer2016-03-2253-2/+264
| | | | | | | | | | Testset provided by Justin Greer <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | configure: Remove (b)zlib and iconv dependencies for videoltoolbox encoder.Carl Eugen Hoyos2016-03-221-1/+0
| |
* | rtpdec: support for VC-2 HQ RTP payload format (draft v1)Thomas Volkert2016-03-226-2/+232
| |
* | ffplay: remove redundant silence bufferLukasz Marek2016-03-221-7/+6
| | | | | | | | Signed-off-by: Lukasz Marek <[email protected]>
* | avformat/utils: scan a bit farther for a keyframe in mpeg/mpegts (7 sec ↵Michael Niedermayer2016-03-211-0/+2
| | | | | | | | | | | | | | | | instead of 5, we already scan 90sec in some cases by default) Fixes Ticket5305 Signed-off-by: Michael Niedermayer <[email protected]>
* | vc2enc: simplify count_hq_slice() and cachingRostislav Pehlivanov2016-03-211-15/+12
| | | | | | | | | | | | The count_hq_slice() function is always used with a SliceArgs struct Signed-off-by: Rostislav Pehlivanov <[email protected]>
* | vc2enc: fix segfaultRostislav Pehlivanov2016-03-211-1/+1
| | | | | | | | | | | | | | | | Fixes trac bug #5353 Uninitialized memory for the initial quantization index Signed-off-by: Rostislav Pehlivanov <[email protected]>
* | lavf/matroskaenc.c: add early support for colour elementsNeil Birkbeck2016-03-211-1/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Adding early support for a subset of the proposed colour elements according to the latest version of spec: https://mailarchive.ietf.org/arch/search/?email_list=cellar&gbt=1&index=hIKLhMdgTMTEwUTeA4ct38h0tmE Like matroskadec, I've left out elements for pix_fmt related things as there still seems to be some discussion around these. The new elements are exposed under strict experimental mode. Signed-off-by: Neil Birkbeck <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | avfilter/vf_vectorscope: always flip output verticallyPaul B Mahol2016-03-207-20/+28
| | | | | | | | Signed-off-by: Paul B Mahol <[email protected]>
* | avformat/mov: read start_pad from edit list start time if codec is aacMarton Balint2016-03-203-8/+11
| | | | | | | | | | | | | | | | Related to ticket #2324, #2325. Stream duration still need to be fixed... Signed-off-by: Marton Balint <[email protected]>
* | avformat/utils: increase detected start_time with skip_samplesMarton Balint2016-03-204-40/+46
| | | | | | | | | | Reviewed-by: Michael Niedermayer <[email protected]> Signed-off-by: Marton Balint <[email protected]>
* | tests/gapless: add gapless aac testsMarton Balint2016-03-206-1/+227
| | | | | | | | Signed-off-by: Marton Balint <[email protected]>
* | lavf/dv: use c->sys->frame_size in dv_frame_offset()Clément Bœsch2016-03-201-4/+3
| | | | | | | | | | | | | | | | dv_frame_offset() is static and called only from dv_read_seek(), where c->sys->frame_size is already used. This simplifies the incoming codecpar merge where avctx->{coded_width,coded_height,time_base} are not accessible anymore.
* | lavf/dv: reindent after previous commitClément Bœsch2016-03-201-15/+15
| |
* | lavf/dv: do not check for c->sysClément Bœsch2016-03-201-5/+1
| | | | | | | | | | dv_extract_video_info() is a static function called only from avpriv_dv_produce_packet(), where c->sys is made sure to be set.