Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(100)

Issue 199049: Media Bench file IO redux to address mp4 parsing issue. (Closed)

Created:
11 years, 3 months ago by fbarchard
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com, scherkus (not reviewing), awong
Visibility:
Public.

Description

Media Bench file IO redux to address mp4 parsing issue. BUG=21322 TEST=run media_bench on regression corpus. Old version crashes/fails. New version should report errors and/or work. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=26072

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 8

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Total comments: 10

Patch Set 7 : '' #

Total comments: 12

Patch Set 8 : '' #

Patch Set 9 : '' #

Patch Set 10 : '' #

Total comments: 22

Patch Set 11 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+261 lines, -116 lines) Patch
M media/bench/bench.cc View 1 2 3 4 5 6 7 8 9 10 16 chunks +221 lines, -97 lines 0 comments Download
M media/bench/file_protocol.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +40 lines, -19 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
fbarchard
fixed the file io and added exception handler
11 years, 3 months ago (2009-09-09 00:16:49 UTC) #1
scherkus (not reviewing)
file_protocol.cc might be problematic -- getting some advice rest looks sane, but media bench should ...
11 years, 3 months ago (2009-09-09 01:11:52 UTC) #2
fbarchard
done http://codereview.chromium.org/199049/diff/6001/7001 File media/bench/bench.cc (right): http://codereview.chromium.org/199049/diff/6001/7001#newcode10 Line 10: // This tool requires FFMPeg DLL's built ...
11 years, 3 months ago (2009-09-09 01:34:53 UTC) #3
fbarchard
added null codec check for pcm audio in mp4 files.
11 years, 3 months ago (2009-09-09 19:22:12 UTC) #4
fbarchard
Added another error check for unknown codec, and --frames option to do quick tests, such ...
11 years, 3 months ago (2009-09-09 21:59:19 UTC) #5
Alpha Left Google
Code looks good to me. Have you tried building it on linux and mac?
11 years, 3 months ago (2009-09-10 16:55:37 UTC) #6
fbarchard
linux is tested.
11 years, 3 months ago (2009-09-11 19:36:24 UTC) #7
Alpha Left Google
http://codereview.chromium.org/199049/diff/2003/8006 File media/bench/bench.cc (right): http://codereview.chromium.org/199049/diff/2003/8006#newcode78 Line 78: void _disable() { The function names are a ...
11 years, 3 months ago (2009-09-11 20:56:27 UTC) #8
fbarchard
_disable function name explained http://codereview.chromium.org/199049/diff/2003/8006 File media/bench/bench.cc (right): http://codereview.chromium.org/199049/diff/2003/8006#newcode78 Line 78: void _disable() { These ...
11 years, 3 months ago (2009-09-11 21:44:47 UTC) #9
scherkus (not reviewing)
http://codereview.chromium.org/199049/diff/2003/8006 File media/bench/bench.cc (right): http://codereview.chromium.org/199049/diff/2003/8006#newcode63 Line 63: #if defined(USE_PIPE) does this have to be a ...
11 years, 3 months ago (2009-09-11 21:57:25 UTC) #10
scherkus (not reviewing)
from my interpretation of the benchmarks, if we don't want to use MD5 hashing because ...
11 years, 3 months ago (2009-09-11 21:58:23 UTC) #11
fbarchard
fixed output streams http://codereview.chromium.org/199049/diff/2003/8006 File media/bench/bench.cc (right): http://codereview.chromium.org/199049/diff/2003/8006#newcode63 Line 63: #if defined(USE_PIPE) Done. Thanks! I ...
11 years, 3 months ago (2009-09-11 23:49:14 UTC) #12
fbarchard
may as well keep md5. it saves disc space and is a more robust checksum, ...
11 years, 3 months ago (2009-09-11 23:50:27 UTC) #13
scherkus (not reviewing)
http://codereview.chromium.org/199049/diff/7005/7006 File media/bench/bench.cc (right): http://codereview.chromium.org/199049/diff/7005/7006#newcode11 Line 11: #define USE_PIPE 1 we can always enable writing ...
11 years, 3 months ago (2009-09-12 00:02:30 UTC) #14
fbarchard
done
11 years, 3 months ago (2009-09-12 00:50:26 UTC) #15
fbarchard
LG yet?
11 years, 3 months ago (2009-09-12 02:05:15 UTC) #16
scherkus (not reviewing)
more style nits http://codereview.chromium.org/199049/diff/6008/7009 File media/bench/bench.cc (right): http://codereview.chromium.org/199049/diff/6008/7009#newcode13 Line 13: #include "build/build_config.h" nit on header ...
11 years, 3 months ago (2009-09-12 02:06:40 UTC) #17
fbarchard
Done http://codereview.chromium.org/199049/diff/6008/7009 File media/bench/bench.cc (right): http://codereview.chromium.org/199049/diff/6008/7009#newcode13 Line 13: #include "build/build_config.h" On 2009/09/12 02:06:41, scherkus wrote: ...
11 years, 3 months ago (2009-09-12 02:13:22 UTC) #18
scherkus (not reviewing)
11 years, 3 months ago (2009-09-12 02:17:44 UTC) #19
LGTM

sorry for being a stickler for style :)

Powered by Google App Engine
This is Rietveld 408576698