Media tracks with start_time not handled correctly
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- aws, go
- 領域
- audio-video-rtc, backend, cloud
調査の方向性
まず、提供されたテストファイルで VOD パイプラインの失敗を再現し、start_time が 0 ではないトラックについて、old、Catalyst Mist、Catalyst MediaConvert の各パイプラインの動作を比較します。オフセット付きトラックを含むアップロードで、同期がずれたり空の動画プレフィックスが付加されたりしなくなり、適切な MediaConvert フォールバック動作が選択されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
All the VOD pipelines that we have built today (including the old non-catalyst one) fail consistently when the video has tracks with offset start_times.
These params can happen naturally when clipping the video, as ffmpeg for example will prefer to keep the whole segment intact and just shift playback through start_time than to actually re-transcode the segment. Even though, it is not that common for videos to have a start_time. There's an alert everytime someone uploads a video with a considerable one (>250ms i think) and it doesn't happen that often.
These videos play fine on any player I tried, but get (consistent) glitches anytime they're uploaded to our platform. The current behaviors are:
- on old pipeline (worst): video and audio get off-sync unless they have the exact same start_time. Doesn't matter tho, only FTR
- on catalyst mist pipeline: an error like this:
error="input video duration (63800ms) does not match segmented video duration (66944ms)" - on catalyst mediaconvert pipeline: mediaconvert adds a blank video in the beginning until video and audio can be in sync. E.g.: https://lvpr.tv/?v=63d0be6pfau46m1s&muted=false
A test file is: https://lp-playback.com/hls/63d0be6pfau46m1s/video
I don't think this is a super urgent bug, but we should keep this in mind when we change to mediaconvert fallback logic. We should process the start_time property of the videos and skip directly to MediaConvert pipeline if the video does have one.
The fix in MediaConvert is likely trivial tho, probably just some additional config. For mist pipeline not sure, as I believe that error comes from the only way we have to check whether segmenting worked or not (as per Thom).
- 主要言語
- Go
- スター
- 4
- フォーク
- 1
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
livepeer/catalyst-api のほかの issue
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
livepeer/catalyst-api#958 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
livepeer/catalyst-api#790 · コメント 1 件 · リアクション 1 件 ·
livepeer/catalyst-api の issue をすべて見る
似ている issue
-
bug docs
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
bug needs-acceptance wg/evaluation-quality
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
vllm-project/semantic-router#4424 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 90/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
NVIDIA/k8s-device-plugin#2076 ·
メンテナーはふだん 1 日以内に返信
-
Documentation help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信