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

Issue 2077413003: Motown: Various fixes related to video playback support (Closed)

Created:
4 years, 6 months ago by dalesat
Modified:
4 years, 6 months ago
Reviewers:
kulakowski
CC:
mojo-reviews_chromium.org, gregsimon, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://github.com/domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Motown: Various fixes related to video playback support 1) Fix end-of-stream handling in MediaTimelineController so that seeking resets end-of-stream properly. 2) Fix decoder output packet lifetime issue. Previously, Motown took sole possession of decoder output packets once decoding was complete. The video decoder, however, needs some decoded frames to stay around a long time as a basis for decoding 'delta' (e.g. B and P) frames. This CL makes Motown honor ffmpeg's frame reference counting scheme so that the frames stay around as long as they're needed. 3) Now DCHECKing that packets have no side data, because we aren't currently supporting that. Side data will need to be supported in the future to accommodate some formats. 4) Turn on ffmpeg multiproc decoding. 5) Translate video decoder pts (presentation timestamps) from a simple frame count to nanoseconds. 6) Increase the max number of outstanding packets a producer will produce and increase the shared buffer size. This measure is required to accommodate the offset between audio and video. This is a temporary measure...max outstanding packets should be dynamic and shared buffer allocation needs to get a lot smarter. R=kulakowski@chromium.org Committed: https://chromium.googlesource.com/external/mojo/+/47f0ffbb4503478a586c20bce8e041f2deb16ef1

Patch Set 1 #

Patch Set 2 : Merged https://codereview.chromium.org/2081753002/ #

Patch Set 3 : Comments and name changes for clarity. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+86 lines, -105 lines) Patch
M services/media/factory_service/media_timeline_controller_impl.cc View 4 chunks +6 lines, -4 lines 0 comments Download
M services/media/framework_ffmpeg/ffmpeg_audio_decoder.cc View 1 4 chunks +21 lines, -34 lines 0 comments Download
M services/media/framework_ffmpeg/ffmpeg_decoder_base.h View 1 1 chunk +15 lines, -40 lines 0 comments Download
M services/media/framework_ffmpeg/ffmpeg_decoder_base.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M services/media/framework_ffmpeg/ffmpeg_demux.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M services/media/framework_ffmpeg/ffmpeg_video_decoder.h View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M services/media/framework_ffmpeg/ffmpeg_video_decoder.cc View 1 2 5 chunks +28 lines, -24 lines 0 comments Download
M services/media/framework_mojo/mojo_producer.cc View 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 8 (3 generated)
dalesat
PTAL Needs to be merged with https://codereview.chromium.org/2081753002/ to be functional.
4 years, 6 months ago (2016-06-20 16:32:12 UTC) #3
kulakowski
On 2016/06/20 16:32:12, dalesat wrote: > PTAL > > Needs to be merged with https://codereview.chromium.org/2081753002/ ...
4 years, 6 months ago (2016-06-20 22:21:38 UTC) #4
dalesat
On 2016/06/20 22:21:38, kulakowski wrote: > On 2016/06/20 16:32:12, dalesat wrote: > > PTAL > ...
4 years, 6 months ago (2016-06-20 22:42:53 UTC) #5
kulakowski
lgtm
4 years, 6 months ago (2016-06-20 23:19:19 UTC) #6
dalesat
4 years, 6 months ago (2016-06-21 01:11:34 UTC) #8
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
47f0ffbb4503478a586c20bce8e041f2deb16ef1 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698