summaryrefslogtreecommitdiffstats
path: root/media/test
Commit message (Collapse)AuthorAgeFilesLines
* Add MP4 DASH test fileacolwell@chromium.org2012-06-121-0/+0
| | | | | | | | | | TBR=acolwell@chromium.org BUG=129072 TEST=None Review URL: https://chromiumcodereview.appspot.com/10539117 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141766 0039d316-1c4b-4281-b951-d872f2087c98
* Switch to using avcodec_decode_audio4, avcodec_alloc_context3.dalecurtis@chromium.org2012-06-111-15/+31
| | | | | | | | | | | | | | | | Allows us to remove another patch from FFmpeg relating to using deprecated features! We're now using the latest and greatest! FFmpeg side changes here, https://gerrit.chromium.org/gerrit/24823 BUG=112673 TEST=ffmpeg_regression_tests, webaudio tests. Review URL: https://chromiumcodereview.appspot.com/10540067 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141524 0039d316-1c4b-4281-b951-d872f2087c98
* Add webm_ebml_element test file.acolwell@chromium.org2012-06-081-0/+0
| | | | | | | | | | TBR=acolwell@chromium.org BUG=122913 TEST=None Review URL: https://chromiumcodereview.appspot.com/10536072 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141218 0039d316-1c4b-4281-b951-d872f2087c98
* Add alt-ref test file.acolwell@chromium.org2012-06-061-0/+0
| | | | | | | | | TBR=acolwell@chromium.org BUG=131265 Review URL: https://chromiumcodereview.appspot.com/10532036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140826 0039d316-1c4b-4281-b951-d872f2087c98
* Pre-land some test data files for BUG=127692 TBR=scherkusdalecurtis@google.com2012-05-142-0/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136924 0039d316-1c4b-4281-b951-d872f2087c98
* Add mp3 test data for upcoming change. BUG=127692 TBR=scherkusdalecurtis@google.com2012-05-111-0/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136473 0039d316-1c4b-4281-b951-d872f2087c98
* Land ID3 test data manually.dalecurtis@google.com2012-04-181-0/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132894 0039d316-1c4b-4281-b951-d872f2087c98
* Disable ID3v1 tag reading.dalecurtis@chromium.org2012-04-181-0/+0
| | | | | | | | | | | | | | | | | | | | | | ID3 tag reading is pretty well entrenched in FFmpeg, so we can't just disable ID3 entirely or we'll fail to identify and parse files which start with ID3 tags. This change prevents FFmpeg from attempting to read ID3v1 tags from the end of the file. As far as I can tell, FFmpeg only supports ID3v2 tags at the start of the file, so we don't need to worry about those. Will require a DEPS roll to update Windows FFmpeg DLLs and add two new signature entries for avformat_alloc_context() and av_dict_set(). BUG=94285 TEST=Played mp3 from bug, observed no more extraneous requests. Review URL: http://codereview.chromium.org/10012049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132870 0039d316-1c4b-4281-b951-d872f2087c98
* Enable multithreaded theora decode.dalecurtis@chromium.org2012-03-161-7/+0
| | | | | | | | | | BUG=53967 TEST=Ran all layout tests, ffmpeg_unittests, ffmpeg_regression_tests. Review URL: http://codereview.chromium.org/9700051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127102 0039d316-1c4b-4281-b951-d872f2087c98
* Add test files for AES decryptor.xhwang@chromium.org2012-03-072-0/+0
| | | | | | | | | | TBR=scherkus@chromium.org BUG=117060 TEST=these are test files Review URL: https://chromiumcodereview.appspot.com/9592036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125271 0039d316-1c4b-4281-b951-d872f2087c98
* Add a test file to simulate live WebM.acolwell@chromium.org2012-03-062-0/+2
| | | | | | | | | | TBR=acolwell@chromium.org BUG=116824 TEST=None Review URL: https://chromiumcodereview.appspot.com/9616018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125174 0039d316-1c4b-4281-b951-d872f2087c98
* Second attempt to land ffmpeg roll.dalecurtis@google.com2012-03-011-8/+7
| | | | | | | | | | | | | | | | | Attempt 2 at landing http://codereview.chromium.org/9317096/ Same as before except for fixes in checkperms/ However, fixes have landed elsewhere for: - mp3 decode issue. - FrameRateNoVsyncCanvasInternalTest.fishbowl/0 BUG=110776 TEST=unittests, layouttests, trybots, perf tests... Review URL: https://chromiumcodereview.appspot.com/9447029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124501 0039d316-1c4b-4281-b951-d872f2087c98
* Add test file for WebM content encodings elements.xhwang@chromium.org2012-02-231-0/+0
| | | | | | | | | BUG=none TEST=this is a test data file Review URL: https://chromiumcodereview.appspot.com/9456002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123286 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 123123 (probably caused a big perf regression -- http://crbug.com/115479,thakis@chromium.org2012-02-231-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and possibly made frame rate tests fail: http://crbug.com/115477. Will revert the revert if it doesn't help.) - Fix media code to work with new ffmpeg. Once ffmpeg git, svn are updated to new ffmpeg, will update DEPS in this CL. Which when committed, should seal the deal for the ffmpeg roll. API Changes: avutil: SampleFormat->AVSampleFormat avutil: av_get_bits_per_sample_fmt -> av_get_bytes_per_sample avcodec: avcodec_open -> avcodec_open2(..., NULL) avcodec: avcodec_decode_video2(... AVPacket ...) -> const AVPacket. avformat: av_open_input_file -> avformat_open_input avformat: av_register_protocol2 -> ffurl_register_protocol avformat: av_close_input_file -> avformat_close_input(&...) avformat: av_find_stream_info -> avformat_find_stream_info(..., NULL) URLContext now has a url_open2 method as well, for now I've set this to NULL. Also fixes: - ffmpeg_unittests change threading to mirror ffmpeg_video_decoder. There's an issue where threading causes the last frames of a no-audio video to be clipped. It existed before this ffmpeg roll, but because threading was disabled by default in ffmpeg, we never noticed it. - ffmpeg_demuxer_tests: GetBitrate_UnsetInContainer_NoFileSize now passes. - New ffmpeg_unittests passes: sync0_ogv/FFmpegTest.Seek_Video/0, where GetParam() = "sync0.ogv" sync1_ogv/FFmpegTest.Seek_Video/0, where GetParam() = "sync1.ogv" sync2_ogv/FFmpegTest.Seek_Video/0, where GetParam() = "sync2.ogv" FFmpeg fixups here, https://chromiumcodereview.appspot.com/9325049/ New git repo here: http://git.chromium.org/gitweb/?p=chromium/third_party/ffmpeg.git;a=summary Merge+Patches diff: https://chromiumcodereview.appspot.com/9317107 BUG=110776 TEST=unittests, layouttests, etc. Trybots. Review URL: https://chromiumcodereview.appspot.com/9317096 TBR=dalecurtis@google.com Review URL: https://chromiumcodereview.appspot.com/9455018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123249 0039d316-1c4b-4281-b951-d872f2087c98
* Fix media code to work with new ffmpeg.dalecurtis@google.com2012-02-221-8/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Once ffmpeg git, svn are updated to new ffmpeg, will update DEPS in this CL. Which when committed, should seal the deal for the ffmpeg roll. API Changes: avutil: SampleFormat->AVSampleFormat avutil: av_get_bits_per_sample_fmt -> av_get_bytes_per_sample avcodec: avcodec_open -> avcodec_open2(..., NULL) avcodec: avcodec_decode_video2(... AVPacket ...) -> const AVPacket. avformat: av_open_input_file -> avformat_open_input avformat: av_register_protocol2 -> ffurl_register_protocol avformat: av_close_input_file -> avformat_close_input(&...) avformat: av_find_stream_info -> avformat_find_stream_info(..., NULL) URLContext now has a url_open2 method as well, for now I've set this to NULL. Also fixes: - ffmpeg_unittests change threading to mirror ffmpeg_video_decoder. There's an issue where threading causes the last frames of a no-audio video to be clipped. It existed before this ffmpeg roll, but because threading was disabled by default in ffmpeg, we never noticed it. - ffmpeg_demuxer_tests: GetBitrate_UnsetInContainer_NoFileSize now passes. - New ffmpeg_unittests passes: sync0_ogv/FFmpegTest.Seek_Video/0, where GetParam() = "sync0.ogv" sync1_ogv/FFmpegTest.Seek_Video/0, where GetParam() = "sync1.ogv" sync2_ogv/FFmpegTest.Seek_Video/0, where GetParam() = "sync2.ogv" FFmpeg fixups here, https://chromiumcodereview.appspot.com/9325049/ New git repo here: http://git.chromium.org/gitweb/?p=chromium/third_party/ffmpeg.git;a=summary Merge+Patches diff: https://chromiumcodereview.appspot.com/9317107 BUG=110776 TEST=unittests, layouttests, etc. Trybots. Review URL: https://chromiumcodereview.appspot.com/9317096 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123123 0039d316-1c4b-4281-b951-d872f2087c98
* Audio only & Video only versions of bear-320x240.webmacolwell@chromium.org2012-01-272-0/+0
| | | | | | | | | TBR=acolwell@chromium.org BUG=111128 Review URL: https://chromiumcodereview.appspot.com/9295006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119361 0039d316-1c4b-4281-b951-d872f2087c98
* clang: Fix a few things -Wunused-variable complains about in a recent clang ↵thakis@chromium.org2012-01-141-1/+3
| | | | | | | | | | | | version. BUG=none TEST=none TBR=akalin,johnnyg Review URL: http://codereview.chromium.org/9213011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117761 0039d316-1c4b-4281-b951-d872f2087c98
* Check in test files for bug 106735.scherkus@chromium.org2011-12-152-0/+0
| | | | | | | | | TBR=acolwell BUG=106735 Review URL: http://codereview.chromium.org/8966002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114675 0039d316-1c4b-4281-b951-d872f2087c98
* Low-latency AudioOutputStream implementation based on WASAPI for Windows.henrika@chromium.org2011-11-162-0/+0
| | | | | | | | BUG=none TEST=audio_low_latency_output_win_unittest.cc Review URL: http://codereview.chromium.org/8440002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110282 0039d316-1c4b-4281-b951-d872f2087c98
* Miscellaneous header file cleanup for src/media.scherkus@chromium.org2011-10-281-0/+1
| | | | | | Review URL: http://codereview.chromium.org/8418017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107772 0039d316-1c4b-4281-b951-d872f2087c98
* Add WebM file with CUES before the first cluster for testing.acolwell@chromium.org2011-10-051-0/+0
| | | | | | | | | TBR=scherkus@chromium.org BUG=98714 Review URL: http://codereview.chromium.org/8137023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104062 0039d316-1c4b-4281-b951-d872f2087c98
* Add one more vorbis packet for testing purposes.scherkus@chromium.org2011-09-142-2/+6
| | | | | | | | TBR=acolwell Review URL: http://codereview.chromium.org/7888043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101090 0039d316-1c4b-4281-b951-d872f2087c98
* Checking in vorbis extradata and compressed data for testing purposes.scherkus@chromium.org2011-09-115-1/+6
| | | | | | | | | | Data was generated from bear.ogv. TBR=acolwell Review URL: http://codereview.chromium.org/7866034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100628 0039d316-1c4b-4281-b951-d872f2087c98
* Adding ogv test file for media unit tests.vrk@google.com2011-09-061-0/+0
| | | | | | | | | BUG=60215 TEST=test_shell_tests,media_unittests Review URL: http://codereview.chromium.org/7823005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99838 0039d316-1c4b-4281-b951-d872f2087c98
* Adding VP8 corrupt I frame test file.acolwell@chromium.org2011-08-232-1/+2
| | | | | | | | | | TBR=scherkus@chromium.org BUG=92429 TEST=None Review URL: http://codereview.chromium.org/7715004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97874 0039d316-1c4b-4281-b951-d872f2087c98
* Adding test data for media unit tests.acolwell@chromium.org2011-08-159-0/+15
| | | | | | | | | BUG=92429 TEST=None Review URL: http://codereview.chromium.org/7647022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96787 0039d316-1c4b-4281-b951-d872f2087c98
* MD5Update function uses StringPiece instead of raw buffer.dominich@chromium.org2011-07-261-5/+10
| | | | | | | | | | BUG=none TEST=base_unittests --gtest_filter=MD5.ContextWithStringData* Review URL: http://codereview.chromium.org/7466003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94203 0039d316-1c4b-4281-b951-d872f2087c98
* base: Put md5.* into base namespace.tfarina@chromium.org2011-07-181-10/+9
| | | | | | | | | | | BUG=89274 TEST=None R=evan@chromium.org Review URL: http://codereview.chromium.org/7395021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92861 0039d316-1c4b-4281-b951-d872f2087c98
* Rename CommandLine::GetArgs(), update callers.msw@chromium.org2011-07-131-1/+1
| | | | | | | | | BUG=73195 TEST=none Review URL: http://codereview.chromium.org/7352006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92448 0039d316-1c4b-4281-b951-d872f2087c98
* Glue ffmpeg to Chromeihf@chromium.org2011-07-011-15/+12
| | | | | | | | | | | | | | | | | | | | 1) works for Linux, OSX, Windows 2) mostly renaming #defines 3) avcodec_thread_init is deprecated and has been removed, see http://ffmpeg.org/pipermail/ffmpeg-cvslog/2011-February/034326.html 4) will require a rebaseline of platform/chromium-mac/media/video-currentTime-set-expected.txt platform/chromium-win/media/video-currentTime-set-expected.txt with a change of -video.currentTime.toFixed(2) == '5.82' +video.currentTime.toFixed(2) == '5.81' BUG=87831 TESTS=ran Theora Testsuite, media tests, WebKit media tests Review URL: http://codereview.chromium.org/6993042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91259 0039d316-1c4b-4281-b951-d872f2087c98
* Adding ChunkDemuxer implementation.acolwell@chromium.org2011-06-293-0/+0
| | | | | | | | | BUG=86536 TEST=ChunkDemuxerTest.* Review URL: http://codereview.chromium.org/7203002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90966 0039d316-1c4b-4281-b951-d872f2087c98
* GCC 4.6 -Wunused-but-set-variable cleanup.pph34r@gmail.com2011-06-281-1/+3
| | | | | | | | | | BUG=87490 TEST=None Review URL: http://codereview.chromium.org/7230023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90818 0039d316-1c4b-4281-b951-d872f2087c98
* Modified unit test for color conversion of RGB24ToYUV and YUY2ToYUV.scherkus@chromium.org2011-05-272-0/+1108
| | | | | | | | | | Patch by perkj@google.com: http://codereview.chromium.org/7065021/ BUG=none TEST=media_unittests git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87046 0039d316-1c4b-4281-b951-d872f2087c98
* xRevert 62319 - re-enable ogg threadsfbarchard@chromium.org2010-10-121-1/+8
| | | | | | | | | | | | BUG=53967 TEST=ogv videos still play but more efficiently Review URL: http://codereview.chromium.org/3723004 TBR=fbarchard@chromium.org Review URL: http://codereview.chromium.org/3737002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62326 0039d316-1c4b-4281-b951-d872f2087c98
* re-enable ogg threadsfbarchard@chromium.org2010-10-121-8/+1
| | | | | | | | | BUG=53967 TEST=ogv videos still play but more efficiently Review URL: http://codereview.chromium.org/3723004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62319 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "re-enable ogg threads"tony@chromium.org2010-08-311-0/+7
| | | | | | | | | | | | Because http/tests/media/video-cookie.html is failing. This reverts commit r58043. TBR=fbarchard Review URL: http://codereview.chromium.org/3231011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58057 0039d316-1c4b-4281-b951-d872f2087c98
* re-enable ogg threadsfbarchard@chromium.org2010-08-311-7/+0
| | | | | | | | | BUG=53967 TEST=ogv videos still play but more efficiently Review URL: http://codereview.chromium.org/3217015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58043 0039d316-1c4b-4281-b951-d872f2087c98
* remove meaningless ffmpeg fast flagfbarchard@chromium.org2010-08-281-2/+1
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3280004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57771 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 56582 - ffmpeg flag CODEC_FLAG2_FAST removedrvargas@google.com2010-08-181-0/+1
| | | | | | | | | | | | BUG=52607 TEST=ffmpeg_tests tulip\tulip2.mp4 should be same performance as media_bench.exe --video-threads=3 --fast2 --stream=video tulip\tulip2.mp4 Review URL: http://codereview.chromium.org/3157024 TBR=fbarchard@chromium.org Review URL: http://codereview.chromium.org/3125023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56606 0039d316-1c4b-4281-b951-d872f2087c98
* ffmpeg flag CODEC_FLAG2_FAST removedfbarchard@chromium.org2010-08-181-1/+0
| | | | | | | | | BUG=52607 TEST=ffmpeg_tests tulip\tulip2.mp4 should be same performance as media_bench.exe --video-threads=3 --fast2 --stream=video tulip\tulip2.mp4 Review URL: http://codereview.chromium.org/3157024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56582 0039d316-1c4b-4281-b951-d872f2087c98
* ffmpeg roll for chromium source and windows binariesfbarchard@chromium.org2010-07-281-1/+1
| | | | | | | | | | Includes fix for XP Perf by reducing webm library size by 1.6 MB BUG=48037,50507 TEST=XP Perf and layout tests should pass Review URL: http://codereview.chromium.org/3030024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54053 0039d316-1c4b-4281-b951-d872f2087c98
* base/ header cleanup. Forward declaration instead of including.erg@google.com2010-07-281-1/+2
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3068004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53969 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r53885 "deps roll for new ffmpeg and switch to av_register_protocol2"jeremy@chromium.org2010-07-281-1/+1
| | | | | | | | Trying to track down cause of XP Perf bot regression. Review URL: http://codereview.chromium.org/3081002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53926 0039d316-1c4b-4281-b951-d872f2087c98
* deps roll for new ffmpeg and switch to av_register_protocol2fbarchard@chromium.org2010-07-281-1/+1
| | | | | | | | | BUG=48037 TEST=layout tests should still pass for media Review URL: http://codereview.chromium.org/3005034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53885 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 53281 - ffmpeg update with vp3 patches.fbarchard@chromium.org2010-07-221-1/+1
| | | | | | | | | | | | | | switch to av_register_protocol2 video-played-collapse layout test fails and will be fixed later. BUG=48037 TEST=ffmpeg should still build/run Review URL: http://codereview.chromium.org/3010016 TBR=fbarchard@chromium.org Review URL: http://codereview.chromium.org/2805098 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53285 0039d316-1c4b-4281-b951-d872f2087c98
* ffmpeg update with vp3 patches.fbarchard@chromium.org2010-07-221-1/+1
| | | | | | | | | | | switch to av_register_protocol2 video-played-collapse layout test fails and will be fixed later. BUG=48037 TEST=ffmpeg should still build/run Review URL: http://codereview.chromium.org/3010016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53281 0039d316-1c4b-4281-b951-d872f2087c98
* Remove deprecated CommandLine::GetLooseValues(), rename to args().evan@chromium.org2010-07-211-24/+28
| | | | | | | | | | | | | | | It returned a wstring, when really we wanted the native encoded strings. Fixing the majority of callers actually simplified them in many cases because the callers wanted native strings too. Since I'm touching every caller, I gave it a more useful name. I'm not sure where "loose" came from but it never made sense to me. BUG=24672 Review URL: http://codereview.chromium.org/3028010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53193 0039d316-1c4b-4281-b951-d872f2087c98
* file_util: deprecate remaining wstring functionsevan@chromium.org2010-07-161-5/+9
| | | | | | | | | | | This removes the last wstring-accepting functions from file_util on non-Windows platforms. BUG=24672 Review URL: http://codereview.chromium.org/3005005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52755 0039d316-1c4b-4281-b951-d872f2087c98
* media_Bench and ffmpeg_tests disable exception handler by defaultfbarchard@chromium.org2010-06-241-2/+8
| | | | | | | | | BUG=47307 TEST=no change in normal behavior. Review URL: http://codereview.chromium.org/2811026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50684 0039d316-1c4b-4281-b951-d872f2087c98
* Change default to three threads for video decoding and add command line ↵fbarchard@chromium.org2010-05-191-1/+1
| | | | | | | | | | | --video-threads. BUG=44128 TEST=player_wtl.exe --video-threads=6 d:\mediatests\crowd\crowd2.mp4 Review URL: http://codereview.chromium.org/2080008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47723 0039d316-1c4b-4281-b951-d872f2087c98