PeerTube icon indicating copy to clipboard operation
PeerTube copied to clipboard

Livestreams that YouTube hasn't processed fully are being imported

Open emansom opened this issue 3 years ago • 1 comments

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

  • PeerTube instance:
    • URL: pcbu.nl
    • Version: latest code in develop branch (2022-10-07)
    • Node.js version: v16.17.1
    • FFmpeg version: 4.3.4-0+deb11u1

emansom avatar Oct 07 '22 17:10 emansom

Opened #5332 to address this.

emansom avatar Oct 08 '22 18:10 emansom