New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 658429 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Oct 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 1
Type: Bug



Sign in to add a comment

Limit VTVideoEncodeAccelerator's keyframe output

Project Member Reported by emir...@chromium.org, Oct 21 2016

Issue description

VTVideoEncodeAccelerator currently does not control keyframe output duration and lets it to be VideoToolbox implementation default. On Macbook Air 2013, this results in a keyframe every ~5 seconds, which is too often for some apps. We should limit this.

 
Description: Show this description
Project Member

Comment 2 by bugdroid1@chromium.org, Oct 24 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/3d279e0818e6b27c0374ee8782748c6e3859785f

commit 3d279e0818e6b27c0374ee8782748c6e3859785f
Author: emircan <emircan@chromium.org>
Date: Mon Oct 24 20:54:04 2016

Limit VTVideoEncodeAccelerator keyframe output

On Macbook Air 2013, letting this be default results in a keyframe every ~5
seconds. This is too often for some applications. This CL changes this limit
so that max keyframe interval is 4 minutes.

BUG= 658429 
TEST=AppRTC loopback on Mac.

Review-Url: https://codereview.chromium.org/2431223011
Cr-Commit-Position: refs/heads/master@{#427143}

[modify] https://crrev.com/3d279e0818e6b27c0374ee8782748c6e3859785f/media/gpu/vt_video_encode_accelerator_mac.cc

Cc: ranjitkan@chromium.org
Labels: Needs-Feedback
Could someone please help us with a sample test case so that test team can verify this issue if required.

Thanks.!
This issue is originally reported by Cisco Webex. They stated that for their 90p thumbnail streams(90p), they receive keyframes every ~2 seconds and video is choppy. I cannot share their product details here. However, we can also test it via using an AppRTC loopback using link below:
https://apprtc.appspot.com/r/391320966?debug=loopback&vsc=h264&video=maxHeight=90 
Labels: Merge-Request-55

Comment 6 by dimu@chromium.org, Oct 25 2016

Labels: -Merge-Request-55 Merge-Approved-55 Hotlist-Merge-Approved
Your change meets the bar and is auto-approved for M55 (branch: 2883)
Project Member

Comment 7 by bugdroid1@chromium.org, Oct 25 2016

Labels: -merge-approved-55 merge-merged-2883
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/1dacc24d13122baa4c1659f9f7bc801f668a644d

commit 1dacc24d13122baa4c1659f9f7bc801f668a644d
Author: emircan <emircan@chromium.org>
Date: Tue Oct 25 22:20:33 2016

Limit VTVideoEncodeAccelerator keyframe output

On Macbook Air 2013, letting this be default results in a keyframe every ~5
seconds. This is too often for some applications. This CL changes this limit
so that max keyframe interval is 4 minutes.

BUG= 658429 
TEST=AppRTC loopback on Mac.

Review-Url: https://codereview.chromium.org/2431223011
Cr-Commit-Position: refs/heads/master@{#427143}
(cherry picked from commit 3d279e0818e6b27c0374ee8782748c6e3859785f)
NOTRY=true
NOPRESUBMIT=true
TBR=dalecurtis@chromium.org

Review-Url: https://codereview.chromium.org/2450993002
Cr-Commit-Position: refs/branch-heads/2883@{#302}
Cr-Branched-From: 614d31daee2f61b0180df403a8ad43f20b9f6dd7-refs/heads/master@{#423768}

[modify] https://crrev.com/1dacc24d13122baa4c1659f9f7bc801f668a644d/media/gpu/vt_video_encode_accelerator_mac.cc

Status: Fixed (was: Started)
Project Member

Comment 9 by bugdroid1@chromium.org, Oct 27 2016

Labels: merge-merged-2840
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/1dacc24d13122baa4c1659f9f7bc801f668a644d

commit 1dacc24d13122baa4c1659f9f7bc801f668a644d
Author: emircan <emircan@chromium.org>
Date: Tue Oct 25 22:20:33 2016

Limit VTVideoEncodeAccelerator keyframe output

On Macbook Air 2013, letting this be default results in a keyframe every ~5
seconds. This is too often for some applications. This CL changes this limit
so that max keyframe interval is 4 minutes.

BUG= 658429 
TEST=AppRTC loopback on Mac.

Review-Url: https://codereview.chromium.org/2431223011
Cr-Commit-Position: refs/heads/master@{#427143}
(cherry picked from commit 3d279e0818e6b27c0374ee8782748c6e3859785f)
NOTRY=true
NOPRESUBMIT=true
TBR=dalecurtis@chromium.org

Review-Url: https://codereview.chromium.org/2450993002
Cr-Commit-Position: refs/branch-heads/2883@{#302}
Cr-Branched-From: 614d31daee2f61b0180df403a8ad43f20b9f6dd7-refs/heads/master@{#423768}

[modify] https://crrev.com/1dacc24d13122baa4c1659f9f7bc801f668a644d/media/gpu/vt_video_encode_accelerator_mac.cc

Comment 10 by dimu@google.com, Nov 4 2016

[Automated comment] removing mislabelled merge-merged-2840

Comment 11 by dimu@google.com, Nov 4 2016

Labels: -merge-merged-2840
[Automated comment] removing mislabelled merge-merged-2840

Sign in to add a comment