Chocobozzz / PeerTube

ActivityPub-federated video streaming platform using P2P directly in your web browser
https://joinpeertube.org/
GNU Affero General Public License v3.0
12.89k stars 1.48k forks source link

Livestreams that YouTube hasn't processed fully are being imported #5331

Open emansom opened 1 year ago

emansom commented 1 year ago

Describe the current behavior

PeerTube currently syncs videos that are still being post-processed by YouTube.

For livestreams with a length over 2 hours that finished broadcasting, but haven't finished post-processing this results in incomplete and cut off videos (post-live manifestless mode) to be imported.

Steps to reproduce

  1. Setup PeerTube using latest develop branch (2022-10-07)
  2. Synchronize a YouTube channel
  3. Wait for or publish a livestream that exceeds 2 hours in length on YouTube
  4. Kick off the synchronization after the livestream finishes
  5. Observe PeerTube importing a incomplete and cut-off video

Describe the expected behavior

PeerTube only importing the video when YouTube has fully processed it, skipping over videos that are still in post-live manifestless mode.

Additional information

emansom commented 1 year ago

Opened #5332 to address this.