Closed
Bug 1868906
Opened 2 years ago
Closed 2 years ago
Allow FFmpegVideoEncoder continues encoding after Drain()
Categories
(Core :: Audio/Video, task, P1)
Core
Audio/Video
Tracking
()
RESOLVED
FIXED
122 Branch
| Tracking | Status | |
|---|---|---|
| firefox122 | --- | fixed |
People
(Reporter: chunmin, Assigned: chunmin)
References
Details
Attachments
(4 files)
Bug 1860899 is going to implement a FFmpegVideoEncode. The Drain() is implemented by sending NULL to the avcodec_send_frame(), which can leave the encoder in a permanent EOF state and the encoder is unable to continue encoding in EOF state.
To continue encoding after Drain(), a new AVCodecContext/encoder creation is required.
| Assignee | ||
Updated•2 years ago
|
Assignee: nobody → cchang
| Assignee | ||
Comment 1•2 years ago
|
||
| Assignee | ||
Comment 2•2 years ago
|
||
Depends on D195906
| Assignee | ||
Comment 3•2 years ago
|
||
Depends on D195907
| Assignee | ||
Comment 4•2 years ago
|
||
Depends on D195908
| Assignee | ||
Updated•2 years ago
|
Summary: Allow continuing encoding after Drain() → Allow FFmpegVideoEncoder continues encoding after Drain()
Updated•2 years ago
|
Attachment #9367694 -
Attachment description: WIP: Bug 1868906 - Add Encode() after Drain() tests → Bug 1868906 - Add Encode() after Drain() tests
Updated•2 years ago
|
Attachment #9367695 -
Attachment description: WIP: Bug 1868906 - Move Init work to a function → Bug 1868906 - Move Init work to a function
Updated•2 years ago
|
Attachment #9367696 -
Attachment description: WIP: Bug 1868906 - Move Shutdown work to a function → Bug 1868906 - Move Shutdown work to a function
Updated•2 years ago
|
Attachment #9367697 -
Attachment description: WIP: Bug 1868906 - Recreate AVCodecContext after draining → Bug 1868906 - Recreate AVCodecContext after draining
Pushed by cchang@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/81acf461e6a8
Add Encode() after Drain() tests r=media-playback-reviewers,padenot
https://hg.mozilla.org/integration/autoland/rev/117f0de1506c
Move Init work to a function r=media-playback-reviewers,padenot
https://hg.mozilla.org/integration/autoland/rev/84f0fd345b1f
Move Shutdown work to a function r=media-playback-reviewers,padenot
https://hg.mozilla.org/integration/autoland/rev/e3a43409dd5a
Recreate AVCodecContext after draining r=media-playback-reviewers,padenot
Comment 6•2 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/81acf461e6a8
https://hg.mozilla.org/mozilla-central/rev/117f0de1506c
https://hg.mozilla.org/mozilla-central/rev/84f0fd345b1f
https://hg.mozilla.org/mozilla-central/rev/e3a43409dd5a
Status: NEW → RESOLVED
Closed: 2 years ago
status-firefox122:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 122 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•