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

Issue 2666333003: Better comparison for frame analyzer (Closed)

Created:
3 years, 10 months ago by mandermo
Modified:
3 years, 10 months ago
Reviewers:
kjellander_webrtc
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, janssonWebRTC
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Better comparison of videos with barcode errors The frame_analyzer which is used by compare_videos.py needs to handle barcode errors. As before the reference and the test video can contain repeated frames. When there are barcode decode errors in the test video, then we should not let that contribute to the skipped frames score. When there are barcode decode errors in the reference video, then we need to take proper care to still calculate skipped barcodes when the corresponding frames are not present in the test video and the test video does not have a frame with a barcode decode error that could have been the same frame as the one in the reference. A new metric total number of skipped frames and for number of decode errors is introduced. Barcodes that appears in the test video, but not in the reference video are also listed. BUG=webrtc:6967 Review-Url: https://codereview.webrtc.org/2666333003 Cr-Commit-Position: refs/heads/master@{#16638} Committed: https://chromium.googlesource.com/external/webrtc/+/7cebe783326cbef0ca3350bfbe29938abaf96b54

Patch Set 1 #

Total comments: 6

Patch Set 2 : Better handling of decoding errors #

Total comments: 19

Patch Set 3 : Fixing review comments #

Patch Set 4 : Fixed testcases also #

Patch Set 5 : Unittesting and bug fix for CalculateFrameClusters #

Patch Set 6 : Using TempFilename() instead of unique names #

Total comments: 11

Patch Set 7 : Moved things to SetUp() and close stats file #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+317 lines, -50 lines) Patch
M webrtc/tools/frame_analyzer/video_quality_analysis.h View 1 2 3 4 2 chunks +18 lines, -0 lines 0 comments Download
M webrtc/tools/frame_analyzer/video_quality_analysis.cc View 1 2 3 4 5 chunks +73 lines, -27 lines 0 comments Download
M webrtc/tools/frame_analyzer/video_quality_analysis_unittest.cc View 1 2 3 4 5 6 4 chunks +226 lines, -23 lines 3 comments Download

Messages

Total messages: 34 (13 generated)
mandermo
Better video comparison
3 years, 10 months ago (2017-02-01 17:28:05 UTC) #2
jansson
On 2017/02/01 17:28:05, mandermo wrote: > Better video comparison Could you provide a sample test ...
3 years, 10 months ago (2017-02-03 08:43:06 UTC) #3
jansson
On 2017/02/03 08:43:06, jansson wrote: > On 2017/02/01 17:28:05, mandermo wrote: > > Better video ...
3 years, 10 months ago (2017-02-03 08:43:47 UTC) #4
kjellander_webrtc
I'd like to see some test cases starting to get written. It shouldn't be hard ...
3 years, 10 months ago (2017-02-06 12:30:38 UTC) #5
kjellander_webrtc
On 2017/02/06 12:30:38, kjellander_webrtc wrote: > I'd like to see some test cases starting to ...
3 years, 10 months ago (2017-02-06 12:31:14 UTC) #6
mandermo
https://codereview.webrtc.org/2666333003/diff/1/webrtc/tools/barcode_tools/barcode_decoder.py File webrtc/tools/barcode_tools/barcode_decoder.py (right): https://codereview.webrtc.org/2666333003/diff/1/webrtc/tools/barcode_tools/barcode_decoder.py#newcode135 webrtc/tools/barcode_tools/barcode_decoder.py:135: entry_frame_number = helper_functions.zero_pad(i) On 2017/02/06 12:30:38, kjellander_webrtc wrote: > ...
3 years, 10 months ago (2017-02-07 14:25:28 UTC) #9
kjellander_webrtc
Thanks for the tests! Just need to make them execute in parallel. https://codereview.webrtc.org/2666333003/diff/20001/webrtc/tools/frame_analyzer/video_quality_analysis_unittest.cc File webrtc/tools/frame_analyzer/video_quality_analysis_unittest.cc ...
3 years, 10 months ago (2017-02-08 10:00:29 UTC) #12
kjellander_webrtc
https://codereview.webrtc.org/2666333003/diff/20001/webrtc/tools/frame_analyzer/video_quality_analysis.cc File webrtc/tools/frame_analyzer/video_quality_analysis.cc (right): https://codereview.webrtc.org/2666333003/diff/20001/webrtc/tools/frame_analyzer/video_quality_analysis.cc#newcode340 webrtc/tools/frame_analyzer/video_quality_analysis.cc:340: // to 3. Can you explain in the comment ...
3 years, 10 months ago (2017-02-08 12:39:34 UTC) #13
kjellander_webrtc
On 2017/02/08 12:39:34, kjellander_webrtc wrote: > https://codereview.webrtc.org/2666333003/diff/20001/webrtc/tools/frame_analyzer/video_quality_analysis.cc > File webrtc/tools/frame_analyzer/video_quality_analysis.cc (right): > > https://codereview.webrtc.org/2666333003/diff/20001/webrtc/tools/frame_analyzer/video_quality_analysis.cc#newcode340 > ...
3 years, 10 months ago (2017-02-08 12:58:48 UTC) #14
mandermo
https://codereview.webrtc.org/2666333003/diff/20001/webrtc/tools/frame_analyzer/video_quality_analysis.cc File webrtc/tools/frame_analyzer/video_quality_analysis.cc (right): https://codereview.webrtc.org/2666333003/diff/20001/webrtc/tools/frame_analyzer/video_quality_analysis.cc#newcode340 webrtc/tools/frame_analyzer/video_quality_analysis.cc:340: // to 3. On 2017/02/08 12:39:34, kjellander_webrtc wrote: > ...
3 years, 10 months ago (2017-02-13 17:04:11 UTC) #16
kjellander_webrtc
https://codereview.webrtc.org/2666333003/diff/20001/webrtc/tools/frame_analyzer/video_quality_analysis.cc File webrtc/tools/frame_analyzer/video_quality_analysis.cc (right): https://codereview.webrtc.org/2666333003/diff/20001/webrtc/tools/frame_analyzer/video_quality_analysis.cc#newcode340 webrtc/tools/frame_analyzer/video_quality_analysis.cc:340: // to 3. On 2017/02/13 17:04:11, mandermo wrote: > ...
3 years, 10 months ago (2017-02-14 20:55:58 UTC) #17
mandermo
https://codereview.webrtc.org/2666333003/diff/20001/webrtc/tools/frame_analyzer/video_quality_analysis.cc File webrtc/tools/frame_analyzer/video_quality_analysis.cc (right): https://codereview.webrtc.org/2666333003/diff/20001/webrtc/tools/frame_analyzer/video_quality_analysis.cc#newcode340 webrtc/tools/frame_analyzer/video_quality_analysis.cc:340: // to 3. On 2017/02/14 20:55:58, kjellander_webrtc wrote: > ...
3 years, 10 months ago (2017-02-15 11:52:15 UTC) #18
kjellander_webrtc
Nice testing! I think I found some more. Have you tested running the tests in ...
3 years, 10 months ago (2017-02-15 12:16:58 UTC) #19
mandermo
https://codereview.webrtc.org/2666333003/diff/100001/webrtc/tools/frame_analyzer/video_quality_analysis_unittest.cc File webrtc/tools/frame_analyzer/video_quality_analysis_unittest.cc (right): https://codereview.webrtc.org/2666333003/diff/100001/webrtc/tools/frame_analyzer/video_quality_analysis_unittest.cc#newcode30 webrtc/tools/frame_analyzer/video_quality_analysis_unittest.cc:30: std::string log_filename = TempFilename(webrtc::test::OutputPath(), On 2017/02/15 12:16:58, kjellander_webrtc wrote: ...
3 years, 10 months ago (2017-02-15 12:52:54 UTC) #20
kjellander_webrtc
Almost there! https://codereview.webrtc.org/2666333003/diff/100001/webrtc/tools/frame_analyzer/video_quality_analysis_unittest.cc File webrtc/tools/frame_analyzer/video_quality_analysis_unittest.cc (right): https://codereview.webrtc.org/2666333003/diff/100001/webrtc/tools/frame_analyzer/video_quality_analysis_unittest.cc#newcode30 webrtc/tools/frame_analyzer/video_quality_analysis_unittest.cc:30: std::string log_filename = TempFilename(webrtc::test::OutputPath(), On 2017/02/15 12:52:54, ...
3 years, 10 months ago (2017-02-15 14:00:38 UTC) #21
mandermo
https://codereview.webrtc.org/2666333003/diff/100001/webrtc/tools/frame_analyzer/video_quality_analysis_unittest.cc File webrtc/tools/frame_analyzer/video_quality_analysis_unittest.cc (right): https://codereview.webrtc.org/2666333003/diff/100001/webrtc/tools/frame_analyzer/video_quality_analysis_unittest.cc#newcode30 webrtc/tools/frame_analyzer/video_quality_analysis_unittest.cc:30: std::string log_filename = TempFilename(webrtc::test::OutputPath(), On 2017/02/15 14:00:37, kjellander_webrtc wrote: ...
3 years, 10 months ago (2017-02-15 14:50:30 UTC) #22
kjellander_webrtc
https://codereview.webrtc.org/2666333003/diff/120001/webrtc/tools/frame_analyzer/video_quality_analysis_unittest.cc File webrtc/tools/frame_analyzer/video_quality_analysis_unittest.cc (right): https://codereview.webrtc.org/2666333003/diff/120001/webrtc/tools/frame_analyzer/video_quality_analysis_unittest.cc#newcode36 webrtc/tools/frame_analyzer/video_quality_analysis_unittest.cc:36: stats_filename_ = TempFilename(OutputPath(), "stats-2.txt"); On 2017/02/15 14:50:29, mandermo wrote: ...
3 years, 10 months ago (2017-02-15 15:34:22 UTC) #23
mandermo
I think it is ok to keep as is.
3 years, 10 months ago (2017-02-15 16:08:26 UTC) #24
kjellander_webrtc
lgtm
3 years, 10 months ago (2017-02-15 20:20:33 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2666333003/120001
3 years, 10 months ago (2017-02-16 09:34:50 UTC) #31
commit-bot: I haz the power
3 years, 10 months ago (2017-02-16 09:36:50 UTC) #34
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://chromium.googlesource.com/external/webrtc/+/7cebe783326cbef0ca3350bfb...

Powered by Google App Engine
This is Rietveld 408576698